pub fn change_row_signs(&mut self, rows_to_change: &HashSet<usize>) {
        // TODO(ENHANCEMENT): Consider using a row-major constraint representation to skip a lot of
        //  columns.
        for column in &mut self.data {
            for (i, value) in column {
                if rows_to_change.contains(i) {
                    *value *= -F::one();
                } 
            }
        }
    }
/// Flip the index of all items in a row.
///
/// # Arguments
///
/// * `rows_to_change`: Indices of rows to change the sign of.
Flip the index of all items in a row.
Flip the index of all items in a row .
pub fn change_row_signs(&mut self, rows_to_change: &HashSet<usize>) {
        // TODO(ENHANCEMENT): Consider using a row-major constraint representation to skip a lot of
        //  columns.
        for column in &mut self.data {
            for (i, value) in column {
                if rows_to_change.contains(i) {
                    *value *= -F::one();
                } 
            }
        }
    }
pub fn change_row_signs ( & mut self , rows_to_change : & HashSet < usize > ) { // TODO(ENHANCEMENT): Consider using a row-major constraint representation to skip a lot of //  columns. for column in & mut self . data { for ( i , value ) in column { if rows_to_change . contains ( i ) { * value *= - F :: one ( ) ; } } } }
Flip the index of all items in a row.
Flip the index of all items in a row .
&mut self
rows_to_change
&HashSet<usize>
&mut self
rows_to_change
&HashSet<usize>