106 for(
int i = rowDim - 1; i >= noldrows; i-- )
109 for(
int i = colDim - 1; i >= noldcols; i-- )
119 std::cout <<
"DBDESC01 column status: ";
120 for(i = 0; i <
nCols(); i++)
122 std::cout << std::endl;
124 std::cout <<
"DBDESC02 row status: ";
125 for(i = 0; i <
nRows(); i++)
127 std::cout << std::endl;
132 #ifdef ENABLE_CONSISTENCY_CHECKS 173 os << std::endl <<
"Invalid status <" << int(stat) <<
">" << std::endl;
const Status * rowStatus(void) const
returns the array of row Statuses.
Exception class for things that should NEVER happen.This class is derived from the SoPlex exception b...
Representation rep() const
return the current basis representation.
primal variable is fixed to both bounds
primal or dual variable has no status
DataArray< Status > * stat
basis' status.
Desc & operator=(const Desc &rhs)
assignment operator
void reSize(int rowDim, int colDim)
resets dimensions.
int nCols() const
returns number of columns.
const Status * colStatus(void) const
returns the array of column Statuses.
bool isConsistent() const
consistency check
dual variable is left free, but unset
primal variable is set to its upper bound
Desc()
default constructor
int nCols() const
Returns number of columns in LP.
dual variable is set to its upper bound
int size() const
return nr. of elements.
primal variable is left free, but unset
DataArray< Status > rowstat
status of rows.
Debugging, floating point type and parameter definitions.
int nRows() const
Returns number of rows in LP.
Sequential object-oriented SimPlex.SPxSolver is an LP solver class using the revised Simplex algorith...
Everything should be within this namespace.
primal variable is set to its lower bound
bool isConsistent() const
consistency check.
dual variable is set to its lower bound
DataArray< Status > * costat
cobasis' status.
void dump() const
Prints out status.
int nRows() const
returns number of rows.
DataArray< Status > colstat
status of columns.
dual variable has two bounds
Status
Status of a variable.
void reSize(int newsize)
reset size to newsize.
columnwise representation.
friend std::ostream & operator<<(std::ostream &os, const Status &stat)