6#ifndef ClpDualRowPivot_H
7#define ClpDualRowPivot_H
10class CoinIndexedVector;
34 CoinIndexedVector *spare,
35 CoinIndexedVector *spare2,
36 CoinIndexedVector *updatedColumn)
48 double &changeInObjective)
130#ifndef CLP_DUAL_COLUMN_MULTIPLIER
Dual Row Pivot Abstract Base Class.
ClpDualRowPivot(const ClpDualRowPivot &)
Copy constructor.
virtual ClpDualRowPivot * clone(bool copyData=true) const =0
Clone.
void setModel(ClpSimplex *newmodel)
Sets model (normally to NULL)
int type()
Returns type (above 63 is extra information)
virtual void maximumPivotsChanged()
Called when maximum pivots changes.
ClpSimplex * model()
Returns model.
int type_
Type of row pivot algorithm.
virtual bool looksOptimal() const
Returns true if would not find any row.
ClpSimplex * model_
Pointer to model.
virtual void clearArrays()
Gets rid of all arrays (may be empty)
ClpDualRowPivot & operator=(const ClpDualRowPivot &rhs)
Assignment operator.
ClpDualRowPivot()
Default Constructor.
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 checkAccuracy()
checks accuracy and may re-initialize (may be empty)
virtual double updateWeights(CoinIndexedVector *input, CoinIndexedVector *spare, CoinIndexedVector *spare2, CoinIndexedVector *updatedColumn)=0
Updates weights and returns pivot alpha.
virtual int pivotRow()=0
Returns pivot row, -1 if none.
virtual ~ClpDualRowPivot()
Destructor.
virtual void saveWeights(ClpSimplex *model, int mode)
Saves any weights round factorization as pivot rows may change Will be empty unless steepest edge (wi...
This solves LPs using the simplex method.