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
CbcHeuristicRENS.hpp
Go to the documentation of this file.
1
// $Id$
2
// Copyright (C) 2006, 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
// edwin 12/5/09 carved out of CbcHeuristicRINS
7
8
#ifndef CbcHeuristicRENS_H
9
#define CbcHeuristicRENS_H
10
11
#include "
CbcHeuristic.hpp
"
12
16
class
CbcHeuristicRENS
:
public
CbcHeuristic
{
17
public
:
18
// Default Constructor
19
CbcHeuristicRENS
();
20
21
/* Constructor with model - assumed before cuts
22
Initial version does not do Lps
23
*/
24
CbcHeuristicRENS
(
CbcModel
&model);
25
26
// Copy constructor
27
CbcHeuristicRENS
(
const
CbcHeuristicRENS
&);
28
29
// Destructor
30
~CbcHeuristicRENS
();
31
33
virtual
CbcHeuristic
*
clone
()
const
;
34
36
CbcHeuristicRENS
&
operator=
(
const
CbcHeuristicRENS
&rhs);
37
39
virtual
void
resetModel
(
CbcModel
*model);
40
42
virtual
void
setModel
(
CbcModel
*model);
43
44
using
CbcHeuristic::solution
;
50
virtual
int
solution
(
double
&objectiveValue,
51
double
*newSolution);
52
54
inline
void
setRensType
(
int
value)
55
{
56
rensType_
= value;
57
}
58
59
protected
:
60
// Data
62
int
numberTries_
;
73
int
rensType_
;
74
};
75
76
#endif
77
78
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
79
*/
CbcHeuristicRENS::numberTries_
int numberTries_
Number of tries.
Definition:
CbcHeuristicRENS.hpp:62
CbcHeuristicRENS::resetModel
virtual void resetModel(CbcModel *model)
Resets stuff if model changes.
CbcHeuristicRENS::setModel
virtual void setModel(CbcModel *model)
update model (This is needed if cliques update matrix etc)
CbcHeuristicRENS::~CbcHeuristicRENS
~CbcHeuristicRENS()
CbcHeuristicRENS::operator=
CbcHeuristicRENS & operator=(const CbcHeuristicRENS &rhs)
Assignment operator.
CbcHeuristicRENS::clone
virtual CbcHeuristic * clone() const
Clone.
CbcHeuristic
Heuristic base class.
Definition:
CbcHeuristic.hpp:86
CbcHeuristicRENS::CbcHeuristicRENS
CbcHeuristicRENS()
CbcHeuristicRENS::solution
virtual int solution(double &objectiveValue, double *newSolution)
returns 0 if no solution, 1 if valid solution.
CbcHeuristicRENS::setRensType
void setRensType(int value)
Set type.
Definition:
CbcHeuristicRENS.hpp:54
CbcModel
Simple Branch and bound class.
Definition:
CbcModel.hpp:100
CbcHeuristicRENS
LocalSearch class.
Definition:
CbcHeuristicRENS.hpp:16
CbcHeuristic::solution
virtual int solution(double &objectiveValue, double *newSolution)=0
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets sol...
CbcHeuristicRENS::rensType_
int rensType_
Type 0 - fix at LB 1 - fix on dj 2 - fix at UB as well 3 - fix on 0.01*average dj add 16 to allow two...
Definition:
CbcHeuristicRENS.hpp:73
CbcHeuristic.hpp
Generated by
1.8.17