pub trait MinOrMax {
// Required method
fn is_maximize(&self) -> bool;
}Expand description
Trait defining whether a problem is a minimization problem or a maximization problem.
Required Methods§
sourcefn is_maximize(&self) -> bool
fn is_maximize(&self) -> bool
Returns true if the problem is a maximization problem.