147 return info ? (
info < 0 ? ROW_ID : COL_ID) : INVALID;
177 return (
this == &
id);
182 return (
this != &
id);
187 return getIdx() <
id.getIdx();
int operator!=(const SPxId &id) const
inequality operator.
bool isSPxRowId() const
is id a row id?
Entry identifier class for items of a DataSet.
bool isValid() const
returns TRUE iff the id is a valid column or row identifier.
bool isSPxColId() const
is id a column id?
void inValidate()
makes the id invalid.
SPxId(const SPxRowId &rid)
constructs an id out of a row identifier rid.
Ids for LP columns.Class SPxColId provides DataKeys for the column indices of an SPxLP.
SPxRowId()
default constructor.
SPxColId()
default constructor.
Type type() const
returns the type of the id.
Entry identifier class for items of a DataSet.Every item in a DataSet is assigned a DataKey by which ...
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
std::ostream & operator<<(std::ostream &s, const VectorBase< R > &vec)
Output operator.
SPxId & operator=(const SPxColId &cid)
assignment operator
SPxId & operator=(const SPxId &id)
assignment operator
int info
user information to store values -1, 0, +1
int getIdx() const
gets the index number (idx) of the DataKey.
int operator==(const SPxId &id) const
equality operator.
DataKey & operator=(const DataKey &rhs)
Assignment operator.
SPxId()
default constructor. Constructs an invalid id.
Everything should be within this namespace.
SPxId & operator=(const SPxRowId &rid)
assignment operator
bool operator<(const SPxId &id) const
less then operator
Ids for LP rows.Class SPxRowId provides DataKeys for the row indices of an SPxLP. ...
int idx
(locally) unique key index
SPxId(const SPxColId &cid)
constructs an id out of a column identifier cid.