Clp 1.17.6

- 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
ClpPrimalQuadraticDantzig.hpp
Go to the documentation of this file.
1 /* $Id: ClpPrimalQuadraticDantzig.hpp 2385 2019-01-06 19:43:06Z unxusr $ */
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 ClpPrimalQuadraticDantzig_H
7 #define ClpPrimalQuadraticDantzig_H
8
9 #include "ClpPrimalColumnPivot.hpp"
10 class ClpSimplexPrimalQuadratic;
11 class ClpQuadraticInfo;
12 //#############################################################################
13
20 class ClpPrimalQuadraticDantzig : public ClpPrimalColumnPivot {
21
22 public:
24
25
31 virtual int pivotColumn(CoinIndexedVector *updates,
32 CoinIndexedVector *spareRow1,
33 CoinIndexedVector *spareRow2,
34 CoinIndexedVector *spareColumn1,
35 CoinIndexedVector *spareColumn2);
36
38 virtual void saveWeights(ClpSimplex *model, int mode)
39 {
40 model_ = model;
41 }
43
45
46 ClpPrimalQuadraticDantzig();
48
50 ClpPrimalQuadraticDantzig(const ClpPrimalQuadraticDantzig &);
51
53 ClpPrimalQuadraticDantzig(ClpSimplexPrimalQuadratic *model,
54 ClpQuadraticInfo *info);
55
57 ClpPrimalQuadraticDantzig &operator=(const ClpPrimalQuadraticDantzig &rhs);
58
60 virtual ~ClpPrimalQuadraticDantzig();
61
63 virtual ClpPrimalColumnPivot *clone(bool copyData = true) const;
64
66
67 //---------------------------------------------------------------------------
68
69 private:
72 ClpQuadraticInfo *quadraticInfo_;
74 };
75
76 #endif
77
78 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
79 */
ClpPrimalColumnPivot::model_
ClpSimplex * model_
Pointer to model.
Definition: ClpPrimalColumnPivot.hpp:150
ClpPrimalColumnPivot
Primal Column Pivot Abstract Base Class.
Definition: ClpPrimalColumnPivot.hpp:25
ClpPrimalQuadraticDantzig::operator=
ClpPrimalQuadraticDantzig & operator=(const ClpPrimalQuadraticDantzig &rhs)
Assignment operator.
ClpPrimalQuadraticDantzig::clone
virtual ClpPrimalColumnPivot * clone(bool copyData=true) const
Clone.
ClpPrimalQuadraticDantzig::pivotColumn
virtual int pivotColumn(CoinIndexedVector *updates, CoinIndexedVector *spareRow1, CoinIndexedVector *spareRow2, CoinIndexedVector *spareColumn1, CoinIndexedVector *spareColumn2)
Returns pivot column, -1 if none.
ClpPrimalQuadraticDantzig::saveWeights
virtual void saveWeights(ClpSimplex *model, int mode)
Just sets model.
Definition: ClpPrimalQuadraticDantzig.hpp:38
ClpSimplex
This solves LPs using the simplex method.
Definition: ClpSimplex.hpp:106
CoinIndexedVector
Indexed Vector.
Definition: CoinIndexedVector.hpp:104
ClpPrimalQuadraticDantzig::~ClpPrimalQuadraticDantzig
virtual ~ClpPrimalQuadraticDantzig()
Destructor.
ClpPrimalColumnPivot::model
ClpSimplex * model()
Returns model.
Definition: ClpPrimalColumnPivot.hpp:117
ClpPrimalQuadraticDantzig::ClpPrimalQuadraticDantzig
ClpPrimalQuadraticDantzig()
Default Constructor.
ClpPrimalQuadraticDantzig
Primal Column Pivot Dantzig Algorithm Class.
Definition: ClpPrimalQuadraticDantzig.hpp:20
ClpPrimalColumnPivot.hpp
ClpPrimalQuadraticDantzig::quadraticInfo_
ClpQuadraticInfo * quadraticInfo_
Definition: ClpPrimalQuadraticDantzig.hpp:72