Clp
1.17.8
|
Dual Row Pivot Dantzig Algorithm Class. More...
#include <ClpDualRowDantzig.hpp>
Public Member Functions | |
Algorithmic methods | |
virtual int | pivotRow () |
Returns pivot row, -1 if none. More... | |
virtual double | updateWeights (CoinIndexedVector *input, CoinIndexedVector *spare, CoinIndexedVector *spare2, CoinIndexedVector *updatedColumn) |
Updates weights and returns pivot alpha. More... | |
virtual void | updatePrimalSolution (CoinIndexedVector *input, double theta, double &changeInObjective) |
Updates primal solution (and maybe list of candidates) Uses input vector which it deletes Computes change in objective function. More... | |
Constructors and destructors | |
ClpDualRowDantzig () | |
Default Constructor. More... | |
ClpDualRowDantzig (const ClpDualRowDantzig &) | |
Copy constructor. More... | |
ClpDualRowDantzig & | operator= (const ClpDualRowDantzig &rhs) |
Assignment operator. More... | |
virtual | ~ClpDualRowDantzig () |
Destructor. More... | |
virtual ClpDualRowPivot * | clone (bool copyData=true) const |
Clone. More... | |
Public Member Functions inherited from ClpDualRowPivot | |
virtual void | saveWeights (ClpSimplex *model, int mode) |
Saves any weights round factorization as pivot rows may change Will be empty unless steepest edge (will save model) May also recompute infeasibility stuff 1) before factorization 2) after good factorization (if weights empty may initialize) 3) after something happened but no factorization (e.g. More... | |
virtual void | checkAccuracy () |
checks accuracy and may re-initialize (may be empty) More... | |
virtual void | unrollWeights () |
Gets rid of last update (may be empty) More... | |
virtual void | clearArrays () |
Gets rid of all arrays (may be empty) More... | |
virtual bool | looksOptimal () const |
Returns true if would not find any row. More... | |
virtual void | maximumPivotsChanged () |
Called when maximum pivots changes. More... | |
ClpDualRowPivot () | |
Default Constructor. More... | |
ClpDualRowPivot (const ClpDualRowPivot &) | |
Copy constructor. More... | |
ClpDualRowPivot & | operator= (const ClpDualRowPivot &rhs) |
Assignment operator. More... | |
virtual | ~ClpDualRowPivot () |
Destructor. More... | |
ClpSimplex * | model () |
Returns model. More... | |
void | setModel (ClpSimplex *newmodel) |
Sets model (normally to NULL) More... | |
int | type () |
Returns type (above 63 is extra information) More... | |
Additional Inherited Members | |
Protected Attributes inherited from ClpDualRowPivot | |
ClpSimplex * | model_ |
Pointer to model. More... | |
int | type_ |
Type of row pivot algorithm. More... | |
Dual Row Pivot Dantzig Algorithm Class.
This is simplest choice - choose largest infeasibility
Definition at line 19 of file ClpDualRowDantzig.hpp.
ClpDualRowDantzig::ClpDualRowDantzig | ( | ) |
Default Constructor.
ClpDualRowDantzig::ClpDualRowDantzig | ( | const ClpDualRowDantzig & | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
|
virtual |
Updates weights and returns pivot alpha.
Also does FT update
Implements ClpDualRowPivot.
Reimplemented in ClpPEDualRowDantzig.
|
virtual |
Updates primal solution (and maybe list of candidates) Uses input vector which it deletes Computes change in objective function.
Implements ClpDualRowPivot.
ClpDualRowDantzig& ClpDualRowDantzig::operator= | ( | const ClpDualRowDantzig & | rhs | ) |
Assignment operator.
|
virtual |