19 #ifndef _SPXWEIGHTPR_H_ 20 #define _SPXWEIGHTPR_H_ 88 , cPenalty(old.cPenalty)
89 , rPenalty(old.rPenalty)
90 , leavePenalty(old.leavePenalty)
93 , objlength(old.objlength)
180 #endif // _SPXWEIGHTPR_H_
Abstract pricer base class.
void setType(SPxSolver::Type tp)
set entering/leaving algorithm
Representation
LP basis representation.
SPxPricer & operator=(const SPxPricer &rhs)
assignment operator
void computeCP(int start, int end)
compute weights for columns.
const R * get_const_ptr() const
Conversion to C-style pointer.
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
Weighted pricing.Class SPxWeightPR is an implemantation class of SPxPricer that uses weights for colu...
virtual SPxPricer * clone() const
clone function for polymorphism
SPxWeightPR(const SPxWeightPR &old)
copy constructor
virtual void removedVecs(const int perm[])
n vectors have been removed from the loaded LP.
DVector cPenalty
column penalties
virtual void addedVecs(int n)
n vectors have been added to the loaded LP.
virtual void removedCoVecs(const int perm[])
n covectors have been removed from the loaded LP.
virtual ~SPxWeightPR()
destructor
Abstract pricer base class.Class SPxPricer is a pure virtual class defining the interface for pricer ...
virtual void removedCoVec(int i)
the i'th covector has been removed from the loaded LP.
virtual SPxId selectEnter()
virtual void removedVec(int i)
the i'th vector has been removed from the loaded LP.
DVector leavePenalty
penalties for leaving alg
Debugging, floating point type and parameter definitions.
virtual bool isConsistent() const
checks for consistency
Sequential object-oriented SimPlex.SPxSolver is an LP solver class using the revised Simplex algorith...
Everything should be within this namespace.
virtual void addedCoVecs(int n)
n covectors have been added to the loaded LP.
void computeLeavePenalty(int start, int end)
compute leave penalties.
Real objlength
length of objective vector.
void computeRP(int start, int end)
compute weights for rows.
virtual int selectLeave()
SPxWeightPR & operator=(const SPxWeightPR &rhs)
assignment operator
void setRep(SPxSolver::Representation rep)
set row/column representation
virtual void load(SPxSolver *base)
sets the solver
SPxWeightPR()
default constructor
DVector rPenalty
row penalties