pub enum SqpHessianSource {
Exact,
DampedBfgs,
Lbfgs,
}Expand description
Hessian source for the SQP subproblem.
Exact: usenlp.eval_h(x, 1.0, λ_g, 0)directly. Indefinite on nonconvex problems; the QP subproblem solver handles indefinite reduced Hessian via inertia control (§4.5).DampedBfgs: densen×nPowell-damped BFGS, guaranteed PSD (Powell 1978). Seecrate::sqp::bfgs::DampedBfgs.Lbfgs: limited-memory BFGS with a circular(s, y)buffer oflbfgs_max_historypairs (Nocedal-Wright §7.2; Byrd- Nocedal-Schnabel 1994). Seecrate::sqp::lbfgs::LBfgs.
Variants§
Trait Implementations§
Source§impl Clone for SqpHessianSource
impl Clone for SqpHessianSource
Source§fn clone(&self) -> SqpHessianSource
fn clone(&self) -> SqpHessianSource
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 moreSource§impl Debug for SqpHessianSource
impl Debug for SqpHessianSource
Source§impl Default for SqpHessianSource
impl Default for SqpHessianSource
Source§fn default() -> SqpHessianSource
fn default() -> SqpHessianSource
Returns the “default value” for a type. Read more
Source§impl PartialEq for SqpHessianSource
impl PartialEq for SqpHessianSource
Source§fn eq(&self, other: &SqpHessianSource) -> bool
fn eq(&self, other: &SqpHessianSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SqpHessianSource
impl Eq for SqpHessianSource
impl StructuralPartialEq for SqpHessianSource
Auto Trait Implementations§
impl Freeze for SqpHessianSource
impl RefUnwindSafe for SqpHessianSource
impl Send for SqpHessianSource
impl Sync for SqpHessianSource
impl Unpin for SqpHessianSource
impl UnsafeUnpin for SqpHessianSource
impl UnwindSafe for SqpHessianSource
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> 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