Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
tmp
OS-2.10.2
Bonmin
src
Algorithms
Branching
BonPseudoCosts.hpp
Go to the documentation of this file.
1
// (C) Copyright International Business Machines Corporation 2007
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// Authors :
6
// Pierre Bonami, International Business Machines Corporation
7
//
8
// Date : 04/12/2007
9
10
#ifndef BonPseudoCosts_H
11
#define BonPseudoCosts_H
12
13
#include "OsiChooseVariable.hpp"
14
namespace
Bonmin
15
{
16
17
class
PseudoCosts
:
public
OsiPseudoCosts
18
{
19
public
:
21
PseudoCosts
();
22
24
PseudoCosts
(
const
PseudoCosts
& rhs);
25
27
PseudoCosts
&
operator=
(
const
PseudoCosts
&rhs);
28
#if 0
29
30
inline
double
* upTotalChange()
31
{
32
return
upTotalChange_;
33
}
34
36
inline
double
* downTotalChange()
37
{
38
return
downTotalChange_;
39
}
40
42
inline
int
* upNumber()
43
{
44
return
upNumber_;
45
}
46
48
inline
int
* downNumber()
49
{
50
return
downNumber_;
51
}
52
54
inline
const
double
* upTotalChange()
const
55
{
56
return
upTotalChange_;
57
}
58
60
inline
const
double
* downTotalChange()
const
61
{
62
return
downTotalChange_;
63
}
64
66
inline
const
int
* upNumber()
const
67
{
68
return
upNumber_;
69
}
70
72
inline
const
int
* downNumber()
const
73
{
74
return
downNumber_;
75
}
76
78
inline
int
numberObjects()
const
79
{
80
return
numberObjects_;
81
}
82
#endif
83
84
void
addInfo
(
int
way,
double
originalObj,
double
originalInfeas,
85
double
newObj,
double
newInfeas,
int
status);
86
87
};
88
89
}
/* End Bonmin namespace.*/
90
91
#endif
Bonmin::PseudoCosts::operator=
PseudoCosts & operator=(const PseudoCosts &rhs)
Assignment operator const version.
Definition:
BonPseudoCosts.cpp:30
Bonmin::PseudoCosts::PseudoCosts
PseudoCosts()
Default constructor.
Definition:
BonPseudoCosts.cpp:16
Bonmin::PseudoCosts::addInfo
void addInfo(int way, double originalObj, double originalInfeas, double newObj, double newInfeas, int status)
Add a pseudo cost information.
Bonmin::PseudoCosts
Definition:
BonPseudoCosts.hpp:17
Generated by
1.8.5