pub trait HessianUpdater {
// Required method
fn update_hessian(
&mut self,
data: &IpoptDataHandle,
cq: &IpoptCqHandle,
) -> bool;
}Required Methods§
Sourcefn 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(...)).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".