42 #ifndef MERIT_FUNC_PENALTY_PARAMS_H
43 #define MERIT_FUNC_PENALTY_PARAMS_H
48 namespace ConstrainedOptPack {
58 {
public:
CanNotResize(
const std::string& what_arg) : std::logic_error(what_arg) {}};
68 virtual void set_space_c(
const VectorSpace::space_ptr_t& space_c ) = 0;
71 virtual VectorMutable&
set_mu() = 0;
74 virtual const Vector&
get_mu()
const = 0;
82 #endif // MERIT_FUNC_PENALTY_PARAMS_H
virtual void set_space_c(const VectorSpace::space_ptr_t &space_c)=0
Set the vector space for to use for the penalty parameters.
CanNotResize(const std::string &what_arg)
This class provides interface for setting and retrieving a penalty parameter that many merit function...
virtual const Vector & get_mu() const =0
Get the vector of penalty parameters for viewing them.
virtual VectorMutable & set_mu()=0
Get the vector of penalty parameters for setting them.
virtual ~MeritFuncPenaltyParams()