42 #ifndef MERIT_FUNC_NLP_H
43 #define MERIT_FUNC_NLP_H
49 namespace ConstrainedOptPack {
102 std::ostream&
out,
const std::string& leading_str )
const = 0;
110 #endif // MERIT_FUNC_NLP_H
InvalidInitialization(const std::string &what_arg)
Base class for all merit functions for NonLinear Programs (NLP) {abstract}.
virtual value_type value(value_type f, const Vector *c, const Vector *h, const Vector *hl, const Vector *hu) const =0
Return the value of the merit function at f(x), c(x), h(x). This interface requires the client to com...
virtual value_type deriv() const =0
Return the value of the directional derivative of the merit function w.r.t. alpha at alpha = 0...
AbstractLinAlgPack::value_type value_type
virtual void print_merit_func(std::ostream &out, const std::string &leading_str) const =0
Print the merit funciton.
virtual MeritFuncNLP & operator=(const MeritFuncNLP &)
Assign the state of one Merit functions.