Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
ClpDualRowDantzig Class Reference

Dual Row Pivot Dantzig Algorithm Class. More...

#include <ClpDualRowDantzig.hpp>

+ Inheritance diagram for ClpDualRowDantzig:
+ Collaboration diagram for ClpDualRowDantzig:

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...
 
ClpDualRowDantzigoperator= (const ClpDualRowDantzig &rhs)
 Assignment operator. More...
 
virtual ~ClpDualRowDantzig ()
 Destructor. More...
 
virtual ClpDualRowPivotclone (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...
 
ClpDualRowPivotoperator= (const ClpDualRowPivot &rhs)
 Assignment operator. More...
 
virtual ~ClpDualRowPivot ()
 Destructor. More...
 
ClpSimplexmodel ()
 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
ClpSimplexmodel_
 Pointer to model. More...
 
int type_
 Type of row pivot algorithm. More...
 

Detailed Description

Dual Row Pivot Dantzig Algorithm Class.

This is simplest choice - choose largest infeasibility

Definition at line 19 of file ClpDualRowDantzig.hpp.

Constructor & Destructor Documentation

ClpDualRowDantzig::ClpDualRowDantzig ( )

Default Constructor.

ClpDualRowDantzig::ClpDualRowDantzig ( const ClpDualRowDantzig )

Copy constructor.

virtual ClpDualRowDantzig::~ClpDualRowDantzig ( )
virtual

Destructor.

Member Function Documentation

virtual int ClpDualRowDantzig::pivotRow ( )
virtual

Returns pivot row, -1 if none.

Implements ClpDualRowPivot.

virtual double ClpDualRowDantzig::updateWeights ( CoinIndexedVector input,
CoinIndexedVector spare,
CoinIndexedVector spare2,
CoinIndexedVector updatedColumn 
)
virtual

Updates weights and returns pivot alpha.

Also does FT update

Implements ClpDualRowPivot.

virtual void ClpDualRowDantzig::updatePrimalSolution ( CoinIndexedVector input,
double  theta,
double &  changeInObjective 
)
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 ClpDualRowPivot* ClpDualRowDantzig::clone ( bool  copyData = true) const
virtual

Clone.

Implements ClpDualRowPivot.


The documentation for this class was generated from the following file: