ConstrainedOptPack::MeritFuncCalcNLE Class Reference

Adds the ability to compute phi(c(x)) at x directly instead of having to compute c first. This class uses an aggregate NLP to perform the computations of c(x). More...

#include <ConstrainedOptPack_MeritFuncCalcNLE.hpp>

Inheritance diagram for ConstrainedOptPack::MeritFuncCalcNLE:

[legend]
List of all members.

Public Member Functions

 MeritFuncCalcNLE (const MeritFuncNLE *phi=0, const NLP *nlp=0)
 <<std aggr="">> stereotype members for phi. <<std aggr="">> stereotype members for nlp. .
value_type operator() (const Vector &x) const
 Return the value of the merit function at x. Here phi(x) is calculated directly using the nlp.
value_type deriv () const
 Calls phi().deriv() on phi.
void print_merit_func (std::ostream &out, const std::string &leading_str) const
 Calls phi().print_merit_func(....).

Detailed Description

Adds the ability to compute phi(c(x)) at x directly instead of having to compute c first. This class uses an aggregate NLP to perform the computations of c(x).

Definition at line 42 of file ConstrainedOptPack_MeritFuncCalcNLE.hpp.


Constructor & Destructor Documentation

ConstrainedOptPack::MeritFuncCalcNLE::MeritFuncCalcNLE const MeritFuncNLE phi = 0,
const NLP *  nlp = 0
 

<<std aggr="">> stereotype members for phi. <<std aggr="">> stereotype members for nlp. .

Definition at line 34 of file ConstrainedOptPack_MeritFuncCalcNLE.cpp.


Member Function Documentation

value_type ConstrainedOptPack::MeritFuncCalcNLE::operator() const Vector &  x  )  const [virtual]
 

Return the value of the merit function at x. Here phi(x) is calculated directly using the nlp.

Implements ConstrainedOptPack::MeritFuncCalc.

Definition at line 38 of file ConstrainedOptPack_MeritFuncCalcNLE.cpp.

value_type ConstrainedOptPack::MeritFuncCalcNLE::deriv  )  const [virtual]
 

Calls phi().deriv() on phi.

Implements ConstrainedOptPack::MeritFuncCalc.

Definition at line 43 of file ConstrainedOptPack_MeritFuncCalcNLE.cpp.

void ConstrainedOptPack::MeritFuncCalcNLE::print_merit_func std::ostream &  out,
const std::string &  leading_str
const [virtual]
 

Calls phi().print_merit_func(....).

Implements ConstrainedOptPack::MeritFuncCalc.

Definition at line 47 of file ConstrainedOptPack_MeritFuncCalcNLE.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:36:14 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1