Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

OPTPP::FDNLF1APP Class Reference

#include <NLFAPP.h>

Inheritance diagram for OPTPP::FDNLF1APP:

OPTPP::FDNLF1 OPTPP::NLP1 OPTPP::NLP0 OPTPP::NLPBase List of all members.

Public Member Functions

 FDNLF1APP ()
 FDNLF1APP (int ndim)
 FDNLF1APP (int ndim, USERFCN0APP f, INITFCNAPP i, AppLauncher *launcher, CompoundConstraint *constraint=0)
 FDNLF1APP (int ndim, int nlncons, USERNLNCON0APP f, INITFCNAPP i)
 FDNLF1APP (int ndim, USERFCN0APP f, INITFCNAPP i, INITCONFCN c)
 FDNLF1APP (int ndim, int nlncons, USERNLNCON0APP f, INITFCNAPP i, AppLauncher *launcher)
virtual ~FDNLF1APP ()
virtual void reset ()
 Reset the parameter values.
virtual void initFcn ()
 Initialize function.
virtual void eval ()
 Evaluate everything.
virtual real evalF ()
 Evaluate f.
virtual real evalF (const NEWMAT::ColumnVector &x)
 Evaluate f at x.
virtual NEWMAT::ColumnVector evalG ()
 Evaluate gradient.
virtual NEWMAT::ColumnVector evalG (const NEWMAT::ColumnVector &x)
 Evaluate gradient at x.
virtual NEWMAT::SymmetricMatrix evalH ()
 Evaluate hessian.
NEWMAT::SymmetricMatrix FDHessian (NEWMAT::ColumnVector &x)
 Evaluate Hessian.
virtual void printState (char *)
 Print out current state: x, gradient, and function value to the screen.
virtual void fPrintState (ostream *, char *)
 Print out current state: x, gradient, and function value to a file.
virtual real evalLagrangian (const NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type)
 Evaluate the Lagrangian, its gradient and Hessian.
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 NEWMAT::ColumnVector evalCF (const NEWMAT::ColumnVector &x)
 Evaluate constraint at x.
virtual NEWMAT::Matrix evalCG (const NEWMAT::ColumnVector &x)
 Evaluate constraint gradient at x.

Protected Attributes

USERFCN0APP fcn
 User-defined objective function.
USERNLNCON0APP confcn
 User-defined nonlinear constraints.
INITFCNAPP init_fcn
 Initializes the objective function.
INITCONFCN init_confcn
 Initializes the constraints.
AppLauncherlauncher_
bool init_flag
 Has the function been initialized?

Private Member Functions

virtual NEWMAT::SymmetricMatrix evalH (NEWMAT::ColumnVector &x)
 Evaluate hessian 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)

Detailed Description

These classes and typedefs are used for Application Launching where an AppLauncher Object is also required so that the launcher specific data can be used for the function evaluation.


Constructor & Destructor Documentation

OPTPP::FDNLF1APP::FDNLF1APP  )  [inline]
 

OPTPP::FDNLF1APP::FDNLF1APP int  ndim  )  [inline]
 

OPTPP::FDNLF1APP::FDNLF1APP int  ndim,
USERFCN0APP  f,
INITFCNAPP  i,
AppLauncher launcher,
CompoundConstraint constraint = 0
[inline]
 

OPTPP::FDNLF1APP::FDNLF1APP int  ndim,
int  nlncons,
USERNLNCON0APP  f,
INITFCNAPP  i
[inline]
 

OPTPP::FDNLF1APP::FDNLF1APP int  ndim,
USERFCN0APP  f,
INITFCNAPP  i,
INITCONFCN  c
[inline]
 

OPTPP::FDNLF1APP::FDNLF1APP int  ndim,
int  nlncons,
USERNLNCON0APP  f,
INITFCNAPP  i,
AppLauncher launcher
[inline]
 

virtual OPTPP::FDNLF1APP::~FDNLF1APP  )  [inline, virtual]
 


Member Function Documentation

void OPTPP::FDNLF1APP::eval  )  [virtual]
 

Evaluate everything.

Reimplemented from OPTPP::FDNLF1.

virtual void OPTPP::FDNLF1APP::evalC const NEWMAT::ColumnVector &  x  )  [private, virtual]
 

Reimplemented from OPTPP::FDNLF1.

ColumnVector OPTPP::FDNLF1APP::evalCF const NEWMAT::ColumnVector &  x  )  [virtual]
 

Evaluate constraint at x.

Reimplemented from OPTPP::FDNLF1.

