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
CbcFixVariable.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/10/2009-- carved out of CbcBranchActual
7
8
#ifndef CbcFixVariable_H
9
#define CbcFixVariable_H
10
11
#include "
CbcBranchBase.hpp
"
22
class
CbcFixVariable
:
public
CbcConsequence
{
23
24
public
:
25
// Default Constructor
26
CbcFixVariable
();
27
28
// One useful Constructor
29
CbcFixVariable
(
int
numberStates,
const
int
*states,
const
int
*numberNewLower,
const
int
**newLowerValue,
30
const
int
**lowerColumn,
31
const
int
*numberNewUpper,
const
int
**newUpperValue,
32
const
int
**upperColumn);
33
34
// Copy constructor
35
CbcFixVariable
(
const
CbcFixVariable
&rhs);
36
37
// Assignment operator
38
CbcFixVariable
&
operator=
(
const
CbcFixVariable
&rhs);
39
41
virtual
CbcConsequence
*
clone
()
const
;
42
44
virtual
~CbcFixVariable
();
45
48
virtual
void
applyToSolver
(OsiSolverInterface *solver,
int
state)
const
;
49
50
protected
:
52
int
numberStates_
;
54
int
*
states_
;
56
int
*
startLower_
;
58
int
*
startUpper_
;
60
double
*
newBound_
;
62
int
*
variable_
;
63
};
64
65
#endif
66
67
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
68
*/
CbcConsequence
Abstract base class for consequent bounds.
Definition:
CbcConsequence.hpp:22
CbcFixVariable::operator=
CbcFixVariable & operator=(const CbcFixVariable &rhs)
CbcFixVariable::startLower_
int * startLower_
Start of information for each state (setting new lower)
Definition:
CbcFixVariable.hpp:56
CbcFixVariable::newBound_
double * newBound_
For each variable new bounds.
Definition:
CbcFixVariable.hpp:60
CbcFixVariable::startUpper_
int * startUpper_
Start of information for each state (setting new upper)
Definition:
CbcFixVariable.hpp:58
CbcFixVariable::CbcFixVariable
CbcFixVariable()
CbcFixVariable::clone
virtual CbcConsequence * clone() const
Clone.
CbcFixVariable
Class for consequent bounds.
Definition:
CbcFixVariable.hpp:22
CbcFixVariable::numberStates_
int numberStates_
Number of states.
Definition:
CbcFixVariable.hpp:52
CbcBranchBase.hpp
CbcFixVariable::states_
int * states_
Values of integers for various states.
Definition:
CbcFixVariable.hpp:54
CbcFixVariable::variable_
int * variable_
Variable.
Definition:
CbcFixVariable.hpp:62
CbcFixVariable::applyToSolver
virtual void applyToSolver(OsiSolverInterface *solver, int state) const
Apply to an LP solver.
CbcFixVariable::~CbcFixVariable
virtual ~CbcFixVariable()
Destructor.
Generated by
1.8.17