pub struct QpWarmStart {
pub x: Vec<f64>,
pub y: Vec<f64>,
pub mu: f64,
}Expand description
QP IP-PMM interior-point warm-start data.
Passes the optimal (x, y, μ) from a parent B&B node as the starting point
on the central path for the child node. LP warm-start uses basis indices
(WarmStartBasis); QP warm-start uses a central-path point.
Convention:
x: length = n (primal)y: length = m (dual, user sign convention; Ge constraints inverted internally)mu: barrier parameter ≈ sᵀy / m_ineq of the parent final iterate
Interior corrections (μ floor / x bound margin / y positivity) are applied on entry so boundary or zero values are safe to pass.
Fields§
§x: Vec<f64>§y: Vec<f64>§mu: f64Trait Implementations§
Source§impl Clone for QpWarmStart
impl Clone for QpWarmStart
Source§fn clone(&self) -> QpWarmStart
fn clone(&self) -> QpWarmStart
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 QpWarmStart
impl RefUnwindSafe for QpWarmStart
impl Send for QpWarmStart
impl Sync for QpWarmStart
impl Unpin for QpWarmStart
impl UnsafeUnpin for QpWarmStart
impl UnwindSafe for QpWarmStart
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