19 #ifndef _SPXWEIGHTPR_H_ 20 #define _SPXWEIGHTPR_H_ 89 , cPenalty(old.cPenalty)
90 , rPenalty(old.rPenalty)
91 , leavePenalty(old.leavePenalty)
94 , objlength(old.objlength)
183 #include "spxweightpr.hpp" 185 #endif // _SPXWEIGHTPR_H_ Representation
LP basis representation.
void setType(typename SPxSolverBase< R >::Type tp)
set entering/leaving algorithm
Dense vector.Class VectorBase provides dense linear algebra vectors. Internally, VectorBase wraps std...
Abstract pricer base class.
virtual void load(SPxSolverBase< R > *base)
sets the solver
virtual int selectLeave()
Sequential object-oriented SimPlex.SPxSolverBase is an LP solver class using the revised Simplex algo...
SPxPricer & operator=(const SPxPricer &rhs)
assignment operator
VectorBase< R > cPenalty
column penalties
void setRep(typename SPxSolverBase< R >::Representation rep)
set row/column representation
void computeCP(int start, int end)
compute weights for columns.
virtual void removedCoVec(int i)
the i'th covector has been removed from the loaded LP.
virtual void addedCoVecs(int n)
n covectors have been added to the loaded LP.
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< R > * clone() const
clone function for polymorphism
SPxWeightPR(const SPxWeightPR &old)
copy constructor
virtual ~SPxWeightPR()
destructor
Abstract pricer base class.Class SPxPricer is a pure virtual class defining the interface for pricer ...
VectorBase< R > leavePenalty
penalties for leaving alg
Debugging, floating point type and parameter definitions.
virtual void removedVec(int i)
the i'th vector has been removed from the loaded LP.
virtual bool isConsistent() const
checks for consistency
Everything should be within this namespace.
virtual void removedVecs(const int perm[])
n vectors have been removed from the loaded LP.
void computeLeavePenalty(int start, int end)
compute leave penalties.
virtual void addedVecs(int n)
n vectors have been added to the loaded LP.
void computeRP(int start, int end)
compute weights for rows.
VectorBase< R > rPenalty
row penalties
SPxWeightPR & operator=(const SPxWeightPR &rhs)
assignment operator
virtual SPxId selectEnter()
SPxWeightPR()
default constructor
R objlength
length of objective vector.
virtual void removedCoVecs(const int perm[])
n covectors have been removed from the loaded LP.