Cbc  2.10.10
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CbcHeuristicDiveLineSearch.hpp
Go to the documentation of this file.
1 /* $Id$ */
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  // Default Constructor
18 
19  // Constructor with model - assumed before cuts
21 
22  // Copy constructor
24 
25  // Destructor
27 
29  virtual CbcHeuristicDiveLineSearch *clone() const;
30 
33 
35  virtual void generateCpp(FILE *fp);
36 
38 
43  virtual bool selectVariableToBranch(OsiSolverInterface *solver,
44  const double *newSolution,
45  int &bestColumn,
46  int &bestRound);
47 };
48 
49 #endif
50 
51 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
52 */
CbcHeuristicDiveLineSearch::~CbcHeuristicDiveLineSearch
~CbcHeuristicDiveLineSearch()
CbcHeuristicDiveLineSearch::generateCpp
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
CbcHeuristicDive.hpp
CbcHeuristicDiveLineSearch::operator=
CbcHeuristicDiveLineSearch & operator=(const CbcHeuristicDiveLineSearch &rhs)
Assignment operator.
CbcHeuristicDiveLineSearch::CbcHeuristicDiveLineSearch
CbcHeuristicDiveLineSearch()
CbcModel
Simple Branch and bound class.
Definition: CbcModel.hpp:100
CbcHeuristicDiveLineSearch
DiveLineSearch class.
Definition: CbcHeuristicDiveLineSearch.hpp:14
CbcHeuristicDiveLineSearch::clone
virtual CbcHeuristicDiveLineSearch * clone() const
Clone.
CbcHeuristicDive
Dive class.
Definition: CbcHeuristicDive.hpp:20
CbcHeuristicDiveLineSearch::selectVariableToBranch
virtual bool selectVariableToBranch(OsiSolverInterface *solver, const double *newSolution, int &bestColumn, int &bestRound)
Selects the next variable to branch on.