Cbc  2.8.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CbcHeuristicDiveLineSearch.hpp
Go to the documentation of this file.
1 /* $Id: CbcHeuristicDiveLineSearch.hpp 1902 2013-04-10 16:58:16Z 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 CbcHeuristicDiveLineSearch_H
7 #define CbcHeuristicDiveLineSearch_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 CbcHeuristicDiveLineSearch * clone() const;
31 
34 
36  virtual void generateCpp( FILE * fp) ;
37 
39 
44  virtual bool selectVariableToBranch(OsiSolverInterface* solver,
45  const double* newSolution,
46  int& bestColumn,
47  int& bestRound);
48 
49 };
50 
51 #endif
52 
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
CbcHeuristicDiveLineSearch & operator=(const CbcHeuristicDiveLineSearch &rhs)
Assignment operator.
virtual CbcHeuristicDiveLineSearch * 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:100