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

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

moving sandbox stuff to trunk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1/* $Id: ClpDualRowDantzig.hpp 1502 2010-01-29 14:25:07Z forrest $ */
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.