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

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

List of all members.

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)

Detailed Description

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

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:

   class Objective {
    public:
     void GetLinearInequality(Matrix *a_mat, Vector *l_vec, Vector *u_vec);
   };

The constraint is expressed in the form $ \vec{l} \leq A \vec{x} \leq \vec{u} $ 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.


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