NLF0 is a derived class of NLP0, a nonlinear problem without analytic derivative information. More...
Public Member Functions | |
| virtual void | eval () | 
| Evaluate the function, gradient, and Hessian.   | |
| virtual NEWMAT::ColumnVector | evalCF (const NEWMAT::ColumnVector &x) | 
| Evaluate nonlinear constraints at x.   | |
| virtual real | evalF (const NEWMAT::ColumnVector &x) | 
| Evaluate the function at x.   | |
| virtual real | evalF () | 
| Evaluate the function.   | |
| 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.   | |
| virtual void | initFcn () | 
| Initialize selected function.   | |
| NLF0 (int ndim, USERFCN0V f, INITFCN i, INITCONFCN c, void *v) | |
| NLF0 (int ndim, USERFCN0V f, INITFCN i, void *v) | |
| 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, int nlncons, USERNLNCON0 f, INITFCN i) | |
| NLF0 (int ndim, USERFCN0 f, INITFCN i, INITCONFCN c) | |
| NLF0 (int ndim, USERFCN0 f, INITFCN i, CompoundConstraint *constraint=0) | |
| NLF0 (int ndim, USERFCN0 f) | |
| NLF0 (int ndim) | |
| virtual void | reset () | 
| Reset parameter values.   | |
Static Protected Member Functions | |
| static void | f_helper (int n, const NEWMAT::ColumnVector &xc, real &f, int &result, void *v) | 
Protected Attributes | |
| USERNLNCON0 | confcn | 
| User-defined nonlinear constraints.   | |
| USERFCN0 | fcn | 
| User-defined objective function.   | |
| USERFCN0V | fcn_v | 
| User-defined objective function w/ void ptr.   | |
| INITCONFCN | init_confcn | 
| Initializes the constraints.   | |
| INITFCN | init_fcn | 
| Initializes the objective function.   | |
| bool | init_flag | 
| Has the function been initialized?   | |
| void * | vptr | 
| Void pointer.   | |
NLF0 is a derived class of NLP0, a nonlinear problem without analytic derivative information.
The NLF0 class implements function, finite-difference gradient, and finite-difference Hessian evaluators.
Definition at line 72 of file NLF.h.
| OPTPP::NLF0::NLF0 | ( | int | ndim, | |
| USERFCN0V | f, | |||
| INITFCN | i, | |||
| CompoundConstraint * |  constraint = 0,  | 
        |||
| void * |  v = 0 | |||
| ) |  [inline] | 
        
| virtual void OPTPP::NLF0::eval | ( | ) |  [virtual] | 
        
Evaluate the function, gradient, and Hessian.
Implements OPTPP::NLP0.
Reimplemented in OPTPP::NLF0APP.
| virtual NEWMAT::ColumnVector OPTPP::NLF0::evalCF | ( | const NEWMAT::ColumnVector & | x | ) |  [virtual] | 
        
| virtual real OPTPP::NLF0::evalF | ( | const NEWMAT::ColumnVector & | x | ) |  [virtual] | 
        
| virtual real OPTPP::NLF0::evalF | ( | ) |  [virtual] | 
        
| virtual NEWMAT::ColumnVector OPTPP::NLF0::evalG | ( | ) |  [virtual] | 
        
| virtual real OPTPP::NLF0::evalLagrangian | ( | const NEWMAT::ColumnVector & | x, | |
| NEWMAT::ColumnVector & | mult, | |||
| const NEWMAT::ColumnVector & | type | |||
| ) |  [virtual] | 
        
| virtual NEWMAT::ColumnVector OPTPP::NLF0::evalLagrangianGradient | ( | const NEWMAT::ColumnVector & | x, | |
| const NEWMAT::ColumnVector & | mult, | |||
| const NEWMAT::ColumnVector & | type | |||
| ) |  [virtual] | 
        
Evaluate the gradient of the Lagrangian at x.
Implements OPTPP::NLP0.
Reimplemented in OPTPP::NLF0APP.
| virtual void OPTPP::NLF0::initFcn | ( | ) |  [virtual] | 
        
| virtual void OPTPP::NLF0::reset | ( | ) |  [virtual] | 
        
USERNLNCON0 OPTPP::NLF0::confcn [protected] | 
        
User-defined nonlinear constraints.
Reimplemented in OPTPP::NLF0APP.
USERFCN0 OPTPP::NLF0::fcn [protected] | 
        
User-defined objective function.
Reimplemented in OPTPP::NLF0APP.
USERFCN0V OPTPP::NLF0::fcn_v [protected] | 
        
INITCONFCN OPTPP::NLF0::init_confcn [protected] | 
        
INITFCN OPTPP::NLF0::init_fcn [protected] | 
        
Initializes the objective function.
Reimplemented in OPTPP::NLF0APP.
bool OPTPP::NLF0::init_flag [protected] | 
        
Has the function been initialized?
Reimplemented in OPTPP::NLF0APP.
void* OPTPP::NLF0::vptr [protected] | 
        
 1.6.3