pub struct LpWarmStart {
pub basis: Vec<usize>,
pub x_orig: Option<Vec<f64>>,
pub y_orig: Option<Vec<f64>>,
}Expand description
Extended LP warm-start.
Superset of WarmStartBasis: accepts (x, y, basis) from an external
solver and lands simplex at that point. Takes priority over warm_start.
Convention:
basis: length = m_ext (standard-form rows), each value < n_total. Size mismatch: logged and dropped (not silently ignored).x_orig: length = problem.num_vars (original variable space)y_orig: length = problem.num_constraints (original constraint space, user sign)
Fields§
§basis: Vec<usize>§x_orig: Option<Vec<f64>>§y_orig: Option<Vec<f64>>Trait Implementations§
Source§impl Clone for LpWarmStart
impl Clone for LpWarmStart
Source§fn clone(&self) -> LpWarmStart
fn clone(&self) -> LpWarmStart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LpWarmStart
impl RefUnwindSafe for LpWarmStart
impl Send for LpWarmStart
impl Sync for LpWarmStart
impl Unpin for LpWarmStart
impl UnsafeUnpin for LpWarmStart
impl UnwindSafe for LpWarmStart
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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