LPColBase< R > Class Template Reference LP column.Class LPColBase provides a datatype for storing the column of an LP a the form similar to
Hence, an LPColBase consists of an objective value, a column DSVector and an upper and lower bound to the corresponding variable, which may include
Detailed Descriptiontemplate<class R>
|
|
explicit |
Default constructor.
Construct LPColBase with a column vector ready for taking defDim
nonzeros.
Definition at line 71 of file lpcolbase.h.
References LPColBase< R >::isConsistent().
LPColBase | ( | const R & | p_obj, |
const SVectorBase< R > & | p_vector, | ||
const R & | p_upper, | ||
const R & | p_lower | ||
) |
Initializing constructor.
Definition at line 81 of file lpcolbase.h.
References LPColBase< R >::isConsistent().
Copy constructor.
Definition at line 88 of file lpcolbase.h.
References LPColBase< R >::isConsistent().
Copy constructor.
Definition at line 96 of file lpcolbase.h.
References LPColBase< R >::isConsistent().
~LPColBase | ( | ) |
Destructor.
Definition at line 103 of file lpcolbase.h.
const SVectorBase<R>& colVector | ( | ) | const |
Gets constraint column vector.
Definition at line 148 of file lpcolbase.h.
References LPColBase< R >::vec.
Referenced by LPColSetBase< Real >::add(), SPxLPBase< Real >::changeCol(), and SPxLPBase< Real >::doAddCol().
bool isConsistent | ( | ) | const |
Checks consistency.
Definition at line 166 of file lpcolbase.h.
References DSVectorBase< R >::isConsistent().
Referenced by LPColBase< R >::LPColBase().
R lower | ( | ) | const |
Gets lower bound.
Definition at line 137 of file lpcolbase.h.
References LPColBase< R >::low.
Referenced by SoPlex::_addColReal(), SoPlex::_changeColReal(), LPColSetBase< Real >::add(), SoPlex::addColRational(), SoPlex::addColReal(), SPxLPBase< Real >::changeCol(), SoPlex::changeColRational(), and SoPlex::changeColReal().
R obj | ( | ) | const |
Gets objective value.
Definition at line 113 of file lpcolbase.h.
References LPColBase< R >::object.
Referenced by LPColSetBase< Real >::add(), and SPxLPBase< Real >::changeCol().
void setColVector | ( | const SVectorBase< R > & | p_vec | ) |
Sets constraint column vector.
Definition at line 154 of file lpcolbase.h.
Referenced by SPxLPBase< Real >::getCol(), and soplex::MPSreadCols().
void setLower | ( | const R & | p_low | ) |
Sets lower bound.
Definition at line 142 of file lpcolbase.h.
Referenced by SPxLPBase< Real >::getCol().
void setObj | ( | const R & | p_object | ) |
Sets objective value.
Definition at line 119 of file lpcolbase.h.
Referenced by SPxLPBase< Real >::getCol(), and soplex::MPSreadCols().
void setUpper | ( | const R & | p_up | ) |
Sets upper bound.
Definition at line 131 of file lpcolbase.h.
Referenced by SPxLPBase< Real >::getCol().
R upper | ( | ) | const |
Gets upper bound.
Definition at line 125 of file lpcolbase.h.
References LPColBase< R >::up.
Referenced by SoPlex::_addColReal(), SoPlex::_changeColReal(), LPColSetBase< Real >::add(), SoPlex::addColRational(), SoPlex::addColReal(), SPxLPBase< Real >::changeCol(), SoPlex::changeColRational(), and SoPlex::changeColReal().
|
friend |
Definition at line 47 of file lpcolbase.h.
|
private |
|
private |
|
private |
|
private |
the column vector
Definition at line 58 of file lpcolbase.h.
Referenced by LPColBase< R >::colVector().