42 #include "ConstrainedOptPack_MeritFuncCalcNLE.hpp"
43 #include "DenseLinAlgPack_DVectorClass.hpp"
45 namespace ConstrainedOptPack {
48 : phi_(phi), nlp_(nlp)
53 return phi().value( nlp().c() );
61 ,
const std::string& L)
const
63 out << L <<
"*** MeritFuncCalcNLE\n"
65 phi().print_merit_func(out,L);
Base class for all merit functions for systems of NonLinear Equations (NLE) {abstract}.
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...
MeritFuncCalcNLE(const MeritFuncNLE *phi=0, const NLP *nlp=0)
<<std aggr>="">> stereotype members for phi.
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(....).