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 252 // ------------------------------------------------------------------------------------------------------------------ Exception class for things that should NEVER happen.This class is derived from the SoPlex exception b... Definition: exceptions.h:109 Dynamic sparse vectors.Class DSVectorBase implements dynamic sparse vectors, i.e. SVectorBases with a... Definition: dsvectorbase.h:42 #define MSG_ERROR(x) Prints out message x if the verbosity level is at least SPxOut::ERROR. Definition: spxdefines.h:109 (In)equality for LPs.Class LPRowBase provides constraints for linear programs in the form where a is... Definition: lprowbase.h:45 Debugging, floating point type and parameter definitions. Collection of dense, sparse, and semi-sparse vectors. Everything should be within this namespace. void setRowVector(const DSVectorBase< R > &p_vec) access constraint row vector. Definition: lprowbase.h:245 R object objective coefficient of corresponding slack variable s = vec times primal Definition: lprowbase.h:57 Sparse vectors.Class SVectorBase provides packed sparse vectors. Such are a sparse vectors... Definition: dvectorbase.h:31 |