template<typename Method, typename Objective, bool Applicable> class LinearEqualityTrait; More...
Static Public Member Functions | |
static void | UpdateConstraints (Objective *objective, OPTPP::OptppArray< OPTPP::Constraint > *constraint_array) |
static void | UpdateConstraints (Objective *objective, OPTPP::OptppArray< OPTPP::Constraint > *constraint_array) |
template<typename Method, typename Objective, bool Applicable> class LinearEqualityTrait;
, true> template<typename Method, typename Objective> class LinearEqualityTrait<Method, Objective, true>
This trait is usefull for handling linear equalities
When linear equalities are applicable then it updates the constraints accordingly. The objective must provide a GetLinearEquality public member function defined as:
class Objective { public: void GetLinearEquality(Matrix *a_mat, Vector *b_vec); };
The constraint is expressed in the form
Definition at line 434 of file optimizer.h.