148 return info ? (
info < 0 ? ROW_ID : COL_ID) : INVALID;
178 return (
this == &
id);
183 return (
this != &
id);
188 return getIdx() <
id.getIdx();
Entry identifier class for items of a DataSet.
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.
bool operator<(const SPxId &id) const
less then operator
SPxRowId()
default constructor.
SPxColId()
default constructor.
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
int getIdx() const
gets the index number (idx) of the DataKey.
bool isSPxColId() const
is id a column id?
SPxId & operator=(const SPxId &id)
assignment operator
int info
user information to store values -1, 0, +1
DataKey & operator=(const DataKey &rhs)
Assignment operator.
SPxId()
default constructor. Constructs an invalid id.
Everything should be within this namespace.
int operator!=(const SPxId &id) const
inequality operator.
bool isSPxRowId() const
is id a row id?
bool isValid() const
returns TRUE iff the id is a valid column or row identifier.
Type type() const
returns the type of the id.
int operator==(const SPxId &id) const
equality operator.
SPxId & operator=(const SPxRowId &rid)
assignment 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.