MOOCHO (Single Doxygen Collection)
Version of the Day
|
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>
Public Member Functions | |
MeritFuncCalcNLE (const MeritFuncNLE *phi=0, const NLP *nlp=0) | |
<<std aggr>="">> stereotype members for phi. More... | |
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. More... | |
value_type | deriv () const |
Calls phi().deriv() on phi. More... | |
void | print_merit_func (std::ostream &out, const std::string &leading_str) const |
Calls phi().print_merit_func(....). More... | |
Public Member Functions inherited from ConstrainedOptPack::MeritFuncCalc | |
virtual | ~MeritFuncCalc () |
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 55 of file ConstrainedOptPack_MeritFuncCalcNLE.hpp.
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 47 of file ConstrainedOptPack_MeritFuncCalcNLE.cpp.
|
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 51 of file ConstrainedOptPack_MeritFuncCalcNLE.cpp.
|
virtual |
Calls phi().deriv() on phi.
Implements ConstrainedOptPack::MeritFuncCalc.
Definition at line 56 of file ConstrainedOptPack_MeritFuncCalcNLE.cpp.
|
virtual |
Calls phi().print_merit_func(....).
Implements ConstrainedOptPack::MeritFuncCalc.
Definition at line 60 of file ConstrainedOptPack_MeritFuncCalcNLE.cpp.