19 #ifndef _SPXDEVEXPR_H_ 20 #define _SPXDEVEXPR_H_ 160 #endif // _SPXDEVEXPR_H_ virtual SPxId selectEnter()
DIdxSet bestPricesCo
set of best pricing candidates
SPxId buildBestPriceVectorEnterCoDim(Real &best, Real feastol)
virtual ~SPxDevexPR()
destructor
Devex pricer.The Devex Pricer for SoPlex implements an approximate steepest edge pricing, that does without solving an extra linear system and computing the scalar products.
DataArray< IdxElement > pricesCo
temporary array of precomputed pricing values
virtual bool isConsistent() const
consistency check
SPxDevexPR()
default constructor
Abstract pricer base class.
Representation
LP basis representation.
SPxPricer & operator=(const SPxPricer &rhs)
assignment operator
virtual void left4(int n, SPxId id)
SPxId selectEnterDenseCoDim(Real &best, Real feastol, int start=0, int incr=1)
SPxPricer::selectEnter() in dense case.
SPxId buildBestPriceVectorEnterDim(Real &best, Real feastol)
build up vector of pricing values for later use
Real last
penalty, selected at last iteration.
SPxDevexPR & operator=(const SPxDevexPR &rhs)
assignment operator
SPxId selectEnterSparseCoDim(Real &best, Real feastol)
implementation of sparse pricing in the entering Simplex
int buildBestPriceVectorLeave(Real feastol)
build up vector of pricing values for later use
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
SPxDevexPR(const SPxDevexPR &old)
copy constructor
DataArray< IdxElement > prices
temporary array of precomputed pricing values
int selectLeaveSparse(Real feastol)
implementation of sparse pricing in the leaving Simplex
virtual void setType(SPxSolver::Type)
set entering/leaving algorithm
virtual void setRep(SPxSolver::Representation)
set row/column representation
virtual SPxPricer * clone() const
clone function for polymorphism
void setupWeights(SPxSolver::Type)
set entering/leaving algorithm
SPxId selectEnterHyperCoDim(Real &best, Real feastol)
implementation of hyper sparse pricing in the entering Simplex
Abstract pricer base class.Class SPxPricer is a pure virtual class defining the interface for pricer ...
Dynamic index set.Class DIdxSet provides dynamic IdxSet in the sense, that no restrictions are posed ...
DIdxSet bestPrices
set of best pricing candidates
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 selectLeaveHyper(Real feastol)
implementation of hyper sparse pricing in the leaving Simplex
virtual int selectLeave()
bool refined
has a refinement step already been tried?
SPxId selectEnterHyperDim(Real &best, Real feastol)
implementation of hyper sparse pricing in the entering Simplex
int selectLeaveX(Real feastol, int start=0, int incr=1)
internal implementation of SPxPricer::selectLeave()
virtual void entered4(SPxId id, int n)
virtual void addedCoVecs(int n)
n covectors have been added to loaded LP.
virtual void load(SPxSolver *base)
sets the solver
SPxId selectEnterSparseDim(Real &best, Real feastol)
implementation of sparse pricing in the entering Simplex (slack variables)
SPxId selectEnterDenseDim(Real &best, Real feastol, int start=0, int incr=1)
SPxPricer::selectEnter() in dense case (slack variabels)
virtual void addedVecs(int n)
n vectors have been added to loaded LP.
SPxId selectEnterX(Real tol)
choose the best entering index among columns and rows but prefer sparsity