CbcHeuristicDiveGuided.hpp
Go to the documentation of this file.
1 /* $Id: CbcHeuristicDiveGuided.hpp 1173 2009-06-04 09:44:10Z forrest $ */
2 // Copyright (C) 2008, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 #ifndef CbcHeuristicDiveGuided_H
5 #define CbcHeuristicDiveGuided_H
6 
7 #include "CbcHeuristicDive.hpp"
8 
13 public:
14 
15  // Default Constructor
17 
18  // Constructor with model - assumed before cuts
20 
21  // Copy constructor
23 
24  // Destructor
26 
28  virtual CbcHeuristicDiveGuided * clone() const;
29 
32 
34  virtual void generateCpp( FILE * fp) ;
35 
37  virtual bool canHeuristicRun();
38 
40 
45  virtual bool selectVariableToBranch(OsiSolverInterface* solver,
46  const double* newSolution,
47  int& bestColumn,
48  int& bestRound);
49 
50 };
51 
52 #endif
53 
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
virtual bool selectVariableToBranch(OsiSolverInterface *solver, const double *newSolution, int &bestColumn, int &bestRound)
Selects the next variable to branch on.
virtual bool canHeuristicRun()
Tests if the heuristic can run.
virtual CbcHeuristicDiveGuided * clone() const
Clone.
CbcHeuristicDiveGuided & operator=(const CbcHeuristicDiveGuided &rhs)
Assignment operator.
Simple Branch and bound class.
Definition: CbcModel.hpp:98