69 for(i =
used - 1; i >= 0; --i)
89 for(i = 1; i <
used; ++i)
145 for(i = 1; i <
used; ++i)
SPxId coId(int i) const
id of i 'th covector.
void reDim(int newdim, const bool setZero=true)
Resets DVectorBase's dimension to newdim.
const Vector & fTest() const
Violations of fVec.
Pricing pricing() const
return current Pricing.
int number(const SPxRowId &id) const
Returns the row number of the row with identifier id.
bool isId(const SPxId &p_id) const
Is p_id an SPxId ?
int dim() const
dimension of basis matrix.
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
virtual void load(SPxSolver *solver)
set the solver
virtual SPxId selectEnter()
SPxId id(int i) const
id of i 'th vector.
virtual int selectLeave()
DVector coWeights
store dual norms
SPxSolver * thesolver
the solver
const Vector & test() const
Violations of pVec.
virtual void setType(SPxSolver::Type tp)
set entering or leaving algorithm
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.
int partialSize
Set size for partial pricing.
Real computePvec(int i)
compute and return pVec()[i].
Partial multiple pricing.
Real theeps
violation bound
const Vector & coTest() const
violations of coPvec.
int coDim() const
codimension.
DVector weights
dual pricing norms
DataArray< SPxParMultPr_Tmp > pricSet
bool weightsAreSetup
are the dual norms already set up?
Real computeTest(int i)
compute and return test()[i] in ENTERing Simplex.
void setPricing(Pricing pr)
set FULL or PARTIAL pricing.