fn update_minus_pi_and_obj(&mut self, pivot_row_index: usize, relative_cost: F) {
        let basis_inverse_row = self.basis_inverse.basis_inverse_row(pivot_row_index);
        for (column_index, value) in basis_inverse_row.iter_values() {
            self.minus_pi[*column_index] -= &relative_cost * value;
        }

        self.minus_objective -= relative_cost * &self.b[pivot_row_index];
    }
/// Update `self.minus_pi` and the objective function value by performing a row reduction
/// operation.
///
/// # Arguments
///
/// * `pivot_row_index`: Index of the pivot row.
/// * `column_value`: Relative cost value for the pivot column.
///
/// # Note
///
/// This method requires a normalized pivot element.
Update `self.minus_pi` and the objective function value by performing a row reduction
operation.
Update ` self . minus_pi ` and the objective function value by performing a row reduction operation .
fn update_minus_pi_and_obj(&mut self, pivot_row_index: usize, relative_cost: F) {
        let basis_inverse_row = self.basis_inverse.basis_inverse_row(pivot_row_index);
        for (column_index, value) in basis_inverse_row.iter_values() {
            self.minus_pi[*column_index] -= &relative_cost * value;
        }
        self.minus_objective -= relative_cost * &self.b[pivot_row_index];
    }
fn update_minus_pi_and_obj ( & mut self , pivot_row_index : usize , relative_cost : F ) { let basis_inverse_row = self . basis_inverse . basis_inverse_row ( pivot_row_index ) ; for ( column_index , value ) in basis_inverse_row . iter_values ( ) { self . minus_pi [ * column_index ] -= & relative_cost * value ; } self . minus_objective -= relative_cost * & self . b [ pivot_row_index ] ; }
Update `self.minus_pi` and the objective function value by performing a row reduction
operation.
Update ` self . minus_pi ` and the objective function value by performing a row reduction operation .
&mut self
pivot_row_index
usize
relative_cost
F
&mut self
pivot_row_index
usize
relative_cost
F
note
This method requires a normalized pivot element.
This method requires a normalized pivot element .