Loading...
Searching...
No Matches
LPColBase< R > Class Template Reference LP column. More...
Detailed DescriptionLP column. Class LPColBase provides a datatype for storing the column of an LP a the form similar to \[ \begin{array}{rl} \hbox{max} & c^T x \\ \hbox{s.t.} & Ax \le b \\ & l \le x \le u \end{array} \] Hence, an LPColBase consists of an objective value, a column DSVector and an upper and lower bound to the corresponding variable, which may include \(\pm\infty\). However, it depends on the LP code to use, what values are actually treated as \(\infty\). Definition at line 54 of file lpcolbase.h. Constructor & Destructor Documentation◆ LPColBase() [1/4]Default constructor. Construct LPColBase with a column vector ready for taking Definition at line 67 of file lpcolbase.h. References LPColBase< R >::isConsistent(). ◆ LPColBase() [2/4]
Initializing constructor. Definition at line 67 of file lpcolbase.h. ◆ LPColBase() [3/4]Copy constructor. Definition at line 97 of file lpcolbase.h. References LPColBase< R >::isConsistent(), LPColBase< R >::low, LPColBase< R >::up, and LPColBase< R >::vec. ◆ LPColBase() [4/4]Copy constructor. Definition at line 97 of file lpcolbase.h. ◆ ~LPColBase()Destructor. Definition at line 126 of file lpcolbase.h. Member Function Documentation◆ colVector()
Gets constraint column vector. Definition at line 171 of file lpcolbase.h. References LPColBase< R >::vec. ◆ isConsistent()Checks consistency. Definition at line 189 of file lpcolbase.h. References DataArray< T >::isConsistent(), and LPColBase< R >::vec. Referenced by LPColBase< R >::LPColBase(), and LPColBase< R >::LPColBase(). ◆ lower()◆ obj()Gets objective value. Definition at line 136 of file lpcolbase.h. References LPColBase< R >::object. ◆ operator=()Assignment operator. Definition at line 97 of file lpcolbase.h. ◆ setColVector()Sets constraint column vector. Definition at line 177 of file lpcolbase.h. References LPColBase< R >::vec. ◆ setLower()◆ setObj()Sets objective value. Definition at line 142 of file lpcolbase.h. ◆ setUpper()◆ upper()Friends And Related Symbol Documentation◆ LPColBaseDefinition at line 56 of file lpcolbase.h. Member Data Documentation◆ lowlower bound Definition at line 65 of file lpcolbase.h. Referenced by LPColBase< R >::lower(), LPColBase< R >::LPColBase(), and LPColBase< R >::setLower(). ◆ object◆ upupper bound Definition at line 64 of file lpcolbase.h. Referenced by LPColBase< R >::LPColBase(), LPColBase< R >::setUpper(), and LPColBase< R >::upper(). ◆ vec
the column vector Definition at line 67 of file lpcolbase.h. Referenced by LPColBase< R >::colVector(), LPColBase< R >::isConsistent(), LPColBase< R >::LPColBase(), and LPColBase< R >::setColVector().
|