OptQNewton is a derived class of OptNewtonLike. More...
Public Member Functions | |
int | checkDeriv () |
Compare the analytic gradient with the finite difference gradient. | |
OptQNewton (NLP1 *p, TOLS t) | |
OptQNewton (NLP1 *p, UPDATEFCN u) | |
OptQNewton (NLP1 *p) | |
OptQNewton () | |
Default Constructor. | |
NEWMAT::SymmetricMatrix | updateH (NEWMAT::SymmetricMatrix &H, int k) |
Compute BFGS approximation to the Hessian of the objective function. | |
virtual | ~OptQNewton () |
Destructors. |
OptQNewton is a derived class of OptNewtonLike.
This class implements an unconstrained Quasi-Newton Method with BFGS approximation to the Hessian. The user can select from the following globalization strategies: linesearch, trust-region, and trustpds.
Definition at line 22 of file OptQNewton.h.
OPTPP::OptQNewton::OptQNewton | ( | ) | [inline] |
Default Constructor.
Definition at line 30 of file OptQNewton.h.
References OPTPP::OptimizeClass::method.
OPTPP::OptQNewton::OptQNewton | ( | NLP1 * | p | ) | [inline] |
p | a pointer to an NLP1. |
Definition at line 34 of file OptQNewton.h.
References OPTPP::OptimizeClass::method.
OPTPP::OptQNewton::OptQNewton | ( | NLP1 * | p, | |
UPDATEFCN | u | |||
) | [inline] |
p | a pointer to an NLP1. | |
u | a function pointer. |
Definition at line 40 of file OptQNewton.h.
References OPTPP::OptimizeClass::method.
OPTPP::OptQNewton::OptQNewton | ( | NLP1 * | p, | |
TOLS | t | |||
) | [inline] |
p | a pointer to an NLP1. | |
t | tolerance class reference. |
Definition at line 46 of file OptQNewton.h.
References OPTPP::OptimizeClass::method.
virtual OPTPP::OptQNewton::~OptQNewton | ( | ) | [inline, virtual] |
Destructors.
Definition at line 52 of file OptQNewton.h.
int OPTPP::OptQNewton::checkDeriv | ( | ) | [virtual] |
Compare the analytic gradient with the finite difference gradient.
Reimplemented from OPTPP::OptNewtonLike.
NEWMAT::SymmetricMatrix OPTPP::OptQNewton::updateH | ( | NEWMAT::SymmetricMatrix & | H, | |
int | k | |||
) | [virtual] |
Compute BFGS approximation to the Hessian of the objective function.
Implements OPTPP::OptNewtonLike.