ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
ConstrainedOptPack::MeritFuncNLESqrResid Class Reference

A merit function for the square of the constriant values. More...

#include <ConstrainedOptPack_MeritFuncNLESqrResid.hpp>

Inheritance diagram for ConstrainedOptPack::MeritFuncNLESqrResid:
Inheritance graph
[legend]

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

ConstrainedOptPack::MeritFuncNLESqrResid::MeritFuncNLESqrResid ( )

Initializes deriv() = 0.

Definition at line 47 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.

Member Function Documentation

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
value_type ConstrainedOptPack::MeritFuncNLESqrResid::deriv ( ) const
virtual
void ConstrainedOptPack::MeritFuncNLESqrResid::print_merit_func ( std::ostream &  out,
const std::string &  leading_str 
) const
virtual

The documentation for this class was generated from the following files: