24#ifndef quantlib_optimization_bfgs_hpp
25#define quantlib_optimization_bfgs_hpp
41 BFGS(
const ext::shared_ptr<LineSearch>& lineSearch =
42 ext::shared_ptr<LineSearch>())
1-D array used in linear algebra.
Broyden-Fletcher-Goldfarb-Shanno algorithm.
Matrix inverseHessian_
inverse of hessian matrix
BFGS(const ext::shared_ptr< LineSearch > &lineSearch=ext::shared_ptr< LineSearch >())
Array getUpdatedDirection(const Problem &P, Real gold2, const Array &oldGradient) override
computes the new search direction
Line search based method.
Matrix used in linear algebra.
Constrained optimization problem.
Abstract optimization method class.
matrix used in linear algebra.