optim::optpp::NonLinearInequalityTrait< Method, Objective, Applicable > Class Template Reference

template<typename Method, typename Objective, bool Applicable> class NonLinearInequalityTrait More...

List of all members.

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)

Detailed Description

template<typename Method, typename Objective, bool Applicable>
class optim::optpp::NonLinearInequalityTrait< Method, Objective, Applicable >

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 $ \vec{l} \leq f(\vec{x}) \leq \vec{u}$ if you want only one side inequality then ignore the side you are not interested in. If you don't specify any of $ \vec{l}, \vec{u} $ then it assumes the inequality $ f(\vec{x}) \leq 0 $.

Definition at line 577 of file optimizer.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 12:04:41 2011 for FASTlib by  doxygen 1.6.3