source: trunk/Cbc/src/CbcHeuristicDiveVectorLength.hpp @ 912

Last change on this file since 912 was 912, checked in by ladanyi, 13 years ago

Incorporated changes from branches/heur

File size: 1.1 KB
Line 
1// Copyright (C) 2008, International Business Machines
2// Corporation and others.  All Rights Reserved.
3#ifndef CbcHeuristicDiveVectorLength_H
4#define CbcHeuristicDiveVectorLength_H
5
6#include "CbcHeuristicDive.hpp"
7
8/** DiveVectorLength class
9 */
10
11class CbcHeuristicDiveVectorLength : public CbcHeuristicDive {
12public:
13
14  // Default Constructor
15  CbcHeuristicDiveVectorLength ();
16
17  // Constructor with model - assumed before cuts
18  CbcHeuristicDiveVectorLength (CbcModel & model);
19 
20  // Copy constructor
21  CbcHeuristicDiveVectorLength ( const CbcHeuristicDiveVectorLength &);
22   
23  // Destructor
24  ~CbcHeuristicDiveVectorLength ();
25
26  /// Clone
27  virtual CbcHeuristicDiveVectorLength * clone() const;
28 
29  /// Assignment operator
30  CbcHeuristicDiveVectorLength & operator=(const CbcHeuristicDiveVectorLength& rhs);
31
32  /// Create C++ lines to get to current state
33  virtual void generateCpp( FILE * fp) ;
34
35  /// Selects the next variable to branch on
36  virtual void selectVariableToBranch(OsiSolverInterface* solver,
37                                      const double* newSolution,
38                                      int& bestColumn,
39                                      int& bestRound);
40
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.