ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization Version of the Day
Public Member Functions
ConstrainedOptPack::MeritFuncNLPL1 Class Reference

The L1 merit function. More...

#include <ConstrainedOptPack_MeritFuncNLPL1.hpp>

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

List of all members.

Public Member Functions

 MeritFuncNLPL1 ()
 Initializes deriv() = 0 and mu() = 0.

Overridden from MeritFuncNLP

MeritFuncNLPoperator= (const MeritFuncNLP &)
 
value_type value (value_type f, const Vector *c, const Vector *h, const Vector *hl, const Vector *hu) const
 
value_type deriv () const
 
void print_merit_func (std::ostream &out, const std::string &leading_str) const
 

Overridden from MeritFuncNLPDirecDeriv

value_type calc_deriv (const Vector &Gf_k, const Vector *c_k, const Vector *h_k, const Vector *hl, const Vector *hu, const Vector &d_k)
 

Overridden from MeritFuncPenaltyParam

void mu (value_type mu)
 
value_type mu () const
 

Detailed Description

The L1 merit function.

phi(x) = f(x) + mu * norm(c(x),1)

Dphi(x_k,d_k) = Gf_k' * d_k - mu * norm(c_k,1)

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.

ToDo: Add a term for general inequalities hl <= h <= hu

Implicit copy constructor and assignment operators are allowed.

Definition at line 54 of file ConstrainedOptPack_MeritFuncNLPL1.hpp.


Constructor & Destructor Documentation

ConstrainedOptPack::MeritFuncNLPL1::MeritFuncNLPL1 ( )

Initializes deriv() = 0 and mu() = 0.

Definition at line 40 of file ConstrainedOptPack_MeritFuncNLPL1.cpp.


Member Function Documentation

MeritFuncNLP & ConstrainedOptPack::MeritFuncNLPL1::operator= ( const MeritFuncNLP merit_func) [virtual]

Reimplemented from ConstrainedOptPack::MeritFuncNLP.

Definition at line 46 of file ConstrainedOptPack_MeritFuncNLPL1.cpp.

value_type ConstrainedOptPack::MeritFuncNLPL1::value ( value_type  f,
const Vector c,
const Vector h,
const Vector hl,
const Vector hu 
) const [virtual]
value_type ConstrainedOptPack::MeritFuncNLPL1::deriv ( ) const [virtual]
void ConstrainedOptPack::MeritFuncNLPL1::print_merit_func ( std::ostream &  out,
const std::string &  leading_str 
) const [virtual]
value_type ConstrainedOptPack::MeritFuncNLPL1::calc_deriv ( const Vector Gf_k,
const Vector c_k,
const Vector h_k,
const Vector hl,
const Vector hu,
const Vector d_k 
) [virtual]
void ConstrainedOptPack::MeritFuncNLPL1::mu ( value_type  mu) [virtual]
value_type ConstrainedOptPack::MeritFuncNLPL1::mu ( ) const [virtual]

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