pub enum SimplexOutput {
UniqueOptimum(f64),
MultipleOptimum(f64),
InfiniteSolution,
NoSolution,
}Expand description
The result of a Simplex calculation
UniqueOptimum means there’s only one solution, and is an optimum MultipleOptimum means there’s an optimum, but with different solutions. Run solve again to get another solution. InfiniteSolution means the problem is unbound, so the optimum is infinite NoSolution means the problem doesn’t seem to be feasible
Variants§
Trait Implementations§
Source§impl Debug for SimplexOutput
impl Debug for SimplexOutput
Source§impl PartialEq for SimplexOutput
impl PartialEq for SimplexOutput
impl StructuralPartialEq for SimplexOutput
Auto Trait Implementations§
impl Freeze for SimplexOutput
impl RefUnwindSafe for SimplexOutput
impl Send for SimplexOutput
impl Sync for SimplexOutput
impl Unpin for SimplexOutput
impl UnwindSafe for SimplexOutput
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