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

- File List
- File Members

ClpPrimalQuadraticDantzig.hpp
Go to the documentation of this file.
1 /* $Id: ClpPrimalQuadraticDantzig.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 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:
23
25
26
32 virtual int pivotColumn(CoinIndexedVector * updates,
33 CoinIndexedVector * spareRow1,
34 CoinIndexedVector * spareRow2,
35 CoinIndexedVector * spareColumn1,
36 CoinIndexedVector * spareColumn2);
37
39 virtual void saveWeights(ClpSimplex * model, int mode) {
40 model_ = model;
41 }
43
44
46
47 ClpPrimalQuadraticDantzig();
49
51 ClpPrimalQuadraticDantzig(const ClpPrimalQuadraticDantzig &);
52
54 ClpPrimalQuadraticDantzig(ClpSimplexPrimalQuadratic * model,
55 ClpQuadraticInfo * info);
56
58 ClpPrimalQuadraticDantzig & operator=(const ClpPrimalQuadraticDantzig& rhs);
59
61 virtual ~ClpPrimalQuadraticDantzig ();
62
64 virtual ClpPrimalColumnPivot * clone(bool copyData = true) const;
65
67
68 //---------------------------------------------------------------------------
69
70 private:
73 ClpQuadraticInfo * quadraticInfo_;
75 };
76
77 #endif
ClpPrimalQuadraticDantzig::~ClpPrimalQuadraticDantzig
virtual ~ClpPrimalQuadraticDantzig()
Destructor.
ClpPrimalQuadraticDantzig::ClpPrimalQuadraticDantzig
ClpPrimalQuadraticDantzig()
Default Constructor.
ClpPrimalQuadraticDantzig::quadraticInfo_
ClpQuadraticInfo * quadraticInfo_
Definition: ClpPrimalQuadraticDantzig.hpp:73
ClpPrimalColumnPivot
Primal Column Pivot Abstract Base Class.
Definition: ClpPrimalColumnPivot.hpp:25
ClpPrimalColumnPivot.hpp
ClpPrimalQuadraticDantzig::operator=
ClpPrimalQuadraticDantzig & operator=(const ClpPrimalQuadraticDantzig &rhs)
Assignment operator.
ClpPrimalQuadraticDantzig::clone
virtual ClpPrimalColumnPivot * clone(bool copyData=true) const
Clone.
CoinIndexedVector
Indexed Vector.
Definition: CoinIndexedVector.hpp:104
ClpPrimalQuadraticDantzig
Primal Column Pivot Dantzig Algorithm Class.
Definition: ClpPrimalQuadraticDantzig.hpp:20
ClpSimplex
This solves LPs using the simplex method.
Definition: ClpSimplex.hpp:70
ClpPrimalQuadraticDantzig::saveWeights
virtual void saveWeights(ClpSimplex *model, int mode)
Just sets model.
Definition: ClpPrimalQuadraticDantzig.hpp:39
ClpPrimalColumnPivot::model
ClpSimplex * model()
Returns model.
Definition: ClpPrimalColumnPivot.hpp:115
ClpPrimalQuadraticDantzig::pivotColumn
virtual int pivotColumn(CoinIndexedVector *updates, CoinIndexedVector *spareRow1, CoinIndexedVector *spareRow2, CoinIndexedVector *spareColumn1, CoinIndexedVector *spareColumn2)
Returns pivot column, -1 if none.
ClpPrimalColumnPivot::model_
ClpSimplex * model_
Pointer to model.
Definition: ClpPrimalColumnPivot.hpp:145