|
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. | |
| 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 |
| | |
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.
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.
| value_type ConstrainedOptPack::MeritFuncNLESqrResid::value | ( | const Vector & | c | ) | const [virtual] |
Implements ConstrainedOptPack::MeritFuncNLE.
Definition at line 59 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.
| value_type ConstrainedOptPack::MeritFuncNLESqrResid::deriv | ( | ) | const [virtual] |
Implements ConstrainedOptPack::MeritFuncNLE.
Definition at line 65 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.
| void ConstrainedOptPack::MeritFuncNLESqrResid::print_merit_func | ( | std::ostream & | out, |
| const std::string & | leading_str | ||
| ) | const [virtual] |
Implements ConstrainedOptPack::MeritFuncNLE.
Definition at line 70 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.
1.7.6.1