source: trunk/Clp/src/ClpPrimalColumnDantzig.hpp @ 1402

Last change on this file since 1402 was 1402, checked in by forrest, 10 years ago

get rid of compiler warnings

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