Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
tmp
buildd
coinor-cbc-2.5.0
Cbc
examples
CbcBranchFollow2.hpp
Go to the documentation of this file.
1
// Copyright (C) 2004, International Business Machines
2
// Corporation and others. All Rights Reserved.
3
#ifndef CbcBranchFollowOn2_H
4
#define CbcBranchFollowOn2_H
5
6
#include "CbcBranchActual.hpp"
7
#include "CoinPackedMatrix.hpp"
8
9
23
class
CbcFollowOn2
:
public
CbcObject
{
24
25
public
:
26
27
// Default Constructor
28
CbcFollowOn2
();
29
32
CbcFollowOn2
(
CbcModel
*
model
);
33
34
// Copy constructor
35
CbcFollowOn2
(
const
CbcFollowOn2
&);
36
38
virtual
CbcObject
*
clone
()
const
;
39
40
// Assignment operator
41
CbcFollowOn2
&
operator=
(
const
CbcFollowOn2
& rhs);
42
43
// Destructor
44
~CbcFollowOn2
();
45
47
virtual
double
infeasibility
(
int
&
preferredWay
)
const
;
48
50
virtual
void
feasibleRegion
();
52
virtual
CbcBranchingObject
*
createBranch
(
int
way) ;
56
virtual
int
gutsOfFollowOn2
(
int
& otherRow,
int
& preferredWay,
57
int
& effectiveRhs)
const
;
58
60
inline
int
maximumRhs
()
const
61
{
return
maximumRhs_
;}
62
inline
void
setMaximumRhs
(
int
value)
63
{
maximumRhs_
=value;}
64
protected
:
67
CoinPackedMatrix
matrix_
;
69
CoinPackedMatrix
matrixByRow_
;
71
int
*
rhs_
;
73
int
maximumRhs_
;
74
};
75
76
#endif
Generated on Tue Jun 26 2012 18:54:52 by
1.8.1.1