42 #ifndef MERIT_FUNC_CALC_NLE_H
43 #define MERIT_FUNC_CALC_NLE_H
45 #include "ConstrainedOptPack_MeritFuncCalc.hpp"
46 #include "ConstrainedOptPack_MeritFuncNLE.hpp"
47 #include "StandardAggregationMacros.hpp"
49 namespace ConstrainedOptPack {
76 value_type
deriv()
const;
80 ,
const std::string& leading_str)
const;
86 #endif // MERIT_FUNC_CALC_NLE_H
Base class for all merit functions for systems of NonLinear Equations (NLE) {abstract}.
Abstract iterface for n-D merit functions {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...
#define STANDARD_CONST_AGGREGATION_MEMBERS(TYPE, NAME)
Adds the ability to compute phi(c(x)) at x directly instead of having to compute c first...
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(....).