Go to the documentation of this file.
6 #ifndef ClpPrimalcolumnPivot_H
7 #define ClpPrimalcolumnPivot_H
10 class CoinIndexedVector;
50 CoinIndexedVector *spareRow1,
51 CoinIndexedVector *spareRow2,
52 CoinIndexedVector *spareColumn1,
53 CoinIndexedVector *spareColumn2)
157 #ifndef CLP_PRIMAL_SLACK_MULTIPLIER
158 #define CLP_PRIMAL_SLACK_MULTIPLIER 1.01
This solves LPs using the simplex method.
virtual void switchOffSprint()
Switch off sprint idea.
virtual ~ClpPrimalColumnPivot()
Destructor.
virtual void setLooksOptimal(bool flag)
Sets optimality flag (for advanced use)
virtual int numberSprintColumns(int &numberIterations) const
Returns number of extra columns for sprint algorithm - 0 means off.
ClpPrimalColumnPivot & operator=(const ClpPrimalColumnPivot &rhs)
Assignment operator.
virtual int pivotColumn(CoinIndexedVector *updates, CoinIndexedVector *spareRow1, CoinIndexedVector *spareRow2, CoinIndexedVector *spareColumn1, CoinIndexedVector *spareColumn2)=0
Returns pivot column, -1 if none.
virtual int pivotRow(double &way)
Signals pivot row choice: -2 (default) - use normal pivot row choice -1 to numberRows-1 - use this (w...
Primal Column Pivot Abstract Base Class.
int type()
Returns type (above 63 is extra information)
virtual void clearArrays()
Gets rid of all arrays (may be empty)
ClpSimplex * model()
Returns model.
int type_
Type of column pivot algorithm.
virtual void updateWeights(CoinIndexedVector *input)
Updates weights - part 1 (may be empty)
virtual bool looksOptimal() const
Returns true if would not find any column.
virtual void saveWeights(ClpSimplex *model, int mode)=0
Saves any weights round factorization as pivot rows may change Will be empty unless steepest edge (wi...
ClpPrimalColumnPivot()
Default Constructor.
ClpSimplex * model_
Pointer to model.
virtual void maximumPivotsChanged()
Called when maximum pivots changes.
virtual ClpPrimalColumnPivot * clone(bool copyData=true) const =0
Clone.
bool looksOptimal_
Says if looks optimal (normally computed)
void setModel(ClpSimplex *newmodel)
Sets model.