#include <NLP2.h>
Inheritance diagram for OPTPP::NLP2:

Public Member Functions | |
| NLP2 () | |
| NLP2 (int ndim) | |
| NLP2 (int ndim, int nlncons) | |
| NLP2 (int ndim, CompoundConstraint *constraint) | |
| virtual | ~NLP2 () |
| NEWMAT::SymmetricMatrix | getHess () const |
| int | getHevals () const |
| virtual void | reset ()=0 |
| Reset the parameter values. | |
| virtual void | initFcn ()=0 |
| Initialize the function. | |
| virtual real | evalF ()=0 |
| Evaluate the function at the current point. | |
| virtual real | evalF (const NEWMAT::ColumnVector &x)=0 |
| Evaluate the function at x. | |
| virtual void | eval ()=0 |
| Evaluate the function, gradient, and Hessian at the current point. | |
| virtual NEWMAT::ColumnVector | evalG ()=0 |
| Evaluate the gradient at the current point. | |
| virtual NEWMAT::ColumnVector | evalG (const NEWMAT::ColumnVector &x)=0 |
| Evaluate the gradient at x. | |
| virtual NEWMAT::SymmetricMatrix | evalH ()=0 |
| Evaluate the Hessian at the current point. | |
| virtual NEWMAT::SymmetricMatrix | evalH (NEWMAT::ColumnVector &x)=0 |
| Evaluate the Hessian at x. | |
| virtual real | evalLagrangian (const NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type)=0 |
| Evaluate the Lagrangian at the x. | |
| virtual NEWMAT::ColumnVector | evalLagrangianGradient (const NEWMAT::ColumnVector &x, const NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type)=0 |
| Evaluate the gradient of the Lagrangian at x. | |
| virtual NEWMAT::ColumnVector | evalCF (const NEWMAT::ColumnVector &x)=0 |
| Evaluate the constraint at x. | |
| virtual NEWMAT::Matrix | evalCG (const NEWMAT::ColumnVector &x)=0 |
| Evaluate the constraint gradient at x. | |
| virtual NEWMAT::SymmetricMatrix | evalCH (NEWMAT::ColumnVector &x)=0 |
| virtual OptppArray< NEWMAT::SymmetricMatrix > | evalCH (NEWMAT::ColumnVector &x, int darg)=0 |
| Evaluate the constraint Hessian at x. | |
| virtual void | evalC (const NEWMAT::ColumnVector &x)=0 |
| virtual void | printState (char *s) |
| Print state of NLP2 object to screen. | |
| virtual void | fPrintState (ostream *nlpout, char *s) |
| Print state of NLP2 object to file. | |
Protected Attributes | |
| NEWMAT::SymmetricMatrix | Hessian |
| Hessian of objective fcn (or approx.). | |
| int | nhevals |
| Number of Hessian evaluations. | |
|
|
Default Constructor |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Destructor |
|
|
Evaluate the function, gradient, and Hessian at the current point.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Evaluate the constraint at x.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Evaluate the constraint gradient at x.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
||||||||||||
|
Evaluate the constraint Hessian at x.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Evaluate the function at x.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Evaluate the function at the current point.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Evaluate the gradient at x.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Evaluate the gradient at the current point.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Evaluate the Hessian at x.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Evaluate the Hessian at the current point.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
||||||||||||||||
|
Evaluate the Lagrangian at the x.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
||||||||||||||||
|
Evaluate the gradient of the Lagrangian at x.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
||||||||||||
|
Print state of NLP2 object to file.
Reimplemented from OPTPP::NLP1. |
|
|
|
|
|
|
|
|
Initialize the function.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Print state of NLP2 object to screen.
Reimplemented from OPTPP::NLP1. |
|
|
Reset the parameter values.
Implements OPTPP::NLP1. Implemented in OPTPP::LSQNLF, and OPTPP::NLF2. |
|
|
Hessian of objective fcn (or approx.).
|
|
|
Number of Hessian evaluations.
|