source: branches/devel-1/include/ClpDualRowDantzig.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.3 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 primal solution (and maybe list of candidates)
27      Uses input vector which it deletes
28      Computes change in objective function
29  */
30  virtual void updatePrimalSolution(OsiIndexedVector * input,
31                                    double theta,
32                                    double & changeInObjective);
33  //@}
34 
35 
36  ///@name Constructors and destructors
37  //@{
38  /// Default Constructor
39  ClpDualRowDantzig(); 
40 
41  /// Copy constructor
42  ClpDualRowDantzig(const ClpDualRowDantzig &);
43 
44  /// Assignment operator
45  ClpDualRowDantzig & operator=(const ClpDualRowDantzig& rhs);
46 
47  /// Destructor
48  virtual ~ClpDualRowDantzig ();
49
50  /// Clone
51  virtual ClpDualRowPivot * clone(bool copyData = true) const;
52 
53  //@}
54
55  //---------------------------------------------------------------------------
56 
57private:
58  ///@name Private member data
59  //@}
60};
61
62#endif
Note: See TracBrowser for help on using the repository browser.