source: trunk/include/ClpPrimalColumnDantzig.hpp @ 15

Last change on this file since 15 was 2, checked in by forrest, 18 years ago

Adding Clp to development branch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
RevLine 
[2]1// Copyright (C) 2002, International Business Machines
2// Corporation and others.  All Rights Reserved.
3#ifndef ClpPrimalColumnDantzig_H
4#define ClpPrimalColumnDantzig_H
5
6#include "ClpPrimalColumnPivot.hpp"
7
8//#############################################################################
9
10/** Primal Column Pivot Dantzig Algorithm Class
11
12This is simplest choice - choose largest infeasibility
13
14*/
15
16class ClpPrimalColumnDantzig : public ClpPrimalColumnPivot {
17 
18public:
19 
20  ///@name Algorithmic methods
21  //@{
22 
23  /** Returns pivot column, -1 if none.
24      Lumbers over all columns - slow
25      updateArray has cost updates (also use pivotRow_ from last iteration)
26      Can just do full price if you really want to be slow
27  */
28  virtual int pivotColumn(OsiIndexedVector * updates,
29                          OsiIndexedVector * spareRow1,
30                          OsiIndexedVector * spareRow2,
31                          OsiIndexedVector * spareColumn1,
32                          OsiIndexedVector * spareColumn2);
33
34  /// Just sets model
35  virtual void saveWeights(ClpSimplex * model,int mode)
36  {model_=model;};
37  //@}
38 
39 
40  ///@name Constructors and destructors
41  //@{
42  /// Default Constructor
43  ClpPrimalColumnDantzig(); 
44 
45  /// Copy constructor
46  ClpPrimalColumnDantzig(const ClpPrimalColumnDantzig &);
47 
48  /// Assignment operator
49  ClpPrimalColumnDantzig & operator=(const ClpPrimalColumnDantzig& rhs);
50 
51  /// Destructor
52  virtual ~ClpPrimalColumnDantzig ();
53
54  /// Clone
55  virtual ClpPrimalColumnPivot * clone(bool copyData = true) const;
56 
57  //@}
58
59  //---------------------------------------------------------------------------
60 
61private:
62  ///@name Private member data
63  //@}
64};
65
66#endif
Note: See TracBrowser for help on using the repository browser.