fn make_minimization_problem(&mut self) {
        if self.objective == Objective::Maximize {
            self.objective = Objective::Minimize;

            for variable in &mut self.variables {
                variable.cost *= -OF::one();
            }
        }
    }
/// Make this a minimization problem by multiplying the cost function by `-1`.
Make this a minimization problem by multiplying the cost function by `-1`.
Make this a minimization problem by multiplying the cost function by ` - 1 ` .
fn make_minimization_problem(&mut self) {
        if self.objective == Objective::Maximize {
            self.objective = Objective::Minimize;
            for variable in &mut self.variables {
                variable.cost *= -OF::one();
            }
        }
    }
fn make_minimization_problem ( & mut self ) { if self . objective == Objective :: Maximize { self . objective = Objective :: Minimize ; for variable in & mut self . variables { variable . cost *= - OF :: one ( ) ; } } }
Make this a minimization problem by multiplying the cost function by `-1`.
Make this a minimization problem by multiplying the cost function by ` - 1 ` .
&mut self
&mut self