pub struct WarmStartBasis {
pub basis: Vec<usize>,
pub x_b: Vec<f64>,
}Expand description
Basis information for warm-starting simplex.
Carries basis indices and primal values from a previous solve. Used as the initial basis for Dual Simplex in SQP integration.
Fields§
§basis: Vec<usize>Basis variable indices (standard-form column numbers, length = m).
x_b: Vec<f64>Basis variable values x_B (length = m). Stale values are acceptable; they are recomputed from the new RHS on warm-start entry.
Trait Implementations§
Source§impl Clone for WarmStartBasis
impl Clone for WarmStartBasis
Source§fn clone(&self) -> WarmStartBasis
fn clone(&self) -> WarmStartBasis
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 WarmStartBasis
impl RefUnwindSafe for WarmStartBasis
impl Send for WarmStartBasis
impl Sync for WarmStartBasis
impl Unpin for WarmStartBasis
impl UnsafeUnpin for WarmStartBasis
impl UnwindSafe for WarmStartBasis
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,
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