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

template<typename Method, typename Objective, bool Applicable> class LinearEqualityTrait; 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::LinearEqualityTrait< Method, Objective, Applicable >

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 $ A \vec{x} = \vec{b} $

Definition at line 434 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