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