52 for(
int i = start; i < end; ++i)
65 for(
int i = start; i < end; ++i)
72 assert(
solver()->rowVector(i).length() > 0);
82 for(
int i = start; i < end; ++i)
110 for(i =
solver()->
dim() - 1; i >= 0; --i)
118 if(type * (x - best) < 0.0)
142 for(i =
solver()->nRows() - 1; i >= 0; --i)
188 for(i =
solver()->nCols() - 1; i >= 0; --i)
308 for(
int i = 0; i < j; ++i)
320 for(
int i = 0; i < j; ++i)
354 for(
int i = 0; i < j; ++i)
366 for(
int i = 0; i < j; ++i)
378 #ifdef ENABLE_CONSISTENCY_CHECKS Exception class for things that should NEVER happen.This class is derived from the SoPlex exception b...
SPxRowId rId(int n) const
Returns the row identifier for row n.
void reDim(int newdim, const bool setZero=true)
Resets DVectorBase's dimension to newdim.
primal variable is fixed to both bounds
primal or dual variable is undefined
const Vector & fTest() const
Violations of fVec.
THREADLOCAL const Real infinity
void setType(SPxSolver::Type tp)
set entering/leaving algorithm
Exception classes for SoPlex.
Status & rowStatus(int i)
Representation
LP basis representation.
int number(const SPxRowId &id) const
Returns the row number of the row with identifier id.
int dim() const
dimension of basis matrix.
#define ASSERT_WARN(prefix, expr)
Macro to turn some assertions into warnings.
void computeCP(int start, int end)
compute weights for columns.
SPxColId cId(int n) const
Returns the column identifier for column n.
const R * get_const_ptr() const
Conversion to C-style pointer.
dual variable is left free, but unset
int nRows() const
Returns number of rows in LP.
primal variable is set to its upper bound
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
virtual void removedVecs(const int perm[])
n vectors have been removed from the loaded LP.
DVector cPenalty
column penalties
dual variable is set to its upper bound
virtual void addedVecs(int n)
n vectors have been added to the loaded LP.
primal variable is left free, but unset
SPxSolver * thesolver
the solver
virtual void removedCoVecs(const int perm[])
n covectors have been removed from the loaded LP.
virtual void removedCoVec(int i)
the i'th covector has been removed from the loaded LP.
virtual SPxId selectEnter()
virtual void removedVec(int i)
the i'th vector has been removed from the loaded LP.
DVector leavePenalty
penalties for leaving alg
const Vector & test() const
Violations of pVec.
Status & colStatus(int i)
Debugging, floating point type and parameter definitions.
virtual bool isConsistent() const
checks for consistency
Simplex basis.Consider the linear program as provided from class SPxLP: where , and ...
Sequential object-oriented SimPlex.SPxSolver is an LP solver class using the revised Simplex algorith...
int dim() const
Dimension of vector.
Everything should be within this namespace.
virtual void addedCoVecs(int n)
n covectors have been added to the loaded LP.
void computeLeavePenalty(int start, int end)
compute leave penalties.
primal variable is set to its lower bound
const VectorBase< R > & maxObj() const
Returns objective vector for maximization problem.
const SVectorBase< R > & rowVector(int i) const
Gets row vector of row i.
Real theeps
violation bound
const Vector & coTest() const
violations of coPvec.
Real objlength
length of objective vector.
virtual Real epsilon() const
returns violation bound theeps.
dual variable is set to its lower bound
void computeRP(int start, int end)
compute weights for rows.
virtual SPxSolver * solver() const
returns loaded SPxSolver object.
int nCols() const
Returns number of columns in LP.
dual variable has two bounds
virtual int selectLeave()
#define MSGinconsistent(name)
void setRep(SPxSolver::Representation rep)
set row/column representation
virtual void load(SPxSolver *base)
sets the solver
DVector rPenalty
row penalties
const SPxBasis & basis() const
Return current basis.
const Desc & desc() const
Representation rep() const
return the current basis representation.
columnwise representation.