42 #ifndef MERIT_FUNC_CALC_NLP_H
43 #define MERIT_FUNC_CALC_NLP_H
49 namespace ConstrainedOptPack {
86 std::ostream&
out,
const std::string& leading_str )
const;
94 #endif // MERIT_FUNC_CALC_NLP_H
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...
Base class for all merit functions for NonLinear Programs (NLP) {abstract}.
Adds the ability to compute phi(f(x),c(x),h(x)) at x directly instead of having to compute f...
value_type deriv() const
Calls phi().deriv() on phi.
Abstract iterface for n-D merit functions {abstract}.
#define STANDARD_CONST_AGGREGATION_MEMBERS(TYPE, NAME)
Insert class members for a constant association.
AbstractLinAlgPack::value_type value_type
MeritFuncCalcNLP(const MeritFuncNLP *phi=0, const NLP *nlp=0)
<<std aggr>="">> stereotype members for phi.
void print_merit_func(std::ostream &out, const std::string &leading_str) const
Calls phi().print_merit_func().