source: branches/BSP/trunk/Clp/src/ClpDualRowDantzig.hpp @ 1071

Last change on this file since 1071 was 754, checked in by andreasw, 14 years ago

first version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1// Copyright (C) 2002, International Business Machines
2// Corporation and others.  All Rights Reserved.
3#ifndef ClpDualRowDantzig_H
4#define ClpDualRowDantzig_H
5
6#include "ClpDualRowPivot.hpp"
7
8//#############################################################################
9
10/** Dual Row Pivot Dantzig Algorithm Class
11
12This is simplest choice - choose largest infeasibility
13
14*/
15
16class ClpDualRowDantzig : public ClpDualRowPivot {
17 
18public:
19 
20  ///@name Algorithmic methods
21  //@{
22 
23  /// Returns pivot row, -1 if none
24  virtual int pivotRow();
25 
26  /// Updates weights and returns pivot alpha
27  virtual double updateWeights(CoinIndexedVector * input,
28                             CoinIndexedVector * spare,
29                             CoinIndexedVector * updatedColumn);
30  /** Updates primal solution (and maybe list of candidates)
31      Uses input vector which it deletes
32      Computes change in objective function
33  */
34  virtual void updatePrimalSolution(CoinIndexedVector * input,
35                                    double theta,
36                                    double & changeInObjective);
37  //@}
38 
39 
40  ///@name Constructors and destructors
41  //@{
42  /// Default Constructor
43  ClpDualRowDantzig(); 
44 
45  /// Copy constructor
46  ClpDualRowDantzig(const ClpDualRowDantzig &);
47 
48  /// Assignment operator
49  ClpDualRowDantzig & operator=(const ClpDualRowDantzig& rhs);
50 
51  /// Destructor
52  virtual ~ClpDualRowDantzig ();
53
54  /// Clone
55  virtual ClpDualRowPivot * 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.