OptConstrNewton is a derived class of OptConstrNewtonLike. More...
Public Member Functions | |
int | checkDeriv () |
Compare the analytic gradient with finite-difference gradient. | |
void | initHessian () |
Initialie the Hessian. | |
OptConstrNewton (NLP2 *p, TOLS t) | |
@ param p a pointer to an NLP2. | |
OptConstrNewton (NLP2 *p, UPDATEFCN u) | |
@ param p a pointer to an NLP2. | |
OptConstrNewton (NLP2 *p) | |
@ param p a pointer to an NLP2. | |
OptConstrNewton () | |
Default Constructor @ see OptConstrNewton(NLP2* p) @ see OptConstrNewton(NLP2* p, UPDATEFCN u) @ see OptConstrNewton(NLP2* p, TOLS t). | |
void | printStatus (char *) |
Print status of constrained Newton's method. | |
real | stepTolNorm () const |
Compute length of step direction. | |
NEWMAT::SymmetricMatrix | updateH (NEWMAT::SymmetricMatrix &H, int k) |
Compute the analytic Hessian. | |
virtual | ~OptConstrNewton () |
Destructor. |
OptConstrNewton is a derived class of OptConstrNewtonLike.
This class implements an constrained Newton Method with analytic Hessian information. The user can select from the following globalization strategies: Linesearch, trust-region, and trustpds.
Definition at line 26 of file OptConstrNewton.h.
OPTPP::OptConstrNewton::OptConstrNewton | ( | ) | [inline] |
Default Constructor @ see OptConstrNewton(NLP2* p) @ see OptConstrNewton(NLP2* p, UPDATEFCN u) @ see OptConstrNewton(NLP2* p, TOLS t).
Definition at line 34 of file OptConstrNewton.h.
References OPTPP::OptimizeClass::method.
OPTPP::OptConstrNewton::OptConstrNewton | ( | NLP2 * | p | ) | [inline] |
@ param p a pointer to an NLP2.
@ see OptConstrNewton(NLP2* p, UPDATEFCN u) @ see OptConstrNewton(NLP2* p, TOLS t)
Definition at line 41 of file OptConstrNewton.h.
References OPTPP::OptimizeClass::method.
OPTPP::OptConstrNewton::OptConstrNewton | ( | NLP2 * | p, | |
UPDATEFCN | u | |||
) | [inline] |
@ param p a pointer to an NLP2.
@ param u a function pointer. @ see OptConstrNewton(NLP2* p) @ see OptConstrNewton(NLP2* p, TOLS t)
Definition at line 50 of file OptConstrNewton.h.
References OPTPP::OptimizeClass::method.
OPTPP::OptConstrNewton::OptConstrNewton | ( | NLP2 * | p, | |
TOLS | t | |||
) | [inline] |
@ param p a pointer to an NLP2.
@ param t tolerance class reference. @ see OptConstrNewton(NLP2* p) @ see OptConstrNewton(NLP2* p, UPDATEFCN u)
Definition at line 58 of file OptConstrNewton.h.
References OPTPP::OptimizeClass::method.
virtual OPTPP::OptConstrNewton::~OptConstrNewton | ( | ) | [inline, virtual] |
Destructor.
Definition at line 64 of file OptConstrNewton.h.
int OPTPP::OptConstrNewton::checkDeriv | ( | ) | [virtual] |
Compare the analytic gradient with finite-difference gradient.
Reimplemented from OPTPP::OptConstrNewtonLike.
void OPTPP::OptConstrNewton::initHessian | ( | ) | [virtual] |
Initialie the Hessian.
Reimplemented from OPTPP::OptConstrNewtonLike.
void OPTPP::OptConstrNewton::printStatus | ( | char * | ) | [virtual] |
Print status of constrained Newton's method.
Reimplemented from OPTPP::OptConstrNewtonLike.
real OPTPP::OptConstrNewton::stepTolNorm | ( | ) | const [virtual] |
Compute length of step direction.
Reimplemented from OPTPP::OptimizeClass.
NEWMAT::SymmetricMatrix OPTPP::OptConstrNewton::updateH | ( | NEWMAT::SymmetricMatrix & | H, | |
int | k | |||
) | [virtual] |
Compute the analytic Hessian.
Implements OPTPP::OptConstrNewtonLike.