source: trunk/Clp/src/ClpDualRowDantzig.hpp @ 1525

Last change on this file since 1525 was 1525, checked in by mjs, 10 years ago

Formatted .cpp, .hpp, .c, .h files with "astyle -A4 -p". This matches the formatting used in the grand CBC reorganization.

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