97 return (
a.val ==
b.val) ? 0 :
b.val -
a.val;
166 this->
thesolver->weightsAreSetup =
false;
264#ifdef ENABLE_CONSISTENCY_CHECKS
Safe arrays of data objects.
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 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
virtual void load(SPxSolverBase< R > *p_solver)
loads LP.
virtual const char * getName() const
get name of pricer.
virtual R epsilon() const
returns violation bound theeps.
virtual SPxSolverBase< R > * solver() const
returns loaded SPxSolverBase object.
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 void setEpsilon(R eps)
sets violation bound.
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 int selectLeave()=0
returns selected index to leave basis.
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