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 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(...)).Auto 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
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