114 thesolver = p_solver;
251 #ifdef ENABLE_CONSISTENCY_CHECKS 252 return thesolver != 0;
272 , thesolver(old.thesolver)
305 #endif // _SPXPRICER_H_ virtual void entered4(SPxId, int)
performs entering pivot.
void reDim(int newdim, const bool setZero=true)
Resets DVectorBase's dimension to newdim.
virtual SPxId selectEnter()=0
selects Id to enter basis.
virtual void removedVecs(const int *)
vectors given by perm have been removed from loaded LP.
Representation
LP basis representation.
virtual void setRep(SPxSolver::Representation)
sets basis representation.
SPxPricer & operator=(const SPxPricer &rhs)
assignment operator
virtual bool isConsistent() const
virtual void removedCoVec(int)
covector i was removed from loaded LP.
virtual SPxPricer * clone() const =0
clone function for polymorphism
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
virtual void addedCoVecs(int)
n covectors have been added to loaded LP.
virtual void addedVecs(int)
n vectors have been added to loaded LP.
virtual void left4(int, SPxId)
performs leaving pivot.
virtual void clear()
unloads LP.
Compare class to sort idx/val pairs, used for hypersparse pricing leaving.
DVector coWeights
store dual norms
SPxSolver * thesolver
the solver
Abstract pricer base class.Class SPxPricer is a pure virtual class defining the interface for pricer ...
const char * m_name
name of the pricer
Real operator()(IdxElement a, IdxElement b) const
Generic QuickSort implementation.
virtual void removedCoVecs(const int *)
covectors given by perm have been removed from loaded LP.
Debugging, floating point type and parameter definitions.
virtual void setEpsilon(Real eps)
sets violation bound.
Sequential object-oriented SimPlex.SPxSolver is an LP solver class using the revised Simplex algorith...
virtual void load(SPxSolver *p_solver)
loads LP.
Everything should be within this namespace.
virtual void setType(SPxSolver::Type)
sets pricing type.
virtual const char * getName() const
get name of pricer.
Real theeps
violation bound
SPxPricer(const char *p_name)
constructor
virtual Real epsilon() const
returns violation bound theeps.
virtual void removedVec(int)
vector i was removed from loaded LP.
virtual SPxSolver * solver() const
returns loaded SPxSolver object.
DVector weights
dual pricing norms
virtual int selectLeave()=0
returns selected index to leave basis.
bool weightsAreSetup
are the dual norms already set up?
SPxPricer(const SPxPricer &old)
copy constructor
virtual ~SPxPricer()
destructor.
const IdxElement * elements