Scippy

SoPlex

Sequential object-oriented simPlex

SPxColId Class Reference

Ids for LP columns.Class SPxColId provides DataKeys for the column indices of an SPxLP. More...

#include <spxid.h>

Public Member Functions

 SPxColId ()
 default constructor. More...
 
 SPxColId (const DataKey &p_key)
 copy constructor from DataKey. More...
 
 SPxColId (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)
 
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 columns.

Class SPxColId provides DataKeys for the column indices of an SPxLP.

Definition at line 36 of file spxid.h.

Constructor & Destructor Documentation

◆ SPxColId() [1/3]

SPxColId ( )

default constructor.

Definition at line 40 of file spxid.h.

◆ SPxColId() [2/3]

SPxColId ( const DataKey p_key)
explicit

copy constructor from DataKey.

Definition at line 24 of file spxid.cpp.

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

◆ SPxColId() [3/3]

SPxColId ( const SPxId p_key)
explicit

copy constructor from SPxId.

Definition at line 30 of file spxid.cpp.

References SPxId::COL_ID, DataKey::info, and SPxId::isSPxRowId().