pub struct NegativeCurvature {
pub delta: IteratesVector,
pub curvature: Number,
}Expand description
A direction of negative curvature at the current iterate, as returned by
PdFullSpaceSolver::negative_curvature_direction (gh #797).
Fields§
§delta: IteratesVectorThe direction. Only the x and s blocks are populated — every dual
block is zero — and the primal part has unit infinity-norm, so a step
length multiplying it is in the iterate’s own units.
curvature: NumberThe measured dᵀ(W + Σ)d for Self::delta. Strictly negative
whenever a value is returned: it is what makes the direction one the
barrier objective decreases along to second order, and the caller
sizes its sufficient-decrease test from it.
Auto Trait Implementations§
impl !RefUnwindSafe for NegativeCurvature
impl !Send for NegativeCurvature
impl !Sync for NegativeCurvature
impl !UnwindSafe for NegativeCurvature
impl Freeze for NegativeCurvature
impl Unpin for NegativeCurvature
impl UnsafeUnpin for NegativeCurvature
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