|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
Line search based method. More...
#include <ql/math/optimization/linesearchbasedmethod.hpp>
Public Member Functions | |
| LineSearchBasedMethod (ext::shared_ptr< LineSearch > lSearch=ext::shared_ptr< LineSearch >()) | |
| EndCriteria::Type | minimize (Problem &P, const EndCriteria &endCriteria) override |
| minimize the optimization problem P | |
Protected Member Functions | |
| virtual Array | getUpdatedDirection (const Problem &P, Real gold2, const Array &gradient)=0 |
| computes the new search direction | |
Protected Attributes | |
| ext::shared_ptr< LineSearch > | lineSearch_ |
| line search | |
Line search based method.
|
overridevirtual |
minimize the optimization problem P
Implements OptimizationMethod.