#include <ConstrainedOptPack_MeritFuncNLP.hpp>
Inheritance diagram for ConstrainedOptPack::MeritFuncNLP:
To be overridden by subclasses | |
| virtual MeritFuncNLP & | operator= (const MeritFuncNLP &) |
| Assign the state of one Merit functions. | |
| virtual value_type | value (value_type f, const Vector *c, const Vector *h, const Vector *hl, const Vector *hu) const =0 |
| Return the value of the merit function at f(x), c(x), h(x). This interface requires the client to compute f(x) c(x) and h(x) and pass it to this function to have the value of phi(f,c,h,hl,hu) 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(f(x),c(x),h(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. | |
Public Member Functions | |
| virtual | ~MeritFuncNLP () |
| | |
Definition at line 40 of file ConstrainedOptPack_MeritFuncNLP.hpp.
|
|
Definition at line 48 of file ConstrainedOptPack_MeritFuncNLP.hpp. |
|
|
Assign the state of one Merit functions.
The default implementation throws an Reimplemented in ConstrainedOptPack::MeritFuncNLPL1. Definition at line 36 of file ConstrainedOptPack_MeritFuncNLP.cpp. |
|
||||||||||||||||||||||||
|
Return the value of the merit function at f(x), c(x), h(x). This interface requires the client to compute f(x) c(x) and h(x) and pass it to this function to have the value of phi(f,c,h,hl,hu) calculated.
If the merit function has not been initialized properly then a Implemented in ConstrainedOptPack::MeritFuncNLPL1, and ConstrainedOptPack::MeritFuncNLPModL1. |
|
|
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(f(x),c(x),h(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 Implemented in ConstrainedOptPack::MeritFuncNLPL1, and ConstrainedOptPack::MeritFuncNLPModL1. |
|
||||||||||||
|
Print the merit funciton.
Implemented in ConstrainedOptPack::MeritFuncNLPL1, and ConstrainedOptPack::MeritFuncNLPModL1. |
1.3.9.1