pub struct CsrPolyhedron {
pub a: CsrMatrix,
pub b: Vec<f64>,
pub variables: Vec<VariableFloat>,
pub index: Vec<Option<u32>>,
}Fields§
§a: CsrMatrixThe left-hand side of linear constraints on the form $ a + b + c \ge x $ as a compressed sparse matrix.
b: Vec<f64>The right-hand side of linear constraints as described above.
variables: Vec<VariableFloat>Upper and lower bounds (lower_bound, upper_bound) of the variables given by a.
index: Vec<Option<u32>>Implementations§
Source§impl CsrPolyhedron
impl CsrPolyhedron
Trait Implementations§
Source§impl Clone for CsrPolyhedron
impl Clone for CsrPolyhedron
Source§impl PartialEq for CsrPolyhedron
impl PartialEq for CsrPolyhedron
Auto Trait Implementations§
impl Freeze for CsrPolyhedron
impl RefUnwindSafe for CsrPolyhedron
impl Send for CsrPolyhedron
impl Sync for CsrPolyhedron
impl Unpin for CsrPolyhedron
impl UnwindSafe for CsrPolyhedron
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more