42 #ifndef MERIT_FUNC_NLP_MOD_L1_H
43 #define MERIT_FUNC_NLP_MOD_L1_H
49 namespace ConstrainedOptPack {
92 std::ostream&
out,
const std::string& leading_str )
const;
119 void set_space_c(
const VectorSpace::space_ptr_t& space_c );
125 const Vector&
get_mu()
const;
131 VectorSpace::vec_mut_ptr_t
mu_;
137 #endif // MERIT_FUNC_NLP_MOD_L1_H
Base class for all merit functions for NonLinear Programs (NLP) {abstract}.
This class provides interface for setting and retrieving a penalty parameter that many merit function...
const Vector & get_mu() const
void print_merit_func(std::ostream &out, const std::string &leading_str) const
The modified L1 merit function using different penatly parameters for each constriant.
This class provides a mix-in interface for allowing subclass merit functions to compute the direction...
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)
If the value n passed to resize(n) does not equal the size of the vector parameters then an exception...
value_type value(value_type f, const Vector *c, const Vector *h, const Vector *hl, const Vector *hu) const
void set_space_c(const VectorSpace::space_ptr_t &space_c)
MeritFuncNLPModL1()
Initializes deriv() = 0 and mu() = 0.
VectorSpace::vec_mut_ptr_t mu_
AbstractLinAlgPack::value_type value_type