|
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. | |
| virtual value_type | deriv () const =0 |
| Return the derivative of the merit function at alpha = 0. | |
| virtual void | print_merit_func (std::ostream &out, const std::string &leading_str) const =0 |
| Print the particular merit function. | |
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.
| virtual ConstrainedOptPack::MeritFuncCalc1D::~MeritFuncCalc1D | ( | ) | [inline, virtual] |
Definition at line 60 of file ConstrainedOptPack_MeritFuncCalc1D.hpp.
| virtual value_type ConstrainedOptPack::MeritFuncCalc1D::operator() | ( | value_type | alpha | ) | const [pure virtual] |
Return the value of the merit function at alpha.
Implemented in ConstrainedOptPack::MeritFuncCalc1DQuadratic.
| virtual value_type ConstrainedOptPack::MeritFuncCalc1D::deriv | ( | ) | const [pure virtual] |
Return the derivative of the merit function at alpha = 0.
Implemented in ConstrainedOptPack::MeritFuncCalc1DQuadratic.
| virtual void ConstrainedOptPack::MeritFuncCalc1D::print_merit_func | ( | std::ostream & | out, |
| const std::string & | leading_str | ||
| ) | const [pure virtual] |
Print the particular merit function.
Implemented in ConstrainedOptPack::MeritFuncCalc1DQuadratic.
1.7.6.1