Key features of LBFGS-Lite
masterLBFGS-Lite implements the Limited-Memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method with several engineering enhancements for robustness:
- Header-only: Only
lbfgs.hppis required. - Robust Line Search: Uses the Lewis and Overton line search (since ver. 2.1), which supports both smooth (C2) and nonsmooth (piecewise C2) functions.
- Global Convergence: Employs the cautious update (Li and Fukushima) to ensure convergence in nonconvex cases.
- Mandatory Weak Wolfe Condition: Unlike some libraries that allow only the Armijo condition, LBFGS-Lite makes the weak Wolfe condition mandatory to guarantee the positive definiteness (PD) of the approximated Hessian.
- Bounded Sets: Supports externally provided maximum step sizes, which is useful for functions defined on bounded sets.