Loading...
Searching...
No Matches
LPRowSetBase< R > Class Template Reference Set of LP rows. More...
Inheritance diagram for LPRowSetBase< R >:
![]()
Detailed Descriptiontemplate<class R> class soplex::LPRowSetBase< R > Set of LP rows. Class LPRowSetBase implements a set of LPRowBase%s. Unless for memory limitations, any number of LPRowBases may be added to an LPRowSetBase. Single or multiple LPRowBases may be added to an LPRowSetBase, where each method add() comes with two different signatures. One with and one without a parameter, used for returning the Keys assigned to the new LPRowBases by the set. See DataKey for a more detailed description of the concept of keys. For the concept of renumbering LPRowBases within an LPRowSetBase after removal of some LPRows see DataSet. Definition at line 53 of file lprowsetbase.h. Constructor & Destructor Documentation◆ LPRowSetBase() [1/3]
template<class R >
Default constructor. The user can specify the initial maximum number of rows Definition at line 694 of file lprowsetbase.h. References LPRowSetBase< R >::isConsistent(). ◆ LPRowSetBase() [2/3]
template<class R >
Copy constructor. Definition at line 736 of file lprowsetbase.h. References LPRowSetBase< R >::isConsistent(). ◆ LPRowSetBase() [3/3]Copy constructor. Definition at line 748 of file lprowsetbase.h. References LPRowSetBase< R >::isConsistent(). ◆ ~LPRowSetBase()
template<class R >
Destructor. Definition at line 759 of file lprowsetbase.h. Member Function Documentation◆ add() [1/8]
template<class R >
Definition at line 337 of file lprowsetbase.h. References LPRowSetBase< R >::add(). Referenced by LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), SPxLPBase< R >::addRow(), SPxLPBase< R >::addRows(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), and SPxLPBase< R >::doAddRows(). ◆ add() [2/8]
template<class R >
Definition at line 422 of file lprowsetbase.h. References SVSetBase< R >::add(), LPRowSetBase< R >::left, LPRowSetBase< R >::lhs(), LPRowSetBase< R >::num(), LPRowSetBase< R >::obj(), DataArray< T >::reSize(), LPRowSetBase< R >::rhs(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. ◆ add() [3/8]
template<class R >
Adds LPRowBase consisting of left hand side Definition at line 350 of file lprowsetbase.h. References LPRowSetBase< R >::add(). ◆ add() [4/8]
template<class R >
template<class S >
Adds LPRowBase consisting of left hand side Definition at line 359 of file lprowsetbase.h. References LPRowSetBase< R >::add(). ◆ add() [5/8]
template<class R >
Adds LPRowBase consisting of left hand side Definition at line 402 of file lprowsetbase.h. References SVSetBase< R >::add(), LPRowSetBase< R >::left, LPRowSetBase< R >::num(), DataArray< T >::reSize(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. ◆ add() [6/8]
template<class R >
template<class S >
Adds LPRowBase consisting of left hand side Definition at line 374 of file lprowsetbase.h. References SVSetBase< R >::add(), LPRowSetBase< R >::left, LPRowSetBase< R >::num(), and LPRowSetBase< R >::right. ◆ add() [7/8]Adds Definition at line 344 of file lprowsetbase.h. References LPRowSetBase< R >::add(), LPRowBase< R >::lhs(), LPRowBase< R >::obj(), LPRowBase< R >::rhs(), and LPRowBase< R >::rowVector(). ◆ add() [8/8]
template<class R >
Adds all LPRowBases of Definition at line 446 of file lprowsetbase.h. References LPRowSetBase< R >::add(), LPRowSetBase< R >::key(), LPRowSetBase< R >::num(), and SVSetBase< R >::set. ◆ add2() [1/3]
template<class R >
Adds Definition at line 469 of file lprowsetbase.h. References SVSetBase< R >::add2(), and LPRowSetBase< R >::rowVector_w(). Referenced by SPxLPBase< R >::addCol(), SPxLPBase< R >::changeCol(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeRow(), SPxLPBase< R >::doAddCol(), and SPxLPBase< R >::doAddCol(). ◆ add2() [2/3]
template<class R >
Adds Definition at line 475 of file lprowsetbase.h. References SVSetBase< R >::add2(), and LPRowSetBase< R >::rowVector_w(). ◆ add2() [3/3]
template<class R >
template<class S >
Adds Definition at line 482 of file lprowsetbase.h. References SVSetBase< R >::add2(), and LPRowSetBase< R >::rowVector_w(). ◆ clear()
template<class R >
Removes all LPRowBases. Definition at line 602 of file lprowsetbase.h. References ClassArray< Nonzero< R > >::clear(), DataArray< T >::clear(), LPRowSetBase< R >::left, LPRowSetBase< R >::num(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. Referenced by SPxLPBase< R >::clear(). ◆ create() [1/2]
template<class R >
Creates new LPRowBase with specified parameters and returns a reference to its row vector. Definition at line 496 of file lprowsetbase.h. References SVSetBase< R >::create(), LPRowSetBase< R >::left, LPRowSetBase< R >::num(), DataArray< T >::reSize(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. ◆ create() [2/2]
template<class R >
Creates new LPRowBase with specified parameters and returns a reference to its row vector. Definition at line 488 of file lprowsetbase.h. References LPRowSetBase< R >::create(). Referenced by LPRowSetBase< R >::create(). ◆ has()
template<class R >
does DataKey Definition at line 320 of file lprowsetbase.h. References SVSetBase< R >::has(). Referenced by SPxLPBase< R >::has(), and SPxLPBase< R >::has(). ◆ isConsistent()
template<class R >
Checks consistency. Definition at line 662 of file lprowsetbase.h. References SVSetBase< R >::isConsistent(), LPRowSetBase< R >::left, LPRowSetBase< R >::num(), LPRowSetBase< R >::right, and SPX_MSG_INCONSISTENT. Referenced by SPxLPBase< R >::isConsistent(), LPRowSetBase< R >::LPRowSetBase(), LPRowSetBase< R >::LPRowSetBase(), LPRowSetBase< R >::LPRowSetBase(), LPRowSetBase< R >::operator=(), and LPRowSetBase< R >::operator=(). ◆ key()
template<class R >
Returns the DataKey of the Definition at line 308 of file lprowsetbase.h. References SVSetBase< R >::key(). Referenced by LPRowSetBase< R >::add(). ◆ lhs() [1/3]
template<class R >
Returns the vector of lhs values. Definition at line 104 of file lprowsetbase.h. References LPRowSetBase< R >::left. Referenced by LPRowSetBase< R >::add(), SPxLPBase< R >::lhs(), SPxLPBase< R >::lhs(), SPxLPBase< R >::lhs(), LPRowSetBase< R >::setType(), LPRowSetBase< R >::type(), and LPRowSetBase< R >::value(). ◆ lhs() [2/3]
template<class R >
Returns the lhs of the LPRowBase with DataKey Definition at line 128 of file lprowsetbase.h. References LPRowSetBase< R >::left, and LPRowSetBase< R >::number(). ◆ lhs() [3/3]
template<class R >
Returns the lhs of the Definition at line 116 of file lprowsetbase.h. References LPRowSetBase< R >::left. ◆ lhs_w() [1/3]
template<class R >
Returns the vector of lhs values. Definition at line 110 of file lprowsetbase.h. References LPRowSetBase< R >::left. Referenced by SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::lhs_w(), and LPRowSetBase< R >::setType(). ◆ lhs_w() [2/3]
template<class R >
Returns the lhs of the LPRowBase with DataKey Definition at line 134 of file lprowsetbase.h. References LPRowSetBase< R >::left, and LPRowSetBase< R >::number(). ◆ lhs_w() [3/3]
template<class R >
Returns the lhs of the Definition at line 122 of file lprowsetbase.h. References LPRowSetBase< R >::left. ◆ max()
template<class R >
Returns the maximum number of LPRowBases that fit. Definition at line 98 of file lprowsetbase.h. References SVSetBase< R >::max(). Referenced by LPRowSetBase< R >::reMax(). ◆ memMax()
template<class R >
Returns length of nonzero memory. Definition at line 638 of file lprowsetbase.h. References SVSetBase< R >::memMax(). ◆ memPack()
template<class R >
Garbage collection in nonzero memory. Definition at line 650 of file lprowsetbase.h. References SVSetBase< R >::memPack(). ◆ memRemax()
template<class R >
Reallocates memory to be able to store Definition at line 644 of file lprowsetbase.h. References SVSetBase< R >::memRemax(). Referenced by SPxLPBase< R >::addRows(). ◆ memSize()
template<class R >
Returns number of used nonzero entries. Definition at line 632 of file lprowsetbase.h. References SVSetBase< R >::memSize(). ◆ num()
template<class R >
Returns the number of LPRowBases in LPRowSetBase. Definition at line 92 of file lprowsetbase.h. References SVSetBase< R >::num(). Referenced by LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::clear(), LPRowSetBase< R >::create(), LPRowSetBase< R >::isConsistent(), SPxLPBase< R >::nRows(), LPRowSetBase< R >::remove(), LPRowSetBase< R >::remove(), LPRowSetBase< R >::remove(), and LPRowSetBase< R >::remove(). ◆ number()
template<class R >
Returns the number of the LPRowBase with DataKey Definition at line 314 of file lprowsetbase.h. References SVSetBase< R >::number(). Referenced by LPRowSetBase< R >::lhs(), LPRowSetBase< R >::lhs_w(), SPxLPBase< R >::number(), SPxLPBase< R >::number(), LPRowSetBase< R >::obj(), LPRowSetBase< R >::obj_w(), LPRowSetBase< R >::remove(), LPRowSetBase< R >::rhs(), LPRowSetBase< R >::rhs_w(), LPRowSetBase< R >::type(), and LPRowSetBase< R >::value(). ◆ obj() [1/3]
template<class R >
Returns the vector of objective coefficients. Definition at line 176 of file lprowsetbase.h. References LPRowSetBase< R >::object. Referenced by LPRowSetBase< R >::add(), SPxLPBase< R >::getCol(), SPxLPBase< R >::getCols(), SPxLPBase< R >::getRowObj(), SPxLPBase< R >::maxRowObj(), SPxLPBase< R >::maxRowObj(), SPxLPBase< R >::maxRowObj(), and SPxLPBase< R >::obj(). ◆ obj() [2/3]
template<class R >
Returns the objective coefficient of the LPRowBase with DataKey Definition at line 200 of file lprowsetbase.h. References LPRowSetBase< R >::number(). ◆ obj() [3/3]
template<class R >
Returns the objective coefficient of the Definition at line 188 of file lprowsetbase.h. ◆ obj_w() [1/3]
template<class R >
Returns the vector of objective coefficients (writeable). Definition at line 182 of file lprowsetbase.h. References LPRowSetBase< R >::object. Referenced by SPxLPBase< R >::changeRowObj(), SPxLPBase< R >::changeRowObj(), SPxLPBase< R >::changeSense(), SPxLPBase< R >::clearRowObjs(), and SPxLPBase< R >::maxRowObj_w(). ◆ obj_w() [2/3]
template<class R >
Returns the objective coefficient of the LPRowBase with DataKey Definition at line 206 of file lprowsetbase.h. References LPRowSetBase< R >::number(). ◆ obj_w() [3/3]
template<class R >
Returns the objective coefficient of the Definition at line 194 of file lprowsetbase.h. ◆ operator=() [1/2]
template<class R >
Assignment operator. Definition at line 701 of file lprowsetbase.h. References LPRowSetBase< R >::isConsistent(), LPRowSetBase< R >::left, LPRowSetBase< R >::object, SVSetBase< R >::operator=(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. Referenced by SPxLPBase< R >::operator=(), and SPxLPBase< R >::operator=(). ◆ operator=() [2/2]Assignment operator. Definition at line 719 of file lprowsetbase.h. References LPRowSetBase< R >::isConsistent(), LPRowSetBase< R >::left, LPRowSetBase< R >::object, SVSetBase< R >::operator=(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. ◆ reMax()
template<class R >
Reallocates memory to be able to store Definition at line 622 of file lprowsetbase.h. References LPRowSetBase< R >::left, LPRowSetBase< R >::max(), SVSetBase< R >::reMax(), DataArray< T >::reSize(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. ◆ remove() [1/5]
template<class R >
Removes LPRowBase with DataKey Definition at line 540 of file lprowsetbase.h. References LPRowSetBase< R >::number(), and LPRowSetBase< R >::remove(). ◆ remove() [2/5]
template<class R >
Removes Definition at line 570 of file lprowsetbase.h. References DataArray< T >::get_ptr(), LPRowSetBase< R >::num(), and LPRowSetBase< R >::remove(). ◆ remove() [3/5]
template<class R >
Removes Definition at line 578 of file lprowsetbase.h. References LPRowSetBase< R >::left, LPRowSetBase< R >::num(), SVSetBase< R >::remove(), DataArray< T >::reSize(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. ◆ remove() [4/5]
template<class R >
Removes Definition at line 526 of file lprowsetbase.h. References LPRowSetBase< R >::left, LPRowSetBase< R >::num(), SVSetBase< R >::remove(), DataArray< T >::reSize(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. Referenced by SPxLPBase< R >::doRemoveRow(), SPxLPBase< R >::doRemoveRows(), LPRowSetBase< R >::remove(), and LPRowSetBase< R >::remove(). ◆ remove() [5/5]
template<class R >
Removes multiple LPRowBases. Definition at line 546 of file lprowsetbase.h. References LPRowSetBase< R >::left, LPRowSetBase< R >::num(), SVSetBase< R >::remove(), DataArray< T >::reSize(), LPRowSetBase< R >::right, and LPRowSetBase< R >::scaleExp. ◆ rhs() [1/3]
template<class R >
Returns the vector of rhs values. Definition at line 140 of file lprowsetbase.h. References LPRowSetBase< R >::right. Referenced by LPRowSetBase< R >::add(), SPxLPBase< R >::getRhs(), SPxLPBase< R >::rhs(), SPxLPBase< R >::rhs(), SPxLPBase< R >::rhs(), LPRowSetBase< R >::setType(), LPRowSetBase< R >::type(), and LPRowSetBase< R >::value(). ◆ rhs() [2/3]
template<class R >
Returns the rhs of the LPRowBase with DataKey Definition at line 164 of file lprowsetbase.h. References LPRowSetBase< R >::number(), and LPRowSetBase< R >::right. ◆ rhs() [3/3]
template<class R >
Returns the rhs of the Definition at line 152 of file lprowsetbase.h. References LPRowSetBase< R >::right. ◆ rhs_w() [1/3]
template<class R >
Returns the vector of rhs values (writeable). Definition at line 146 of file lprowsetbase.h. References LPRowSetBase< R >::right. Referenced by SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::rhs_w(), and LPRowSetBase< R >::setType(). ◆ rhs_w() [2/3]
template<class R >
Returns the rhs of the LPRowBase with DataKey Definition at line 170 of file lprowsetbase.h. References LPRowSetBase< R >::number(), and LPRowSetBase< R >::right. ◆ rhs_w() [3/3]
template<class R >
Returns the rhs of the Definition at line 158 of file lprowsetbase.h. References LPRowSetBase< R >::right. ◆ rowSet()
template<class R >
Returns the complete SVSet. Definition at line 78 of file lprowsetbase.h. ◆ rowVector() [1/2]
template<class R >
Returns the rowVector of the LPRowBase with DataKey Definition at line 230 of file lprowsetbase.h. References SVSetBase< R >::operator[](). ◆ rowVector() [2/2]
template<class R >
Returns the rowVector of the Definition at line 218 of file lprowsetbase.h. References SVSetBase< R >::operator[](). Referenced by SPxLPBase< R >::rowVector(), and SPxLPBase< R >::rowVector(). ◆ rowVector_w() [1/2]
template<class R >
Returns a writable rowVector of the LPRowBase with DataKey Definition at line 224 of file lprowsetbase.h. References SVSetBase< R >::operator[](). ◆ rowVector_w() [2/2]
template<class R >
Returns a writable rowVector of the Definition at line 212 of file lprowsetbase.h. References SVSetBase< R >::operator[](). Referenced by LPRowSetBase< R >::add2(), LPRowSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::rowVector_w(), LPRowSetBase< R >::xtend(), and LPRowSetBase< R >::xtend(). ◆ setType()
template<class R >
Changes the inequality type of row Definition at line 257 of file lprowsetbase.h. References soplex::infinity, LPRowSetBase< R >::lhs(), LPRowSetBase< R >::lhs_w(), LPRowSetBase< R >::rhs(), LPRowSetBase< R >::rhs_w(), and SPX_MSG_ERROR. ◆ type() [1/2]Returns the inequality type of the LPRowBase with DataKey Definition at line 251 of file lprowsetbase.h. References LPRowSetBase< R >::number(), and LPRowSetBase< R >::type(). ◆ type() [2/2]
template<class R >
Returns the inequalitiy type of the Definition at line 236 of file lprowsetbase.h. References soplex::infinity, LPRowSetBase< R >::lhs(), and LPRowSetBase< R >::rhs(). Referenced by SPxLPBase< R >::has(), SPxLPBase< R >::number(), SPxLPBase< R >::rowType(), SPxLPBase< R >::rowType(), and LPRowSetBase< R >::type(). ◆ value() [1/2]
template<class R >
Returns the value of the LPRowBase with DataKey The value of a row depends on its type: if the inequality is of type "greater or equal", the value is the lhs of the row. Otherwise, the value is the rhs. Definition at line 302 of file lprowsetbase.h. References LPRowSetBase< R >::number(), and LPRowSetBase< R >::value(). ◆ value() [2/2]
template<class R >
Returns the value of the Definition at line 287 of file lprowsetbase.h. References soplex::infinity, LPRowSetBase< R >::lhs(), and LPRowSetBase< R >::rhs(). Referenced by LPRowSetBase< R >::value(). ◆ xtend() [1/2]
template<class R >
Extends row with DataKey Definition at line 463 of file lprowsetbase.h. References LPRowSetBase< R >::rowVector_w(), and SVSetBase< R >::xtend(). ◆ xtend() [2/2]
template<class R >
Extends row Definition at line 457 of file lprowsetbase.h. References LPRowSetBase< R >::rowVector_w(), and SVSetBase< R >::xtend(). Referenced by SPxLPBase< R >::addCols(), and SPxLPBase< R >::doAddCols(). Friends And Related Symbol Documentation◆ LPRowSetBaseDefinition at line 55 of file lprowsetbase.h. Member Data Documentation◆ left
template<class R >
vector of left hand sides (lower bounds) of LPRowBases. Definition at line 63 of file lprowsetbase.h. Referenced by LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::clear(), LPRowSetBase< R >::create(), LPRowSetBase< R >::isConsistent(), LPRowSetBase< R >::lhs(), LPRowSetBase< R >::lhs(), LPRowSetBase< R >::lhs(), LPRowSetBase< R >::lhs_w(), LPRowSetBase< R >::lhs_w(), LPRowSetBase< R >::lhs_w(), LPRowSetBase< R >::operator=(), LPRowSetBase< R >::operator=(), LPRowSetBase< R >::reMax(), LPRowSetBase< R >::remove(), LPRowSetBase< R >::remove(), and LPRowSetBase< R >::remove(). ◆ object
template<class R >
vector of objective coefficients. Definition at line 65 of file lprowsetbase.h. Referenced by LPRowSetBase< R >::obj(), LPRowSetBase< R >::obj_w(), LPRowSetBase< R >::operator=(), and LPRowSetBase< R >::operator=(). ◆ right
template<class R >
vector of right hand sides (upper bounds) of LPRowBases. Definition at line 64 of file lprowsetbase.h. Referenced by LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::clear(), LPRowSetBase< R >::create(), LPRowSetBase< R >::isConsistent(), LPRowSetBase< R >::operator=(), LPRowSetBase< R >::operator=(), LPRowSetBase< R >::reMax(), LPRowSetBase< R >::remove(), LPRowSetBase< R >::remove(), LPRowSetBase< R >::remove(), LPRowSetBase< R >::rhs(), LPRowSetBase< R >::rhs(), LPRowSetBase< R >::rhs(), LPRowSetBase< R >::rhs_w(), LPRowSetBase< R >::rhs_w(), and LPRowSetBase< R >::rhs_w(). ◆ scaleExp
template<class R >
row scaling factors (stored as bitshift) Definition at line 71 of file lprowsetbase.h. Referenced by LPRowSetBase< R >::add(), LPRowSetBase< R >::add(), LPRowSetBase< R >::clear(), LPRowSetBase< R >::create(), LPRowSetBase< R >::operator=(), LPRowSetBase< R >::operator=(), LPRowSetBase< R >::reMax(), LPRowSetBase< R >::remove(), LPRowSetBase< R >::remove(), and LPRowSetBase< R >::remove().
|