Go to the documentation of this file.
6 #ifndef ClpDualRowSteepest_H
7 #define ClpDualRowSteepest_H
10 class CoinIndexedVector;
34 CoinIndexedVector * spare,
35 CoinIndexedVector * spare2,
36 CoinIndexedVector * updatedColumn);
44 double & changeInObjective);
61 {
return savedWeights_;}
108 inline int mode()
const {
121 return persistence_ ;
143 CoinIndexedVector * infeasible_;
145 CoinIndexedVector * alternateWeights_;
147 CoinIndexedVector * savedWeights_;
149 int * dubiousWeights_;
This solves LPs using the simplex method.
ClpSimplex * model()
Returns model.
void setPersistence(Persistence life)
Set/ get persistence.
Persistence
enums for persistence
virtual void saveWeights(ClpSimplex *model, int mode)
Saves any weights round factorization as pivot rows may change Save model May also recompute infeasib...
virtual void updatePrimalSolution(CoinIndexedVector *input, double theta, double &changeInObjective)
Updates primal solution (and maybe list of candidates) Uses input vector which it deletes Computes ch...
virtual ClpDualRowPivot * clone(bool copyData=true) const
Clone.
virtual bool looksOptimal() const
Returns true if would not find any row.
void setMode(int mode)
Set mode.
Dual Row Pivot Steepest Edge Algorithm Class.
virtual void maximumPivotsChanged()
Called when maximum pivots changes.
virtual double updateWeights(CoinIndexedVector *input, CoinIndexedVector *spare, CoinIndexedVector *spare2, CoinIndexedVector *updatedColumn)
Updates weights and returns pivot alpha.
virtual void clearArrays()
Gets rid of all arrays.
Persistence persistence() const
ClpDualRowSteepest & operator=(const ClpDualRowSteepest &rhs)
Assignment operator.
ClpDualRowSteepest(const ClpDualRowSteepest &)
Copy constructor.
void passInSavedWeights(const CoinIndexedVector *saved)
Pass in saved weights.
ClpDualRowSteepest(int mode=3)
Default Constructor 0 is uninitialized, 1 full, 2 is partial uninitialized, 3 starts as 2 but may swi...
CoinIndexedVector * savedWeights()
Get saved weights.
Dual Row Pivot Abstract Base Class.
void fill(const ClpDualRowSteepest &rhs)
Fill most values.
virtual int pivotRow()
Returns pivot row, -1 if none.
virtual ~ClpDualRowSteepest()
Destructor.
virtual void unrollWeights()
Gets rid of last update.