Matrix OPTPP::FDNLF1APP::evalCG const NEWMAT::ColumnVector &  x  )  [virtual]
 

Evaluate constraint gradient at x.

Reimplemented from OPTPP::FDNLF1.

OptppArray< SymmetricMatrix > OPTPP::FDNLF1APP::evalCH NEWMAT::ColumnVector &  x,
int  darg
[private, virtual]
 

Evaluate constraint hessian at x.

Reimplemented from OPTPP::FDNLF1.

SymmetricMatrix OPTPP::FDNLF1APP::evalCH NEWMAT::ColumnVector &  x  )  [private, virtual]
 

Evaluate constraint hessian at x.

Reimplemented from OPTPP::FDNLF1.

double OPTPP::FDNLF1APP::evalF const NEWMAT::ColumnVector &  x  )  [virtual]
 

Evaluate f at x.

Reimplemented from OPTPP::FDNLF1.

double OPTPP::FDNLF1APP::evalF  )  [virtual]
 

Evaluate f.

Reimplemented from OPTPP::FDNLF1.

ColumnVector OPTPP::FDNLF1APP::evalG const NEWMAT::ColumnVector &  x  )  [virtual]
 

Evaluate gradient at x.

Reimplemented from OPTPP::FDNLF1.

ColumnVector OPTPP::FDNLF1APP::evalG  )  [virtual]
 

Evaluate gradient.

Reimplemented from OPTPP::FDNLF1.

SymmetricMatrix OPTPP::FDNLF1APP::evalH NEWMAT::ColumnVector &  x  )  [private, virtual]
 

Evaluate hessian at x.

Reimplemented from OPTPP::FDNLF1.

SymmetricMatrix OPTPP::FDNLF1APP::evalH  )  [virtual]
 

Evaluate hessian.

Reimplemented from OPTPP::FDNLF1.

real OPTPP::FDNLF1APP::evalLagrangian const NEWMAT::ColumnVector &  x,
NEWMAT::ColumnVector &  mult,
const NEWMAT::ColumnVector &  type
[virtual]
 

Evaluate the Lagrangian, its gradient and Hessian.

Reimplemented from OPTPP::FDNLF1.

ColumnVector OPTPP::FDNLF1APP::evalLagrangianGradient const NEWMAT::ColumnVector &  x,
const NEWMAT::ColumnVector &  mult,
const NEWMAT::ColumnVector &  type
[virtual]
 

Evaluate the gradient of the Lagrangian at x.

Reimplemented from OPTPP::FDNLF1.

SymmetricMatrix OPTPP::FDNLF1APP::FDHessian NEWMAT::ColumnVector &  x  )  [virtual]
 

Evaluate Hessian.

Reimplemented from OPTPP::FDNLF1.

void OPTPP::FDNLF1APP::fPrintState ostream *  ,
char * 
[virtual]
 

Print out current state: x, gradient, and function value to a file.

Reimplemented from OPTPP::FDNLF1.

void OPTPP::FDNLF1APP::initFcn  )  [virtual]
 

Initialize function.

Reimplemented from OPTPP::FDNLF1.

void OPTPP::FDNLF1APP::printState char *   )  [virtual]
 

Print out current state: x, gradient, and function value to the screen.

Reimplemented from OPTPP::FDNLF1.

void OPTPP::FDNLF1APP::reset  )  [virtual]
 

Reset the parameter values.

Reimplemented from OPTPP::FDNLF1.


Member Data Documentation

USERNLNCON0APP OPTPP::FDNLF1APP::confcn [protected]
 

User-defined nonlinear constraints.

Reimplemented from OPTPP::FDNLF1.

USERFCN0APP OPTPP::FDNLF1APP::fcn [protected]
 

User-defined objective function.

Reimplemented from OPTPP::FDNLF1.

INITCONFCN OPTPP::FDNLF1APP::init_confcn [protected]
 

Initializes the constraints.

Reimplemented from OPTPP::FDNLF1.

INITFCNAPP OPTPP::FDNLF1APP::init_fcn [protected]
 

Initializes the objective function.

Reimplemented from OPTPP::FDNLF1.

bool OPTPP::FDNLF1APP::init_flag [protected]
 

Has the function been initialized?

Reimplemented from OPTPP::FDNLF1.

AppLauncher* OPTPP::FDNLF1APP::launcher_ [protected]
 


The documentation for this class was generated from the following files:
Bug Reports    OPT++ Developers    Copyright Information    GNU Lesser General Public License
Documentation, generated by , last revised August 30, 2006.