19 #ifndef _SPXDEVEXPR_H_ 20 #define _SPXDEVEXPR_H_ 69 int selectLeaveX(R feastol,
int start = 0,
int incr = 1);
164 #include "spxdevexpr.hpp" 166 #endif // _SPXDEVEXPR_H_ SPxId selectEnterDenseDim(R &best, R feastol, int start=0, int incr=1)
SPxPricer::selectEnter() in dense case (slack variabels)
int selectLeaveX(R feastol, int start=0, int incr=1)
internal implementation of SPxPricer::selectLeave()
virtual void entered4(SPxId id, int n)
Representation
LP basis representation.
DIdxSet bestPricesCo
set of best pricing candidates
SPxId selectEnterHyperDim(R &best, R feastol)
implementation of hyper sparse pricing in the entering Simplex
virtual int selectLeave()
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.
SPxDevexPR()
default constructor
virtual void addedCoVecs(int n)
n covectors have been added to loaded LP.
void setupWeights(typename SPxSolverBase< R >::Type)
set entering/leaving algorithm
Abstract pricer base class.
Sequential object-oriented SimPlex.SPxSolverBase is an LP solver class using the revised Simplex algo...
SPxPricer & operator=(const SPxPricer &rhs)
assignment operator
SPxId buildBestPriceVectorEnterCoDim(R &best, R feastol)
Safe arrays of arbitrary types.Class Array provides safe arrays of arbitrary type. Array elements are accessed just like ordinary C++ array elements by means of the index operator[](). Safety is provided by.
int selectLeaveSparse(R feastol)
implementation of sparse pricing in the leaving Simplex
SPxDevexPR & operator=(const SPxDevexPR &rhs)
assignment operator
Array< typename SPxPricer< R >::IdxElement > pricesCo
temporary array of precomputed pricing values
virtual SPxPricer< R > * clone() const
clone function for polymorphism
Array< typename SPxPricer< R >::IdxElement > prices
temporary array of precomputed pricing values
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
SPxDevexPR(const SPxDevexPR &old)
copy constructor
virtual SPxId selectEnter()
SPxId selectEnterSparseCoDim(R &best, R feastol)
implementation of sparse pricing in the entering Simplex
virtual void left4(int n, SPxId id)
int selectLeaveHyper(R feastol)
implementation of hyper sparse pricing in the leaving 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
SPxId selectEnterX(R tol)
choose the best entering index among columns and rows but prefer sparsity
Debugging, floating point type and parameter definitions.
SPxId selectEnterHyperCoDim(R &best, R feastol)
implementation of hyper sparse pricing in the entering Simplex
SPxId buildBestPriceVectorEnterDim(R &best, R feastol)
build up vector of pricing values for later use
Everything should be within this namespace.
SPxId selectEnterDenseCoDim(R &best, R feastol, int start=0, int incr=1)
SPxPricer::selectEnter() in dense case.
virtual void addedVecs(int n)
n vectors have been added to loaded LP.
R last
penalty, selected at last iteration.
bool refined
has a refinement step already been tried?
virtual void load(SPxSolverBase< R > *base)
sets the solver
SPxId selectEnterSparseDim(R &best, R feastol)
implementation of sparse pricing in the entering Simplex (slack variables)
virtual void setType(typename SPxSolverBase< R >::Type)
set entering/leaving algorithm
virtual bool isConsistent() const
consistency check
int buildBestPriceVectorLeave(R feastol)
build up vector of pricing values for later use
virtual void setRep(typename SPxSolverBase< R >::Representation)
set row/column representation