Loading...
Searching...
No Matches
SPxId Class Reference Generic Ids for LP rows or columns. More...
Inheritance diagram for SPxId:
![]()
Detailed DescriptionGeneric Ids for LP rows or columns. Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: Rows and columns are numbered from 0 to num()-1 and 0 to dim()-1 respectively. These numbers may be used to select individual rows or columns. However, these numbers may change if other rows or columns are added or removed. Further, each row or column of the problem matrix is assigned a SPxRowId or SPxColId, respectively. They are be used to select individual rows or columns just like numbers. In contrast to row and column numbers, ids remain unchanged for the time a row or column belongs to a SPxLP, no matter what other rows or columns are added to it or removed from it. Member Enumeration Documentation◆ Type
Constructor & Destructor Documentation◆ SPxId() [1/3]◆ SPxId() [2/3]◆ SPxId() [3/3]Member Function Documentation◆ inValidate()
◆ isSPxColId()
is id a column id? Definition at line 168 of file spxid.h. References DataKey::info. Referenced by SPxRowId::SPxRowId(). ◆ isSPxRowId()
is id a row id? Definition at line 163 of file spxid.h. References DataKey::info. Referenced by SPxSolverBase< R >::coVector(), SPxSolverBase< R >::enterVector(), SPxSolverBase< R >::isBasic(), SPxColId::SPxColId(), and SPxSolverBase< R >::vector(). ◆ isValid()
returns TRUE iff the id is a valid column or row identifier. Definition at line 153 of file spxid.h. References DataKey::info. Referenced by SPxSolverBase< R >::coVector(), SPxSolverBase< R >::enterVector(), SPxSolverBase< R >::isBasic(), and SPxSolverBase< R >::vector(). ◆ operator!=()
◆ operator<()
◆ operator=() [1/2]assignment operator Definition at line 129 of file spxid.h. References SPxId::COL_ID, and DataKey::info. ◆ operator=() [2/2]assignment operator Definition at line 136 of file spxid.h. References DataKey::info, and SPxId::ROW_ID. ◆ operator==()◆ type()
returns the type of the id. Definition at line 148 of file spxid.h. References SPxId::COL_ID, DataKey::info, SPxId::INVALID, and SPxId::ROW_ID. Friends And Related Symbol Documentation◆ operator<<
|