ConstrainedOptPack::MeritFuncNLE Class Reference

Base class for all merit functions for systems of NonLinear Equations (NLE) {abstract}. More...

#include <ConstrainedOptPack_MeritFuncNLE.hpp>

Inheritance diagram for ConstrainedOptPack::MeritFuncNLE:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~MeritFuncNLE ()
 
virtual value_type value (const Vector &c) const =0
 Return the value of the merit function at c(x). This interface requires the client to compute c(x) and pass it to this function to have the value of phi(c) calculated.
virtual value_type deriv () const =0
 Return the value of the directional derivative of the merit function w.r.t. alpha at alpha = 0. In other words compute return d(phi(c(x)))/d(alpha_k) at alpha_k = 0 where x = x_k + alpha_k * d_k.
virtual void print_merit_func (std::ostream &out, const std::string &leading_str) const =0
 Print the merit funciton.

Classes

class  InvalidInitialization
  More...

Detailed Description

Base class for all merit functions for systems of NonLinear Equations (NLE) {abstract}.

Definition at line 40 of file ConstrainedOptPack_MeritFuncNLE.hpp.


Constructor & Destructor Documentation

virtual ConstrainedOptPack::MeritFuncNLE::~MeritFuncNLE (  )  [inline, virtual]

Definition at line 48 of file ConstrainedOptPack_MeritFuncNLE.hpp.


Member Function Documentation

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

Return the value of the merit function at c(x). This interface requires the client to compute c(x) and pass it to this function to have the value of phi(c) calculated.

If the merit function has not been initialized properly then a InvalidInitialization exception will be thrown.

Implemented in ConstrainedOptPack::MeritFuncNLESqrResid.

virtual value_type ConstrainedOptPack::MeritFuncNLE::deriv (  )  const [pure virtual]

Return the value of the directional derivative of the merit function w.r.t. alpha at alpha = 0. In other words compute return d(phi(c(x)))/d(alpha_k) at alpha_k = 0 where x = x_k + alpha_k * d_k.

If the merit function has not been initialized properly then a InvalidInitialization exception will be thrown.

Implemented in ConstrainedOptPack::MeritFuncNLESqrResid.

virtual void ConstrainedOptPack::MeritFuncNLE::print_merit_func ( std::ostream &  out,
const std::string &  leading_str 
) const [pure virtual]

Print the merit funciton.

Implemented in ConstrainedOptPack::MeritFuncNLESqrResid.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:51:12 2010 for ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization by  doxygen 1.4.7