pub struct ExactHessianUpdater;Implementations§
Trait Implementations§
Source§impl Default for ExactHessianUpdater
impl Default for ExactHessianUpdater
Source§impl HessianUpdater for ExactHessianUpdater
impl HessianUpdater for ExactHessianUpdater
Source§fn hessian_at_current(
&mut self,
_data: &IpoptDataHandle,
cq: &IpoptCqHandle,
) -> Option<Rc<dyn SymMatrix>>
fn hessian_at_current( &mut self, _data: &IpoptDataHandle, cq: &IpoptCqHandle, ) -> Option<Rc<dyn SymMatrix>>
A pure evaluation at the current iterate; data.w is untouched.
Source§fn update_hessian(&mut self, data: &IpoptDataHandle, cq: &IpoptCqHandle) -> bool
fn update_hessian(&mut self, data: &IpoptDataHandle, cq: &IpoptCqHandle) -> bool
Refresh
data.w for the current iterate. Returns true on
success. Mirrors IpHessianUpdater::UpdateHessian (which is
pure-virtual; implementations write into IpData().Set_W(...)).Source§fn provides_exact_hessian(&self) -> bool
fn provides_exact_hessian(&self) -> bool
Whether
data.w is the exact Lagrangian Hessian at the iterate it was
built from, rather than a quasi-Newton approximation (gh #797). Read moreAuto Trait Implementations§
impl Freeze for ExactHessianUpdater
impl RefUnwindSafe for ExactHessianUpdater
impl Send for ExactHessianUpdater
impl Sync for ExactHessianUpdater
impl Unpin for ExactHessianUpdater
impl UnsafeUnpin for ExactHessianUpdater
impl UnwindSafe for ExactHessianUpdater
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