pub struct TropicalLinearProgram {
pub num_variables: usize,
pub num_constraints: usize,
pub objective: Vec<f64>,
pub constraint_matrix: Vec<Vec<f64>>,
pub rhs: Vec<f64>,
}Expand description
Tropical linear program.
Fields§
§num_variables: usize§num_constraints: usize§objective: Vec<f64>§constraint_matrix: Vec<Vec<f64>>§rhs: Vec<f64>Implementations§
Trait Implementations§
Source§impl Clone for TropicalLinearProgram
impl Clone for TropicalLinearProgram
Source§fn clone(&self) -> TropicalLinearProgram
fn clone(&self) -> TropicalLinearProgram
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TropicalLinearProgram
impl RefUnwindSafe for TropicalLinearProgram
impl Send for TropicalLinearProgram
impl Sync for TropicalLinearProgram
impl Unpin for TropicalLinearProgram
impl UnsafeUnpin for TropicalLinearProgram
impl UnwindSafe for TropicalLinearProgram
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