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