Cbc
2.10.10
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
d
l
p
r
s
Functions
a
d
l
p
r
s
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Related Functions
Files
File List
File Members
All
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Functions
a
c
d
e
f
g
o
r
s
w
Variables
Enumerations
Enumerator
c
d
f
g
l
n
o
s
Macros
c
h
i
m
n
o
p
s
t
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Cbc
src
CbcHeuristicDiveGuided.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 CbcHeuristicDiveGuided_H
7
#define CbcHeuristicDiveGuided_H
8
9
#include "
CbcHeuristicDive.hpp
"
10
14
class
CbcHeuristicDiveGuided
:
public
CbcHeuristicDive
{
15
public
:
16
// Default Constructor
17
CbcHeuristicDiveGuided
();
18
19
// Constructor with model - assumed before cuts
20
CbcHeuristicDiveGuided
(
CbcModel
&model);
21
22
// Copy constructor
23
CbcHeuristicDiveGuided
(
const
CbcHeuristicDiveGuided
&);
24
25
// Destructor
26
~CbcHeuristicDiveGuided
();
27
29
virtual
CbcHeuristicDiveGuided
*
clone
()
const
;
30
32
CbcHeuristicDiveGuided
&
operator=
(
const
CbcHeuristicDiveGuided
&rhs);
33
35
virtual
void
generateCpp
(FILE *fp);
36
38
virtual
bool
canHeuristicRun
();
39
41
46
virtual
bool
selectVariableToBranch
(OsiSolverInterface *solver,
47
const
double
*newSolution,
48
int
&bestColumn,
49
int
&bestRound);
50
};
51
52
#endif
53
54
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
55
*/
CbcHeuristicDiveGuided::canHeuristicRun
virtual bool canHeuristicRun()
Tests if the heuristic can run.
CbcHeuristicDive.hpp
CbcHeuristicDiveGuided::CbcHeuristicDiveGuided
CbcHeuristicDiveGuided()
CbcHeuristicDiveGuided::clone
virtual CbcHeuristicDiveGuided * clone() const
Clone.
CbcHeuristicDiveGuided::~CbcHeuristicDiveGuided
~CbcHeuristicDiveGuided()
CbcModel
Simple Branch and bound class.
Definition:
CbcModel.hpp:100
CbcHeuristicDiveGuided::generateCpp
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
CbcHeuristicDiveGuided
DiveGuided class.
Definition:
CbcHeuristicDiveGuided.hpp:14
CbcHeuristicDiveGuided::operator=
CbcHeuristicDiveGuided & operator=(const CbcHeuristicDiveGuided &rhs)
Assignment operator.
CbcHeuristicDiveGuided::selectVariableToBranch
virtual bool selectVariableToBranch(OsiSolverInterface *solver, const double *newSolution, int &bestColumn, int &bestRound)
Selects the next variable to branch on.
CbcHeuristicDive
Dive class.
Definition:
CbcHeuristicDive.hpp:20
Generated by
1.8.17