Scippy

SoPlex

Sequential object-oriented simPlex

SPxRowId Class Reference

Ids for LP rows.Class SPxRowId provides DataKeys for the row indices of an SPxLP. More...

#include <spxid.h>

Public Member Functions

 SPxRowId ()
 default constructor. More...
 
 SPxRowId (const DataKey &p_key)
 copy constructor from DataKey. More...
 
 SPxRowId (const SPxId &p_key)
 copy constructor from SPxId. More...
 
- Public Member Functions inherited from DataKey
 DataKey ()
 Default constructor. Constructs an invalid DataKey. More...
 
 DataKey (int p_info, int p_idx)
 
DataKeyoperator= (const DataKey &rhs)
 Assignment operator. More...
 
 DataKey (const DataKey &old)
 Copy constructor. More...
 
int getIdx () const
 gets the index number (idx) of the DataKey. More...
 
void setIdx (int p_idx)
 sets the index number (idx) of the DataKey. More...
 
bool isValid () const
 returns TRUE, iff the DataKey is valid. More...
 
void inValidate ()
 makes the DataKey invalid and clears the info field. More...
 

Additional Inherited Members

- Public Attributes inherited from DataKey
int info
 user information to store values -1, 0, +1 More...
 
int idx
 (locally) unique key index More...
 

Detailed Description

Ids for LP rows.

Class SPxRowId provides DataKeys for the row indices of an SPxLP.

Definition at line 55 of file spxid.h.

Constructor & Destructor Documentation

◆ SPxRowId() [1/3]

SPxRowId ( )

default constructor.

Definition at line 59 of file spxid.h.

◆ SPxRowId() [2/3]

SPxRowId ( const DataKey p_key)
explicit

copy constructor from DataKey.

Definition at line 38 of file spxid.cpp.

References DataKey::info, and SPxId::ROW_ID.

◆ SPxRowId() [3/3]

SPxRowId ( const SPxId p_key)
explicit

copy constructor from SPxId.

Definition at line 44 of file spxid.cpp.

References DataKey::info, SPxId::isSPxColId(), and SPxId::ROW_ID.