OptBCFDNewton is a derived class of OptBCNewtonLike. More...
Public Member Functions | |
| virtual int | checkDeriv () |
| Compare the analytic gradient with the finite difference gradient. | |
| OptBCFDNewton (NLP1 *p, TOLS t) | |
| OptBCFDNewton (NLP1 *p, UPDATEFCN u) | |
| Constructors. | |
| OptBCFDNewton (NLP1 *p) | |
| Constructors. | |
| OptBCFDNewton () | |
| Default constructor. | |
| virtual void | reset () |
| NEWMAT::SymmetricMatrix | updateH (NEWMAT::SymmetricMatrix &H, int k) |
| Compute the Hessian or its approximation at the current point. | |
| virtual | ~OptBCFDNewton () |
| Destructor. | |
Protected Attributes | |
| int | nactive |
| Number of variables in the active set. | |
| BoolVector | work_set |
| List of variables in the working set. | |
OptBCFDNewton is a derived class of OptBCNewtonLike.
OptBCFDNewton implements a Bound constrained Finite-Difference Newton method. These methods will use the active set method.
Definition at line 25 of file OptBCFDNewton.h.
| OPTPP::OptBCFDNewton::OptBCFDNewton | ( | ) | [inline] |
Default constructor.
Definition at line 36 of file OptBCFDNewton.h.
References OPTPP::OptimizeClass::method, and work_set.
| OPTPP::OptBCFDNewton::OptBCFDNewton | ( | NLP1 * | p | ) | [inline] |
Constructors.
| p | a pointer to an NLP1. |
Definition at line 47 of file OptBCFDNewton.h.
References OPTPP::OptimizeClass::method, and work_set.
| OPTPP::OptBCFDNewton::OptBCFDNewton | ( | NLP1 * | p, | |
| UPDATEFCN | u | |||
| ) | [inline] |
Constructors.
| p | a pointer to an NLP1. | |
| u | a function pointer. |
Definition at line 57 of file OptBCFDNewton.h.
References OPTPP::OptimizeClass::method, and work_set.
| OPTPP::OptBCFDNewton::OptBCFDNewton | ( | NLP1 * | p, | |
| TOLS | t | |||
| ) | [inline] |
| p | a pointer to an NLP1. | |
| t | tolerance class reference. |
Definition at line 66 of file OptBCFDNewton.h.
References OPTPP::OptimizeClass::method, and work_set.
| virtual OPTPP::OptBCFDNewton::~OptBCFDNewton | ( | ) | [inline, virtual] |
Destructor.
Definition at line 73 of file OptBCFDNewton.h.
| virtual int OPTPP::OptBCFDNewton::checkDeriv | ( | ) | [virtual] |
Compare the analytic gradient with the finite difference gradient.
Reimplemented from OPTPP::OptBCNewtonLike.
| NEWMAT::SymmetricMatrix OPTPP::OptBCFDNewton::updateH | ( | NEWMAT::SymmetricMatrix & | H, | |
| int | k | |||
| ) | [virtual] |
Compute the Hessian or its approximation at the current point.
Implements OPTPP::OptBCNewtonLike.
int OPTPP::OptBCFDNewton::nactive [protected] |
Number of variables in the active set.
Definition at line 28 of file OptBCFDNewton.h.
BoolVector OPTPP::OptBCFDNewton::work_set [protected] |
List of variables in the working set.
Definition at line 30 of file OptBCFDNewton.h.
Referenced by OptBCFDNewton().
1.6.3