OptBCNewton is a derived class of OptBCNewtonLike. More...
Public Member Functions | |
virtual int | checkConvg () |
Check to see if algorithm satisfies the convergence criterion. | |
virtual int | checkDeriv () |
Compare the analytic gradient with the finite difference gradient. | |
double | computeMaxStep (NEWMAT::ColumnVector &) |
Compute the maximum step allowed along the search direction before we hit a constraint. | |
NEWMAT::ColumnVector | computeSearch (NEWMAT::SymmetricMatrix &) |
Compute search direction. | |
virtual void | initHessian () |
Compute the Hessian or its approximation at the initial point. | |
virtual void | initOpt () |
Initialize algorithmic parameters. | |
OptBCNewton (NLP2 *p, TOLS t) | |
OptBCNewton (NLP2 *p, UPDATEFCN u) | |
OptBCNewton (NLP2 *p) | |
OptBCNewton () | |
Default Constructor. | |
virtual void | printStatus (char *) |
Print status of the bound constrained Newton's method. | |
virtual void | reset () |
virtual real | stepTolNorm () const |
int | updateConstraints (int) |
Add and remove variables from the working set. | |
NEWMAT::SymmetricMatrix | updateH (NEWMAT::SymmetricMatrix &H, int k) |
Compute the Hessian or its approximation at the current point. | |
Protected Attributes | |
int | nactive |
Number of variables in active set. | |
NEWMAT::ColumnVector | work_set |
Working set of variables. |
OptBCNewton is a derived class of OptBCNewtonLike.
OptBCNewton implements a bound constrained Newton method. These methods will use the active set method.
Definition at line 25 of file OptBCNewton.h.
OPTPP::OptBCNewton::OptBCNewton | ( | ) | [inline] |
Default Constructor.
Definition at line 39 of file OptBCNewton.h.
References OPTPP::OptimizeClass::method.
OPTPP::OptBCNewton::OptBCNewton | ( | NLP2 * | p | ) | [inline] |
p | a pointer to an NLP1. |
Definition at line 50 of file OptBCNewton.h.
References OPTPP::OptimizeClass::method, and work_set.
OPTPP::OptBCNewton::OptBCNewton | ( | NLP2 * | p, | |
UPDATEFCN | u | |||
) | [inline] |
p | a pointer to an NLP1. | |
u | a function pointer. |
Definition at line 60 of file OptBCNewton.h.
References OPTPP::OptimizeClass::method, and work_set.
OPTPP::OptBCNewton::OptBCNewton | ( | NLP2 * | p, | |
TOLS | t | |||
) | [inline] |
p | a pointer to an NLP1. | |
t | tolerance class reference. |
Definition at line 70 of file OptBCNewton.h.
References OPTPP::OptimizeClass::method, and work_set.
virtual int OPTPP::OptBCNewton::checkConvg | ( | ) | [virtual] |
Check to see if algorithm satisfies the convergence criterion.
Reimplemented from OPTPP::OptBCNewtonLike.
virtual int OPTPP::OptBCNewton::checkDeriv | ( | ) | [virtual] |
Compare the analytic gradient with the finite difference gradient.
Reimplemented from OPTPP::OptBCNewtonLike.
double OPTPP::OptBCNewton::computeMaxStep | ( | NEWMAT::ColumnVector & | ) | [virtual] |
Compute the maximum step allowed along the search direction before we hit a constraint.
Reimplemented from OPTPP::OptBCNewtonLike.
NEWMAT::ColumnVector OPTPP::OptBCNewton::computeSearch | ( | NEWMAT::SymmetricMatrix & | H | ) | [virtual] |
Compute search direction.
Reimplemented from OPTPP::OptBCNewtonLike.
virtual void OPTPP::OptBCNewton::initHessian | ( | ) | [virtual] |
Compute the Hessian or its approximation at the initial point.
Reimplemented from OPTPP::OptBCNewtonLike.
virtual void OPTPP::OptBCNewton::initOpt | ( | ) | [virtual] |
Initialize algorithmic parameters.
Reimplemented from OPTPP::OptBCNewtonLike.
virtual void OPTPP::OptBCNewton::printStatus | ( | char * | ) | [virtual] |
Print status of the bound constrained Newton's method.
Reimplemented from OPTPP::OptBCNewtonLike.
int OPTPP::OptBCNewton::updateConstraints | ( | int | ) | [virtual] |
Add and remove variables from the working set.
Reimplemented from OPTPP::OptBCNewtonLike.
NEWMAT::SymmetricMatrix OPTPP::OptBCNewton::updateH | ( | NEWMAT::SymmetricMatrix & | H, | |
int | k | |||
) | [virtual] |
Compute the Hessian or its approximation at the current point.
Implements OPTPP::OptBCNewtonLike.
int OPTPP::OptBCNewton::nactive [protected] |
Number of variables in active set.
Definition at line 28 of file OptBCNewton.h.
NEWMAT::ColumnVector OPTPP::OptBCNewton::work_set [protected] |