ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization
Version of the Day
|
A merit function for the square of the constriant values. More...
#include <ConstrainedOptPack_MeritFuncNLESqrResid.hpp>
Public Member Functions | |
MeritFuncNLESqrResid () | |
Initializes deriv() = 0. More... | |
value_type | calc_deriv (const Vector &c_k) |
value_type | value (const Vector &c) const |
value_type | deriv () const |
void | print_merit_func (std::ostream &out, const std::string &leading_str) const |
Public Member Functions inherited from ConstrainedOptPack::MeritFuncNLE | |
virtual | ~MeritFuncNLE () |
A merit function for the square of the constriant values.
phi(x) = 1/2 * c(x)'*c(x)
Dphi(x_k,d_k) = - c(x)'*c(x)
Note that the definition of Dphi(x_k,d_k) assumes that Gc_k'*d_k + c_k = 0. In otherwords, d_k must satisfiy the linearized equality constraints at at x_k.
Implicit copy constructor and assignment operators are allowed.
Definition at line 63 of file ConstrainedOptPack_MeritFuncNLESqrResid.hpp.
ConstrainedOptPack::MeritFuncNLESqrResid::MeritFuncNLESqrResid | ( | ) |
Initializes deriv() = 0.
Definition at line 47 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.
value_type ConstrainedOptPack::MeritFuncNLESqrResid::calc_deriv | ( | const Vector & | c_k | ) |
Definition at line 51 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.
|
virtual |
Implements ConstrainedOptPack::MeritFuncNLE.
Definition at line 59 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.
|
virtual |
Implements ConstrainedOptPack::MeritFuncNLE.
Definition at line 65 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.
|
virtual |
Implements ConstrainedOptPack::MeritFuncNLE.
Definition at line 70 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.