template<typename Method, typename Objective, bool Applicable> class NonLinearInequalityTrait 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 NonLinearInequalityTrait
When the nonlineare inequality constraints are applicable then it updates the constraints accordingly. The objective must provide the public member functions defined as:
class Objective { public: void GetNonLinearInequalityConstraintBounds(Vector *lower, Vector *upper); double num_of_non_linear_inequalities()); };
The constraint is expressed in the form if you want only one side inequality then ignore the side you are not interested in. If you don't specify any of then it assumes the inequality .
Definition at line 577 of file optimizer.h.