pub enum LpObjective {
Minimize,
Maximize,
}Expand description
Enum helping to specify the objective function of the linear problem.
§Examples:
use lp_modeler::dsl::{LpObjective, LpProblem};
let mut problem = LpProblem::new("One Problem", LpObjective::Maximize);Variants§
Trait Implementations§
Source§impl Debug for LpObjective
impl Debug for LpObjective
Source§impl PartialEq for LpObjective
impl PartialEq for LpObjective
impl StructuralPartialEq for LpObjective
Auto Trait Implementations§
impl Freeze for LpObjective
impl RefUnwindSafe for LpObjective
impl Send for LpObjective
impl Sync for LpObjective
impl Unpin for LpObjective
impl UnwindSafe for LpObjective
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more