42 #ifndef MERIT_FUNC_NLE_H
43 #define MERIT_FUNC_NLE_H
47 #include "ConstrainedOptPack_Types.hpp"
49 namespace ConstrainedOptPack {
71 virtual value_type
value(
const Vector& c)
const = 0;
81 virtual value_type
deriv()
const = 0;
86 ,
const std::string& leading_str)
const = 0;
92 #endif // MERIT_FUNC_NLE_H
Base class for all merit functions for systems of NonLinear Equations (NLE) {abstract}.
virtual void print_merit_func(std::ostream &out, const std::string &leading_str) const =0
Print the merit funciton.
virtual value_type value(const Vector &c) const =0
Return the value of the merit function at c(x). This interface requires the client to compute c(x) an...
virtual value_type deriv() const =0
Return the value of the directional derivative of the merit function w.r.t. alpha at alpha = 0...