ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization
Version of the Day
|
Base class for all merit functions for systems of NonLinear Equations (NLE) {abstract}. More...
#include <ConstrainedOptPack_MeritFuncNLE.hpp>
Classes | |
class | InvalidInitialization |
Public Member Functions | |
virtual | ~MeritFuncNLE () |
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) and pass it to this function to have the value of phi(c) calculated. More... | |
virtual value_type | deriv () const =0 |
Return the value of the directional derivative of the merit function w.r.t. alpha at alpha = 0 . In other words compute return d(phi(c(x)))/d(alpha_k) at alpha_k = 0 where x = x_k + alpha_k * d_k . More... | |
virtual void | print_merit_func (std::ostream &out, const std::string &leading_str) const =0 |
Print the merit funciton. More... | |
Base class for all merit functions for systems of NonLinear Equations (NLE) {abstract}.
Definition at line 53 of file ConstrainedOptPack_MeritFuncNLE.hpp.
|
inlinevirtual |
Definition at line 61 of file ConstrainedOptPack_MeritFuncNLE.hpp.
|
pure virtual |
Return the value of the merit function at c(x)
. This interface requires the client to compute c(x)
and pass it to this function to have the value of phi(c) calculated.
If the merit function has not been initialized properly then a InvalidInitialization
exception will be thrown.
Implemented in ConstrainedOptPack::MeritFuncNLESqrResid.
|
pure virtual |
Return the value of the directional derivative of the merit function w.r.t. alpha
at alpha = 0
. In other words compute return d(phi(c(x)))/d(alpha_k)
at alpha_k = 0
where x = x_k + alpha_k * d_k
.
If the merit function has not been initialized properly then a InvalidInitialization
exception will be thrown.
Implemented in ConstrainedOptPack::MeritFuncNLESqrResid.
|
pure virtual |
Print the merit funciton.
Implemented in ConstrainedOptPack::MeritFuncNLESqrResid.