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