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

Public Member Functions | |
| NLF0 () | |
| NLF0 (int ndim) | |
| NLF0 (int ndim, USERFCN0 f) | |
| NLF0 (int ndim, USERFCN0 f, INITFCN i, CompoundConstraint *constraint=0) | |
| NLF0 (int ndim, USERFCN0 f, INITFCN i, INITCONFCN c) | |
| NLF0 (int ndim, int nlncons, USERNLNCON0 f, INITFCN i) | |
| NLF0 (int ndim, USERFCN0V f, INITFCN i, CompoundConstraint *constraint=0, void *v=0) | |
| Alternate function pointers with user-supplied void function pointer. | |
| NLF0 (int ndim, USERFCN0V f, INITFCN i, void *v) | |
| NLF0 (int ndim, USERFCN0V f, INITFCN i, INITCONFCN c, void *v) | |
| virtual | ~NLF0 () |
| virtual void | reset () |
| Reset parameter values. | |
| virtual void | initFcn () |
| Initialize selected function. | |
| virtual void | eval () |
| Evaluate the function, gradient, and Hessian. | |
| virtual real | evalF () |
| Evaluate the function. | |
| virtual real | evalF (const NEWMAT::ColumnVector &x) |
| Evaluate the function at x. | |
| virtual NEWMAT::ColumnVector | evalCF (const NEWMAT::ColumnVector &x) |
| Evaluate nonlinear constraints at x. | |
| virtual NEWMAT::ColumnVector | evalG () |
| Evaluate a finite-difference gradient. | |
| 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. | |
Static Protected Member Functions | |
| void | f_helper (int n, const NEWMAT::ColumnVector &xc, real &f, int &result, void *v) |
Protected Attributes | |
| USERFCN0 | fcn |
| User-defined objective function. | |
| USERFCN0V | fcn_v |
| User-defined objective function w/ void ptr. | |
| USERNLNCON0 | confcn |
| 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::ColumnVector | evalG (const NEWMAT::ColumnVector &x) |
| Evaluate grad at x. | |
| virtual NEWMAT::SymmetricMatrix | evalH () |
| Evaluate the Hessian at x. | |
| virtual NEWMAT::SymmetricMatrix | evalH (NEWMAT::ColumnVector &x) |
| Evaluate the Hessian. | |
| virtual NEWMAT::Matrix | evalCG (const NEWMAT::ColumnVector &x) |
| Evaluate the constraint gradient at x. | |
| virtual NEWMAT::SymmetricMatrix | evalCH (NEWMAT::ColumnVector &x) |
| Evaluate constraint hessian at x. | |
| virtual 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 function, gradient, and Hessian.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate nonlinear constraints at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate the constraint gradient at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
||||||||||||
|
Evaluate constraint hessian at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate constraint hessian at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate the function at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate the function.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate grad at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate a finite-difference gradient.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate the Hessian.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Evaluate the Hessian at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
||||||||||||||||
|
Evaluate the Lagrangian at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
||||||||||||||||
|
Evaluate the gradient of the Lagrangian at x.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
||||||||||||||||||||||||
|
|
|
|
Initialize selected function.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
Reset parameter values.
Implements OPTPP::NLP0. Reimplemented in OPTPP::NLF0APP. |
|
|
User-defined nonlinear constraints.
Reimplemented in OPTPP::NLF0APP. |
|
|
User-defined objective function.
Reimplemented in OPTPP::NLF0APP. |
|
|
User-defined objective function w/ void ptr.
|
|
|
Initializes the constraints.
Reimplemented in OPTPP::NLF0APP. |
|
|
Initializes the objective function.
Reimplemented in OPTPP::NLF0APP. |
|
|
Has the function been initialized?
Reimplemented in OPTPP::NLF0APP. |
|
|
Void pointer.
|