OptNewton is a derived class of OptNewtonLike. More...
Public Member Functions | |
| int | checkDeriv () |
| Compare the analytic gradient with the finite difference gradient. | |
| void | initHessian () |
| Compute the analytic Hessian at the initial point. | |
| OptNewton (NLP2 *p, TOLS t) | |
| OptNewton (NLP2 *p, UPDATEFCN u) | |
| OptNewton (NLP2 *p) | |
| OptNewton () | |
| Default Constructor. | |
| void | printStatus (char *) |
| Print status of Newton's method. | |
| real | stepTolNorm () const |
| Compute length of the step direction. | |
| NEWMAT::SymmetricMatrix | updateH (NEWMAT::SymmetricMatrix &H, int k) |
| Returns the analytic Hessian. | |
| virtual | ~OptNewton () |
| Destructor. | |
OptNewton is a derived class of OptNewtonLike.
This class implements an unconstrained Newton Method with analytic Hessian information. The user can select from the following globalization strategies: Linesearch, trust-region, and trustpds.
Copyright (c) 2001, Sandia Corporation.
Definition at line 22 of file OptNewton.h.
| OPTPP::OptNewton::OptNewton | ( | ) | [inline] |
Default Constructor.
Definition at line 31 of file OptNewton.h.
References OPTPP::OptimizeClass::method.
| OPTPP::OptNewton::OptNewton | ( | NLP2 * | p | ) | [inline] |
| p | a pointer to an NLP2. |
Definition at line 36 of file OptNewton.h.
References OPTPP::OptimizeClass::method.
| OPTPP::OptNewton::OptNewton | ( | NLP2 * | p, | |
| UPDATEFCN | u | |||
| ) | [inline] |
| p | a pointer to an NLP2. | |
| u | a function pointer. |
Definition at line 42 of file OptNewton.h.
References OPTPP::OptimizeClass::method.
| OPTPP::OptNewton::OptNewton | ( | NLP2 * | p, | |
| TOLS | t | |||
| ) | [inline] |
| p | a pointer to an NLP2. | |
| t | tolerance class reference. |
Definition at line 48 of file OptNewton.h.
References OPTPP::OptimizeClass::method.
| virtual OPTPP::OptNewton::~OptNewton | ( | ) | [inline, virtual] |
Destructor.
Definition at line 54 of file OptNewton.h.
| int OPTPP::OptNewton::checkDeriv | ( | ) | [virtual] |
Compare the analytic gradient with the finite difference gradient.
Reimplemented from OPTPP::OptNewtonLike.
| void OPTPP::OptNewton::initHessian | ( | ) | [virtual] |
Compute the analytic Hessian at the initial point.
Reimplemented from OPTPP::OptNewtonLike.
| void OPTPP::OptNewton::printStatus | ( | char * | ) | [virtual] |
Print status of Newton's method.
Reimplemented from OPTPP::OptNewtonLike.
| real OPTPP::OptNewton::stepTolNorm | ( | ) | const [virtual] |
Compute length of the step direction.
Reimplemented from OPTPP::OptimizeClass.
| NEWMAT::SymmetricMatrix OPTPP::OptNewton::updateH | ( | NEWMAT::SymmetricMatrix & | H, | |
| int | k | |||
| ) | [virtual] |
Returns the analytic Hessian.
Implements OPTPP::OptNewtonLike.
1.6.3