Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbcHeuristicDiveGuided.hpp
Go to the documentation of this file.
1 /* $Id: CbcHeuristicDiveGuided.hpp 1899 2013-04-09 18:12:08Z stefan $ */
2 // Copyright (C) 2008, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 #ifndef CbcHeuristicDiveGuided_H
7 #define CbcHeuristicDiveGuided_H
8 
9 #include "CbcHeuristicDive.hpp"
10 
15 public:
16 
17  // Default Constructor
19 
20  // Constructor with model - assumed before cuts
22 
23  // Copy constructor
25 
26  // Destructor
28 
30  virtual CbcHeuristicDiveGuided * clone() const;
31 
34 
36  virtual void generateCpp( FILE * fp) ;
37 
39  virtual bool canHeuristicRun();
40 
42 
47  virtual bool selectVariableToBranch(OsiSolverInterface* solver,
48  const double* newSolution,
49  int& bestColumn,
50  int& bestRound);
51 
52 };
53 
54 #endif
55 
Abstract Base Class for describing an interface to a solver.
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
virtual CbcHeuristicDiveGuided * clone() const
Clone.
virtual bool selectVariableToBranch(OsiSolverInterface *solver, const double *newSolution, int &bestColumn, int &bestRound)
Selects the next variable to branch on.
Simple Branch and bound class.
Definition: CbcModel.hpp:101
CbcHeuristicDiveGuided & operator=(const CbcHeuristicDiveGuided &rhs)
Assignment operator.
virtual bool canHeuristicRun()
Tests if the heuristic can run.