MOOCHO (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Attributes
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
 

Private Attributes

value_type deriv_

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

Member Data Documentation

Definition at line 73 of file ConstrainedOptPack_MeritFuncNLESqrResid.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines