ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization
Version of the Day
|
Abstracts a 1D merit function {abstract}. More...
#include <ConstrainedOptPack_MeritFuncCalc1D.hpp>
Public Member Functions | |
virtual | ~MeritFuncCalc1D () |
virtual value_type | operator() (value_type alpha) const =0 |
Return the value of the merit function at alpha. More... | |
virtual value_type | deriv () const =0 |
Return the derivative of the merit function at alpha = 0. More... | |
virtual void | print_merit_func (std::ostream &out, const std::string &leading_str) const =0 |
Print the particular merit function. More... | |
Abstracts a 1D merit function {abstract}.
This is the interface that line search algorithms use to compute the value of the merit function at alpha (phi(alpha)) and to retrieve the initial descent derivative of the merit function (using deriv()
).
Definition at line 56 of file ConstrainedOptPack_MeritFuncCalc1D.hpp.
|
inlinevirtual |
Definition at line 60 of file ConstrainedOptPack_MeritFuncCalc1D.hpp.
|
pure virtual |
Return the value of the merit function at alpha.
Implemented in ConstrainedOptPack::MeritFuncCalc1DQuadratic.
|
pure virtual |
Return the derivative of the merit function at alpha = 0.
Implemented in ConstrainedOptPack::MeritFuncCalc1DQuadratic.
|
pure virtual |
Print the particular merit function.
Implemented in ConstrainedOptPack::MeritFuncCalc1DQuadratic.