Cbc  2.9.9
 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 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 
10 class ClpSimplexPrimalQuadratic;
11 class ClpQuadraticInfo;
12 //#############################################################################
13 
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 
49 
52 
54  ClpPrimalQuadraticDantzig(ClpSimplexPrimalQuadratic * model,
55  ClpQuadraticInfo * info);
56 
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
ClpSimplex * model_
Pointer to model.
Primal Column Pivot Abstract Base Class.
ClpPrimalQuadraticDantzig & operator=(const ClpPrimalQuadraticDantzig &rhs)
Assignment operator.
virtual ClpPrimalColumnPivot * clone(bool copyData=true) const
Clone.
virtual int pivotColumn(CoinIndexedVector *updates, CoinIndexedVector *spareRow1, CoinIndexedVector *spareRow2, CoinIndexedVector *spareColumn1, CoinIndexedVector *spareColumn2)
Returns pivot column, -1 if none.
virtual void saveWeights(ClpSimplex *model, int mode)
Just sets model.
This solves LPs using the simplex method.
Definition: ClpSimplex.hpp:70
Indexed Vector.
virtual ~ClpPrimalQuadraticDantzig()
Destructor.
ClpSimplex * model()
Returns model.
ClpPrimalQuadraticDantzig()
Default Constructor.
Primal Column Pivot Dantzig Algorithm Class.