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
CbcObjectUpdateData.hpp
Go to the documentation of this file.
1
// $Id$
2
// Copyright (C) 2002, 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 11/12/2009 carved from CbcBranchBase
7
8
#ifndef CbcObjectUpdateData_H
9
#define CbcObjectUpdateData_H
10
11
#include "
CbcObject.hpp
"
12
/* This stores data so an object can be updated
13
*/
14
class
CbcObjectUpdateData
{
15
16
public
:
18
CbcObjectUpdateData
();
19
21
CbcObjectUpdateData
(
CbcObject
*
object
,
22
int
way,
23
double
change,
24
int
status,
25
int
intDecrease_
,
26
double
branchingValue);
27
29
CbcObjectUpdateData
(
const
CbcObjectUpdateData
&);
30
32
CbcObjectUpdateData
&
operator=
(
const
CbcObjectUpdateData
&rhs);
33
35
virtual
~CbcObjectUpdateData
();
36
37
public
:
39
41
CbcObject
*
object_
;
43
int
way_
;
45
int
objectNumber_
;
47
double
change_
;
49
int
status_
;
51
int
intDecrease_
;
53
double
branchingValue_
;
55
double
originalObjective_
;
57
double
cutoff_
;
58
};
59
60
#endif
61
62
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
63
*/
CbcObjectUpdateData::operator=
CbcObjectUpdateData & operator=(const CbcObjectUpdateData &rhs)
Assignment operator.
CbcObjectUpdateData::way_
int way_
Branch as defined by instance of CbcObject.
Definition:
CbcObjectUpdateData.hpp:43
CbcObjectUpdateData::~CbcObjectUpdateData
virtual ~CbcObjectUpdateData()
Destructor.
CbcObjectUpdateData::objectNumber_
int objectNumber_
Object number.
Definition:
CbcObjectUpdateData.hpp:45
CbcObjectUpdateData::status_
int status_
Status 0 Optimal, 1 infeasible, 2 unknown.
Definition:
CbcObjectUpdateData.hpp:49
CbcObjectUpdateData::object_
CbcObject * object_
data
Definition:
CbcObjectUpdateData.hpp:41
CbcObject.hpp
CbcObjectUpdateData::CbcObjectUpdateData
CbcObjectUpdateData()
Default Constructor.
CbcObject
Definition:
CbcObject.hpp:67
CbcObjectUpdateData
Definition:
CbcObjectUpdateData.hpp:14
CbcObjectUpdateData::intDecrease_
int intDecrease_
Decrease in number unsatisfied.
Definition:
CbcObjectUpdateData.hpp:51
CbcObjectUpdateData::originalObjective_
double originalObjective_
Objective value before branching.
Definition:
CbcObjectUpdateData.hpp:55
CbcObjectUpdateData::cutoff_
double cutoff_
Current cutoff.
Definition:
CbcObjectUpdateData.hpp:57
CbcObjectUpdateData::change_
double change_
Change in objective.
Definition:
CbcObjectUpdateData.hpp:47
CbcObjectUpdateData::branchingValue_
double branchingValue_
Branching value.
Definition:
CbcObjectUpdateData.hpp:53
Generated by
1.8.17