pub(crate) fn iter_active_row(&self, constraint: usize) -> impl Iterator<Item = SparseTuple<&OF>> {
        debug_assert!(self.is_constraint_still_active(constraint));

        self.rows.iter_row(constraint)
            .copied()
            .filter(move |&(j, _)| self.is_variable_still_active(j))
    }
/// Iterate over the columns of a constraint that have not yet been eliminated.
///
/// During presolving, for each column, a count is being kept of the number of active (belonging
/// to a constraint that has not yet been removed) column. When that count is equal to zero, the
/// coefficient in the original matrix of active variable coefficients is neglected.
///
/// # Arguments
///
/// * `constraint`: Constraint to iter over.
///
/// # Return value
///
/// A collection of (column index, coefficient value) tuples.
Iterate over the columns of a constraint that have not yet been eliminated.
During presolving, for each column, a count is being kept of the number of active (belonging
to a constraint that has not yet been removed) column. When that count is equal to zero, the
coefficient in the original matrix of active variable coefficients is neglected.
Iterate over the columns of a constraint that have not yet been eliminated . During presolving for each column a count is being kept of the number of active ( belonging to a constraint that has not yet been removed ) column . When that count is equal to zero the coefficient in the original matrix of active variable coefficients is neglected .
pub(crate) fn iter_active_row(&self, constraint: usize) -> impl Iterator<Item = SparseTuple<&OF>> {
        debug_assert!(self.is_constraint_still_active(constraint));
        self.rows.iter_row(constraint)
            .copied()
            .filter(move |&(j, _)| self.is_variable_still_active(j))
    }
pub ( crate ) fn iter_active_row ( & self , constraint : usize ) -> impl Iterator < Item = SparseTuple < & OF > > { debug_assert ! ( self is_constraint_still_active ( constraint ) ) ; self . rows . iter_row ( constraint ) . copied ( ) . filter ( move | & ( j , _ ) | self . is_variable_still_active ( j ) ) }
Iterate over the columns of a constraint that have not yet been eliminated.
Iterate over the columns of a constraint that have not yet been eliminated .
&self
constraint
usize
&self
constraint
usize
return value
A collection of (column index, coefficient value) tuples.
A collection of ( column index coefficient value ) tuples .