template<typename Method, typename Objective, bool Applicable> class LinearInequalityTrait More...
Static Public Member Functions | |
static void | UpdateConstraints (Objective *object, OPTPP::OptppArray< OPTPP::Constraint > *constraint_array) |
static void | UpdateConstraints (Objective *object, OPTPP::OptppArray< OPTPP::Constraint > *constraint_array) |
template<typename Method, typename Objective, bool Applicable> class LinearInequalityTrait
When linear inequalities are applicable then it updates the constraints accordingly. The objective must provide a GetLinearInequality public member function defined as:
The constraint is expressed in the form if you have only left or right hand side inequality, just do nothing about the one you don't care.
Definition at line 494 of file optimizer.h.