Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
opt
build
coinor-cbc
coinor-cbc-2.5.0
debian
tmp
usr
include
coin
CbcGeneral.hpp
Go to the documentation of this file.
1
// Edwin 11/10/2009-- carved out of CbcBranchActual
2
#ifndef CbcGeneral_H
3
#define CbcGeneral_H
4
5
#include "
CbcBranchBase.hpp
"
11
class
CbcGeneral
:
public
CbcObject
{
12
13
public
:
14
15
// Default Constructor
16
CbcGeneral
();
17
21
CbcGeneral
(
CbcModel
*
model
);
22
23
// Copy constructor
24
CbcGeneral
(
const
CbcGeneral
&);
25
27
virtual
CbcObject
*
clone
()
const
= 0;
28
29
// Assignment operator
30
CbcGeneral
&
operator=
(
const
CbcGeneral
& rhs);
31
32
// Destructor
33
~CbcGeneral
();
34
36
virtual
double
infeasibility
(
const
OsiBranchingInformation * info,
37
int
&
preferredWay
)
const
;
38
39
using
CbcObject::feasibleRegion
;
41
virtual
void
feasibleRegion
() = 0;
42
44
virtual
CbcBranchingObject
*
createCbcBranch
(OsiSolverInterface * solver,
const
OsiBranchingInformation * info,
int
way) ;
45
47
virtual
void
redoSequenceEtc
(
CbcModel
*
model
,
int
numberColumns,
const
int
* originalColumns) = 0;
48
49
protected
:
51
};
52
53
#endif
54
Generated on Tue Mar 1 2016 22:38:12 by
1.8.4