pub struct BFGS { /* private fields */ }Expand description
Broyden-Fletcher-Goldfarb-Shanno optimization algorithm
This struct configures the BFGS quasi-Newton method, which approximates the inverse Hessian using rank-2 updates. It is as memory-intensive as regular Newton method (O(n^2) storage) but it does not require double differentiation.
§Fields
max_steps- Maximum number of optimization steps.gtol- Optional tolerance for gradient norm (stop if ||grad|| < gtol).ftol- Optional tolerance for change in objective value (stop if |f - prev_f| < ftol).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BFGS
impl RefUnwindSafe for BFGS
impl Send for BFGS
impl Sync for BFGS
impl Unpin for BFGS
impl UnsafeUnpin for BFGS
impl UnwindSafe for BFGS
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