61 , activepricer(&devex)
68 , switchIters(old.switchIters)
75 activepricer = &
devex;
77 activepricer = &
steep;
92 activepricer = &
devex;
94 activepricer = &
steep;
135 #endif // _SPXAUTOPR_H_ void clear()
clear the data
SPxSteepExPR steep
internal Steepest edge pricer
void setSwitchIters(int iters)
set max number of iterations before switching pricers
virtual SPxPricer * clone() const
clone function for polymorphism
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.
Steepest edge pricer.Class SPxSteepExPR implements a steepest edge pricer to be used with SoPlex...
virtual void load(SPxSolver *base)
set the solver
Abstract pricer base class.
virtual void setType(SPxSolver::Type)
set entering/leaving algorithm
Representation
LP basis representation.
int switchIters
number of iterations before switching pricers
SPxAutoPR()
default constructor
SPxPricer & operator=(const SPxPricer &rhs)
assignment operator
Auto pricer.This pricer switches between Devex and Steepest edge pricer based on the difficulty of th...
virtual SPxId selectEnter()
virtual void entered4(SPxId id, int n)
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
virtual int selectLeave()
SPxDevexPR devex
internal Devex pricer
virtual void left4(int n, SPxId id)
void setEpsilon(Real eps)
set epsilon of internal pricers
virtual ~SPxAutoPR()
destructor
Abstract pricer base class.Class SPxPricer is a pure virtual class defining the interface for pricer ...
SPxPricer * activepricer
pointer to currently selected pricer
Sequential object-oriented SimPlex.SPxSolver is an LP solver class using the revised Simplex algorith...
virtual void setRep(SPxSolver::Representation)
set row/column representation
Everything should be within this namespace.
Steepest edge pricer with exact initialization of weights.
SPxAutoPR(const SPxAutoPR &old)
copy constructor
bool setActivePricer(SPxSolver::Type type)
switches active pricing method
SPxAutoPR & operator=(const SPxAutoPR &rhs)
assignment operator