pub struct LpSolution {
pub status: LpStatus,
pub x: Vec<f64>,
pub objective: f64,
pub iterations: usize,
}Expand description
The solution of a linear program. x and objective are meaningful only when status is
LpStatus::Optimal.
Fields§
§status: LpStatus§x: Vec<f64>§objective: f64§iterations: usizeSimplex pivots performed across both phases.
Trait Implementations§
Source§impl Clone for LpSolution
impl Clone for LpSolution
Source§impl Debug for LpSolution
impl Debug for LpSolution
Source§impl PartialEq for LpSolution
impl PartialEq for LpSolution
impl StructuralPartialEq for LpSolution
Auto Trait Implementations§
impl Freeze for LpSolution
impl RefUnwindSafe for LpSolution
impl Send for LpSolution
impl Sync for LpSolution
impl Unpin for LpSolution
impl UnsafeUnpin for LpSolution
impl UnwindSafe for LpSolution
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