Skip to main content

Module quasi_newton

Module quasi_newton 

Source
Expand description

Quasi-Newton minimizers: BFGS with a dense inverse-Hessian approximation and limited-memory L-BFGS. Both use a strong Wolfe line search, which keeps the curvature condition yᵀs > 0 and hence the approximation positive definite.

See the book entry Newton and quasi-Newton methods.

Structs§

Bfgs
BFGS with a dense n × n inverse-Hessian approximation H, updated as H ← (I − ρsyᵀ) H (I − ρysᵀ) + ρssᵀ, ρ = 1/(yᵀs), and initially scaled by yᵀs / yᵀy after the first step. Converges when ‖∇f‖∞ falls below the tolerance (default 1e-8).
Lbfgs
Limited-memory BFGS: keeps the last memory correction pairs (s, y) and applies the inverse Hessian by the two-loop recursion in O(memory · n), so it scales to large problems.