MOOCHO (Single Doxygen Collection)
Version of the Day
|
Adds the ability to compute phi(f(x),c(x),h(x))
at x
directly instead of having to compute f, c and h first. This class uses an aggregate NLP to perform the computations of f(x) c(x) and h(x).
More...
#include <ConstrainedOptPack_MeritFuncCalcNLP.hpp>
Constructors/initializers | |
MeritFuncCalcNLP (const MeritFuncNLP *phi=0, const NLP *nlp=0) | |
<<std aggr>="">> stereotype members for phi. More... | |
Overridden from MeritFuncCalc | |
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... | |
Additional Inherited Members | |
Public Member Functions inherited from ConstrainedOptPack::MeritFuncCalc | |
virtual | ~MeritFuncCalc () |
Adds the ability to compute phi(f(x),c(x),h(x))
at x
directly instead of having to compute f, c and h first. This class uses an aggregate NLP to perform the computations of f(x) c(x) and h(x).
Definition at line 56 of file ConstrainedOptPack_MeritFuncCalcNLP.hpp.
ConstrainedOptPack::MeritFuncCalcNLP::MeritFuncCalcNLP | ( | const MeritFuncNLP * | 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_MeritFuncCalcNLP.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_MeritFuncCalcNLP.cpp.
|
virtual |
Calls phi().deriv() on phi.
Implements ConstrainedOptPack::MeritFuncCalc.
Definition at line 78 of file ConstrainedOptPack_MeritFuncCalcNLP.cpp.
|
virtual |
Calls phi().print_merit_func()
.
Implements ConstrainedOptPack::MeritFuncCalc.
Definition at line 82 of file ConstrainedOptPack_MeritFuncCalcNLP.cpp.