#include <NLF.h>
Inheritance diagram for OPTPP::NLF2:

Public Member Functions | |
| NLF2 () | |
| NLF2 (int ndim) | |
| NLF2 (int ndim, USERFCN2 f, INITFCN i, CompoundConstraint *constraint=0) | |
| NLF2 (int ndim, USERFCN2 f, INITFCN i, INITCONFCN c) | |
| NLF2 (int ndim, int nlncons, USERNLNCON1 f, INITFCN i) | |
| NLF2 (int ndim, int nlncons, USERNLNCON2 f, INITFCN i) | |
| NLF2 (int ndim, USERFCN2V f, INITFCN i, CompoundConstraint *constraint=0, void *v=0) | |
| Alternate function pointers with user-supplied void function pointer. | |
| NLF2 (int ndim, USERFCN2V f, INITFCN i, void *v) | |
| NLF2 (int ndim, USERFCN2V f, INITFCN i, INITCONFCN c, void *v) | |
| virtual | ~NLF2 () |
| virtual void | reset () |
| Reset parameter values. | |
| virtual void | initFcn () |
| Initialize function. | |
| virtual void | eval () |
| Evaluate the objective function, gradient, and Hessian. | |
| virtual real | evalF () |
| Evaluate the objective function. | |
| virtual real | evalF (const NEWMAT::ColumnVector &x) |
| Evaluate the objective function at x. | |
| virtual NEWMAT::ColumnVector | evalG () |
| Evaluate the analytic gradient of the objective function. | |
| virtual NEWMAT::ColumnVector | evalG (const NEWMAT::ColumnVector &x) |
| Evaluate the analytic gradient of the objective function at x. | |
| virtual NEWMAT::SymmetricMatrix | evalH () |
| Evaluate the analytic Hessian of the objective function. | |
Static Protected Member Functions | |
| void | f_helper (int m, int n, const NEWMAT::ColumnVector &xc, real &f, NEWMAT::ColumnVector &g, NEWMAT::SymmetricMatrix &H, int &result, void *v) |
Protected Attributes | |
| USERFCN2 | fcn |
| User-defined objective function. | |
| USERFCN2V | fcn_v |
| User-defined objective function. | |
| USERNLNCON1 | confcn1 |
| User-defined nonlinear constraints. | |
| USERNLNCON2 | confcn2 |
| User-defined nonlinear constraints. | |
| INITFCN | init_fcn |
| Initializes the objective function. | |
| INITCONFCN | init_confcn |
| Initializes the constraints. | |
| bool | init_flag |
| Has the function been initialized? | |
| void * | vptr |
| Void pointer. | |
Private Member Functions | |
| virtual NEWMAT::SymmetricMatrix | evalH (NEWMAT::ColumnVector &x) |
| Evaluate the analytic Hessian of the objective function at x. | |
| virtual real | evalLagrangian (const NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type) |
| Evaluate the Lagrangian at x. | |
| virtual NEWMAT::ColumnVector | evalLagrangianGradient (const NEWMAT::ColumnVector &x, const NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type) |
| Evaluate the gradient of the Lagrangian at x. | |
| NEWMAT::SymmetricMatrix | evalLagrangianHessian (NEWMAT::ColumnVector &x, const NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type) |
| Evaluate the Hessian of the Lagrangian at x. | |
| virtual NEWMAT::ColumnVector | evalCF (const NEWMAT::ColumnVector &x) |
| Evaluate the nonlinear constraints at x. | |
| virtual NEWMAT::Matrix | evalCG (const NEWMAT::ColumnVector &x) |
| Evaluate the gradient of the nonlinear constraints at x. | |
| virtual NEWMAT::SymmetricMatrix | evalCH (NEWMAT::ColumnVector &x) |
| Evaluate the Hessian of the nonlinear constraints at x. | |
| OptppArray< NEWMAT::SymmetricMatrix > | evalCH (NEWMAT::ColumnVector &x, int darg) |
| Evaluate constraint hessian at x. | |
| virtual void | evalC (const NEWMAT::ColumnVector &x) |
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
Alternate function pointers with user-supplied void function pointer.
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
Evaluate the objective function, gradient, and Hessian.
Implements OPTPP::NLP2. |
|
|
Implements OPTPP::NLP2. |
|
|
Evaluate the nonlinear constraints at x.
Implements OPTPP::NLP2. |
|
|
Evaluate the gradient of the nonlinear constraints at x.
Implements OPTPP::NLP2. |
|
||||||||||||
|
Evaluate constraint hessian at x.
Implements OPTPP::NLP2. |
|
|
Evaluate the Hessian of the nonlinear constraints at x.
Implements OPTPP::NLP2. |
|
|
Evaluate the objective function at x.
Implements OPTPP::NLP2. |
|
|
Evaluate the objective function.
Implements OPTPP::NLP2. |
|
|
Evaluate the analytic gradient of the objective function at x.
Implements OPTPP::NLP2. |
|
|
Evaluate the analytic gradient of the objective function.
Implements OPTPP::NLP2. |
|
|
Evaluate the analytic Hessian of the objective function at x.
Implements OPTPP::NLP2. |
|
|
Evaluate the analytic Hessian of the objective function.
Implements OPTPP::NLP2. |
|
||||||||||||||||
|
Evaluate the Lagrangian at x.
Implements OPTPP::NLP2. |
|
||||||||||||||||
|
Evaluate the gradient of the Lagrangian at x.
Implements OPTPP::NLP2. |
|
||||||||||||||||
|
Evaluate the Hessian of the Lagrangian at x.
|
|
||||||||||||||||||||||||||||||||||||
|
|
|
|
Initialize function.
Implements OPTPP::NLP2. |
|
|
Reset parameter values.
Implements OPTPP::NLP2. |
|
|
User-defined nonlinear constraints.
|
|
|
User-defined nonlinear constraints.
|
|
|
User-defined objective function.
|
|
|
User-defined objective function.
|
|
|
Initializes the constraints.
|
|
|
Initializes the objective function.
|
|
|
Has the function been initialized?
|
|
|
Void pointer.
|