OPTPP::NLF0APP Class Reference

#include <NLFAPP.h>

Inheritance diagram for OPTPP::NLF0APP:

OPTPP::NLF0 OPTPP::NLP0 OPTPP::NLPBase List of all members.

Public Member Functions

 NLF0APP ()
 NLF0APP (int ndim)
 NLF0APP (int ndim, USERFCN0APP f)
 NLF0APP (int ndim, USERFCN0APP f, INITFCNAPP i, AppLauncher *launcher, CompoundConstraint *constraint=0)
 NLF0APP (int ndim, USERFCN0APP f, INITFCNAPP i, INITCONFCN c)
 NLF0APP (int ndim, int nlncons, USERNLNCON0APP f, INITFCNAPP i, AppLauncher *launcher)
virtual ~NLF0APP ()
virtual void reset ()
 Reset the parameter values.
virtual void initFcn ()
 Initialize selected function.
virtual void eval ()
 Evaluate objective function, gradient, and Hessian.
virtual real evalF ()
 Evaluate objective function.
virtual real evalF (const NEWMAT::ColumnVector &x)
 Evaluate objective function at x.
virtual NEWMAT::ColumnVector evalCF (const NEWMAT::ColumnVector &x)
 Evaluate the nonlinear constraints at x.
virtual NEWMAT::ColumnVector evalG ()
 Evaluate the 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.

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_
 holds info for Launching a black box application
bool init_flag
 Has the function been initialized?

Private Member Functions

virtual NEWMAT::ColumnVector evalG (const NEWMAT::ColumnVector &x)
 Evaluate gradient at x.
virtual NEWMAT::SymmetricMatrix evalH ()
 Evaluate the Hessian.
virtual NEWMAT::SymmetricMatrix evalH (NEWMAT::ColumnVector &x)
 Evaluate the Hessian at x.
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)

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::NLF0APP::NLF0APP (  )  [inline]

OPTPP::NLF0APP::NLF0APP ( int  ndim  )  [inline]

OPTPP::NLF0APP::NLF0APP ( int  ndim,
USERFCN0APP  f 
) [inline]

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

OPTPP::NLF0APP::NLF0APP ( int  ndim,
USERFCN0APP  f,
INITFCNAPP  i,
INITCONFCN  c 
) [inline]

OPTPP::NLF0APP::NLF0APP ( int  ndim,
int  nlncons,
USERNLNCON0APP  f,
INITFCNAPP  i,
AppLauncher launcher 
) [inline]

virtual OPTPP::NLF0APP::~NLF0APP (  )  [inline, virtual]


Member Function Documentation

void OPTPP::NLF0APP::eval (  )  [virtual]

Evaluate objective function, gradient, and Hessian.

Reimplemented from OPTPP::NLF0.

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

Reimplemented from OPTPP::NLF0.

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

Evaluate the nonlinear constraints at x.

Reimplemented from OPTPP::NLF0.

virtual NEWMAT::Matrix OPTPP::NLF0APP::evalCG ( const NEWMAT::ColumnVector &  x  )  [private, virtual]

Evaluate the constraint gradient at x.

Reimplemented from OPTPP::NLF0.

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

Evaluate constraint hessian at x.

Reimplemented from OPTPP::NLF0.

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

Evaluate constraint hessian at x.

Reimplemented from OPTPP::NLF0.

virtual real OPTPP::NLF0APP::evalF ( const NEWMAT::ColumnVector &  x  )  [virtual]

Evaluate objective function at x.

Reimplemented from OPTPP::NLF0.

double OPTPP::NLF0APP::evalF (  )  [virtual]

Evaluate objective function.

Reimplemented from OPTPP::NLF0.

virtual NEWMAT::ColumnVector OPTPP::NLF0APP::evalG ( const NEWMAT::ColumnVector &  x  )  [private, virtual]

Evaluate gradient at x.

Reimplemented from OPTPP::NLF0.

ColumnVector OPTPP::NLF0APP::evalG (  )  [virtual]

Evaluate the finite-difference gradient.

Reimplemented from OPTPP::NLF0.

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

Evaluate the Hessian at x.

Reimplemented from OPTPP::NLF0.

SymmetricMatrix OPTPP::NLF0APP::evalH (  )  [private, virtual]

Evaluate the Hessian.

Reimplemented from OPTPP::NLF0.

virtual real OPTPP::NLF0APP::evalLagrangian ( const NEWMAT::ColumnVector &  x,
NEWMAT::ColumnVector &  mult,
const NEWMAT::ColumnVector &  type 
) [virtual]

Evaluate the Lagrangian at x.

Reimplemented from OPTPP::NLF0.

virtual NEWMAT::ColumnVector OPTPP::NLF0APP::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::NLF0.

void OPTPP::NLF0APP::initFcn (  )  [virtual]

Initialize selected function.

Reimplemented from OPTPP::NLF0.

void OPTPP::NLF0APP::reset (  )  [virtual]

Reset the parameter values.

Reimplemented from OPTPP::NLF0.


Member Data Documentation

USERNLNCON0APP OPTPP::NLF0APP::confcn [protected]

User-defined nonlinear constraints.

Reimplemented from OPTPP::NLF0.

USERFCN0APP OPTPP::NLF0APP::fcn [protected]

User-defined objective function.

Reimplemented from OPTPP::NLF0.

INITCONFCN OPTPP::NLF0APP::init_confcn [protected]

Initializes the constraints.

Reimplemented from OPTPP::NLF0.

INITFCNAPP OPTPP::NLF0APP::init_fcn [protected]

Initializes the objective function.

Reimplemented from OPTPP::NLF0.

bool OPTPP::NLF0APP::init_flag [protected]

Has the function been initialized?

Reimplemented from OPTPP::NLF0.

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

holds info for Launching a black box application


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.