ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization
Version of the Day
|
Abstract iterface for n-D merit functions {abstract}. More...
#include <ConstrainedOptPack_MeritFuncCalc.hpp>
Public Member Functions | |
virtual | ~MeritFuncCalc () |
virtual value_type | operator() (const Vector &x) const =0 |
Return the value of the merit function at x. More... | |
virtual value_type | deriv () const =0 |
Calls value(d_k) on aggregate merit_func. More... | |
virtual void | print_merit_func (std::ostream &out, const std::string &leading_str) const =0 |
Print what this merit function is. More... | |
Abstract iterface for n-D merit functions {abstract}.
Used to compute the value of the merit at a point x (phi(x)
) and to retrieve the derivative (phi.deriv()
) along some direction d from some base point xo.
Definition at line 55 of file ConstrainedOptPack_MeritFuncCalc.hpp.
|
inlinevirtual |
Definition at line 59 of file ConstrainedOptPack_MeritFuncCalc.hpp.
|
pure virtual |
Return the value of the merit function at x.
Implemented in ConstrainedOptPack::MeritFuncCalcNLP, and ConstrainedOptPack::MeritFuncCalcNLE.
|
pure virtual |
Calls value(d_k) on aggregate merit_func.
Implemented in ConstrainedOptPack::MeritFuncCalcNLP, and ConstrainedOptPack::MeritFuncCalcNLE.
|
pure virtual |
Print what this merit function is.
Implemented in ConstrainedOptPack::MeritFuncCalcNLP, and ConstrainedOptPack::MeritFuncCalcNLE.