163 this->_tolerances = newTolerances;
174 this->
thesolver->weightsAreSetup =
false;
272#ifdef ENABLE_CONSISTENCY_CHECKS
Generic Ids for LP rows or columns.
Abstract pricer base class.
virtual void removedCoVecs(const int *)
covectors given by perm have been removed from loaded LP.
virtual void removedVecs(const int *)
vectors given by perm have been removed from loaded LP.
virtual void setPricingTolerance(R tol)
sets pricing tolerance.
virtual void entered4(SPxId, int)
performs entering pivot.
SPxPricer(const SPxPricer &old)
copy constructor
virtual void addedVecs(int)
n vectors have been added to loaded LP.
virtual SPxPricer * clone() const =0
clone function for polymorphism
R thetolerance
violation bound
virtual void setTolerances(std::shared_ptr< Tolerances > newTolerances)
set the _tolerances member variable
virtual void load(SPxSolverBase< R > *p_solver)
loads LP.
virtual const char * getName() const
get name of pricer.
virtual SPxSolverBase< R > * solver() const
returns loaded SPxSolverBase object.
std::shared_ptr< Tolerances > _tolerances
tolerances used by the solver
virtual void removedCoVec(int)
covector i was removed from loaded LP.
virtual bool isConsistent() const
virtual ~SPxPricer()
destructor.
const char * m_name
name of the pricer
virtual void clear()
unloads LP.
virtual void setType(typename SPxSolverBase< R >::Type)
sets pricing type.
SPxSolverBase< R > * thesolver
the solver
SPxPricer(const char *p_name)
constructor
virtual void setRep(typename SPxSolverBase< R >::Representation)
sets basis representation.
SPxPricer & operator=(const SPxPricer &rhs)
assignment operator
virtual void removedVec(int)
vector i was removed from loaded LP.
virtual SPxId selectEnter()=0
selects Id to enter basis.
virtual void left4(int, SPxId)
performs leaving pivot.
virtual void addedCoVecs(int)
n covectors have been added to loaded LP.
virtual R pricingTolerance() const
returns the pricing tolerance
virtual int selectLeave()=0
returns selected index to leave basis.
Sequential object-oriented SimPlex.
Representation
LP basis representation.
Everything should be within this namespace.
Generic QuickSort implementation.
Debugging, floating point type and parameter definitions.
Compare class to sort idx/val pairs, used for hypersparse pricing leaving.
R operator()(IdxElement a, IdxElement b) const
const IdxElement * elements