Cgl 0.59.7

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClpPrimalColumnDantzig.hpp
Go to the documentation of this file.
1 /* $Id: ClpPrimalColumnDantzig.hpp 1665 2011-01-04 17:55:54Z lou $ */
2 // Copyright (C) 2002, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5
6 #ifndef ClpPrimalColumnDantzig_H
7 #define ClpPrimalColumnDantzig_H
8
9 #include "ClpPrimalColumnPivot.hpp"
10
11 //#############################################################################
12
19 class ClpPrimalColumnDantzig : public ClpPrimalColumnPivot {
20
21 public:
22
24
25
33 virtual int pivotColumn(CoinIndexedVector * updates,
34 CoinIndexedVector * spareRow1,
35 CoinIndexedVector * spareRow2,
36 CoinIndexedVector * spareColumn1,
37 CoinIndexedVector * spareColumn2);
38
40 virtual void saveWeights(ClpSimplex * model, int) {
41 model_ = model;
42 }
44
45
47
48 ClpPrimalColumnDantzig();
50
52 ClpPrimalColumnDantzig(const ClpPrimalColumnDantzig &);
53
55 ClpPrimalColumnDantzig & operator=(const ClpPrimalColumnDantzig& rhs);
56
58 virtual ~ClpPrimalColumnDantzig ();
59
61 virtual ClpPrimalColumnPivot * clone(bool copyData = true) const;
62
64
65 //---------------------------------------------------------------------------
66
67 private:
69
70 };
71
72 #endif
ClpPrimalColumnDantzig::pivotColumn
virtual int pivotColumn(CoinIndexedVector *updates, CoinIndexedVector *spareRow1, CoinIndexedVector *spareRow2, CoinIndexedVector *spareColumn1, CoinIndexedVector *spareColumn2)
Returns pivot column, -1 if none.
ClpPrimalColumnDantzig::clone
virtual ClpPrimalColumnPivot * clone(bool copyData=true) const
Clone.
ClpPrimalColumnPivot::model_
ClpSimplex * model_
Pointer to model.
Definition: ClpPrimalColumnPivot.hpp:145
ClpPrimalColumnPivot
Primal Column Pivot Abstract Base Class.
Definition: ClpPrimalColumnPivot.hpp:25
ClpPrimalColumnDantzig
Primal Column Pivot Dantzig Algorithm Class.
Definition: ClpPrimalColumnDantzig.hpp:19
ClpPrimalColumnDantzig::operator=
ClpPrimalColumnDantzig & operator=(const ClpPrimalColumnDantzig &rhs)
Assignment operator.
ClpSimplex
This solves LPs using the simplex method.
Definition: ClpSimplex.hpp:70
ClpPrimalColumnDantzig::ClpPrimalColumnDantzig
ClpPrimalColumnDantzig()
Default Constructor.
CoinIndexedVector
Indexed Vector.
Definition: CoinIndexedVector.hpp:104
ClpPrimalColumnDantzig::saveWeights
virtual void saveWeights(ClpSimplex *model, int)
Just sets model.
Definition: ClpPrimalColumnDantzig.hpp:40
ClpPrimalColumnPivot::model
ClpSimplex * model()
Returns model.
Definition: ClpPrimalColumnPivot.hpp:115
ClpPrimalColumnPivot.hpp
ClpPrimalColumnDantzig::~ClpPrimalColumnDantzig
virtual ~ClpPrimalColumnDantzig()
Destructor.