All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
lprowbase.h
Go to the documentation of this file.
32 * Class LPRowBase provides constraints for linear programs in the form \f[ l \le a^Tx \le r, \f] where \em a is a
33 * DSVector. \em l is referred to as %left hand side, \em r as %right hand side and \em a as \em row \em vector or the
34 * constraint vector. \em l and \em r may also take values \f$\pm\f$ #infinity. This static member is predefined, but
37 * LPRowBases allow to specify regular inequalities of the form \f[ a^Tx \sim \alpha, \f] where \f$\sim\f$ can take any
38 * value of \f$\le, =, \ge\f$, by setting rhs and lhs to the same value or setting one of them to \f$\infty\f$.
40 * Since constraints in the regular form occur often, LPRowBases offers methods type() and value() for retreiving
41 * \f$\sim\f$ and \f$\alpha\f$ of an LPRowBase in this form, respectively. Also, a constructor for LPRowBases given in
51 // ------------------------------------------------------------------------------------------------------------------
64 // ------------------------------------------------------------------------------------------------------------------
69 /** #LPRowBase%s may be of one of the following Types. This datatype may be used for constructing new #LPRowBase%s in the
82 // ------------------------------------------------------------------------------------------------------------------
109 LPRowBase<R>(const R& p_lhs, const SVectorBase<R>& p_rowVector, const R& p_rhs, const R& p_obj = 0)
116 LPRowBase<R>(const SVectorBase<R>& p_rowVector, Type p_type, const R& p_value, const R& p_obj = 0)
146 // ------------------------------------------------------------------------------------------------------------------
192 /** This method returns \f$\alpha\f$ for a LPRowBase in regular form. However, value() may only be called for
|