pub struct LineSearchResult {
pub alpha: Number,
pub nu: Number,
pub x_new: Vec<Number>,
pub f_new: Number,
pub c_new: Vec<Number>,
pub success: bool,
pub soc_duals: Option<(Vec<Number>, Vec<Number>)>,
}Fields§
§alpha: Number§nu: Number§x_new: Vec<Number>§f_new: Number§c_new: Vec<Number>§success: bool§soc_duals: Option<(Vec<Number>, Vec<Number>)>Present only when the accepted step was a second-order
correction. Carries the SOC subproblem’s own multipliers
(λ_g, λ_x), which the driver must adopt verbatim
instead of interpolating the original QP’s multipliers: the
step actually taken is the SOC step, so a consistent
(step, multipliers) pair is required for the quasi-Newton
Hessian update to stay well-conditioned.
Auto Trait Implementations§
impl Freeze for LineSearchResult
impl RefUnwindSafe for LineSearchResult
impl Send for LineSearchResult
impl Sync for LineSearchResult
impl Unpin for LineSearchResult
impl UnsafeUnpin for LineSearchResult
impl UnwindSafe for LineSearchResult
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
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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