6 #ifndef ClpDualRowPivot_H
7 #define ClpDualRowPivot_H
48 double & changeInObjective) = 0;
126 #ifndef CLP_DUAL_COLUMN_MULTIPLIER
Dual Row Pivot Abstract Base Class.
virtual void maximumPivotsChanged()
Called when maximum pivots changes.
virtual ~ClpDualRowPivot()
Destructor.
void setModel(ClpSimplex *newmodel)
Sets model (normally to NULL)
virtual void checkAccuracy()
checks accuracy and may re-initialize (may be empty)
ClpDualRowPivot()
Default Constructor.
virtual double updateWeights(CoinIndexedVector *input, CoinIndexedVector *spare, CoinIndexedVector *spare2, CoinIndexedVector *updatedColumn)=0
Updates weights and returns pivot alpha.
ClpSimplex * model()
Returns model.
int type_
Type of row pivot algorithm.
This solves LPs using the simplex method.
virtual bool looksOptimal() const
Returns true if would not find any row.
virtual void unrollWeights()
Gets rid of last update (may be empty)
virtual void updatePrimalSolution(CoinIndexedVector *input, double theta, double &changeInObjective)=0
Updates primal solution (and maybe list of candidates) Uses input vector which it deletes Computes ch...
virtual void clearArrays()
Gets rid of all arrays (may be empty)
ClpSimplex * model_
Pointer to model.
virtual void saveWeights(ClpSimplex *model, int mode)
Saves any weights round factorization as pivot rows may change Will be empty unless steepest edge (wi...
ClpDualRowPivot & operator=(const ClpDualRowPivot &rhs)
Assignment operator.
virtual int pivotRow()=0
Returns pivot row, -1 if none.
virtual ClpDualRowPivot * clone(bool copyData=true) const =0
Clone.
int type()
Returns type (above 63 is extra information)