Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AbcPrimalColumnDantzig.hpp
Go to the documentation of this file.
1 /* $Id: AbcPrimalColumnDantzig.hpp 1910 2013-01-27 02:00:13Z stefan $ */
2 // Copyright (C) 2002, International Business Machines
3 // Corporation and others, Copyright (C) 2012, FasterCoin. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 #ifndef AbcPrimalColumnDantzig_H
7 #define AbcPrimalColumnDantzig_H
8 
10 
11 //#############################################################################
12 
20 
21 public:
22 
24 
25 
33  virtual int pivotColumn(CoinPartitionedVector * updates,
34  CoinPartitionedVector * spareRow2,
35  CoinPartitionedVector * spareColumn1);
36 
38  virtual void saveWeights(AbcSimplex * model, int) {
39  model_ = model;
40  }
42 
43 
45 
48 
51 
54 
56  virtual ~AbcPrimalColumnDantzig ();
57 
59  virtual AbcPrimalColumnPivot * clone(bool copyData = true) const;
60 
62 
63  //---------------------------------------------------------------------------
64 
65 private:
67 
68 };
69 
70 #endif
Primal Column Pivot Abstract Base Class.
Primal Column Pivot Dantzig Algorithm Class.
virtual ~AbcPrimalColumnDantzig()
Destructor.
virtual void saveWeights(AbcSimplex *model, int)
Just sets model.
virtual AbcPrimalColumnPivot * clone(bool copyData=true) const
Clone.
AbcPrimalColumnDantzig()
Default Constructor.
AbcSimplex * model_
Pointer to model.
AbcSimplex * model()
Returns model.
AbcPrimalColumnDantzig & operator=(const AbcPrimalColumnDantzig &rhs)
Assignment operator.
virtual int pivotColumn(CoinPartitionedVector *updates, CoinPartitionedVector *spareRow2, CoinPartitionedVector *spareColumn1)
Returns pivot column, -1 if none.