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]
List of all members.

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
 

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 50 of file ConstrainedOptPack_MeritFuncNLESqrResid.hpp.


Constructor & Destructor Documentation

ConstrainedOptPack::MeritFuncNLESqrResid::MeritFuncNLESqrResid (  ) 

Initializes deriv() = 0.

Definition at line 34 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.


Member Function Documentation

value_type ConstrainedOptPack::MeritFuncNLESqrResid::calc_deriv ( const Vector &  c_k  ) 

Definition at line 38 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.

value_type ConstrainedOptPack::MeritFuncNLESqrResid::value ( const Vector &  c  )  const [virtual]

Implements ConstrainedOptPack::MeritFuncNLE.

Definition at line 46 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.

value_type ConstrainedOptPack::MeritFuncNLESqrResid::deriv (  )  const [virtual]

Implements ConstrainedOptPack::MeritFuncNLE.

Definition at line 52 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 57 of file ConstrainedOptPack_MeritFuncNLESqrResid.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:29:25 2010 for ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization by  doxygen 1.4.7