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
CbcCutModifier.hpp
Go to the documentation of this file.
1
// $Id$
2
// Copyright (C) 2003, 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/25/09 carved out of CbcCutGenerator
7
8
#ifndef CbcCutModifier_H
9
#define CbcCutModifier_H
10
11
#include "OsiSolverInterface.hpp"
12
#include "OsiCuts.hpp"
13
#include "CglCutGenerator.hpp"
14
15
class
CbcModel
;
16
class
OsiRowCut;
17
class
OsiRowCutDebugger;
27
class
CbcCutModifier
{
28
public
:
30
CbcCutModifier
();
31
32
// Copy constructor
33
CbcCutModifier
(
const
CbcCutModifier
&);
34
36
virtual
~CbcCutModifier
();
37
39
CbcCutModifier
&
operator=
(
const
CbcCutModifier
&rhs);
41
virtual
CbcCutModifier
*
clone
()
const
= 0;
42
49
virtual
int
modify
(
const
OsiSolverInterface *solver, OsiRowCut &cut) = 0;
51
virtual
void
generateCpp
(FILE *) {}
52
53
protected
:
54
};
55
56
#endif //CbcCutModifier_H
57
58
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
59
*/
CbcCutModifier::CbcCutModifier
CbcCutModifier()
Default Constructor.
CbcCutModifier
Abstract cut modifier base class.
Definition:
CbcCutModifier.hpp:27
CbcCutModifier::clone
virtual CbcCutModifier * clone() const =0
Clone.
CbcCutModifier::generateCpp
virtual void generateCpp(FILE *)
Create C++ lines to get to current state.
Definition:
CbcCutModifier.hpp:51
CbcModel
Simple Branch and bound class.
Definition:
CbcModel.hpp:100
CbcCutModifier::modify
virtual int modify(const OsiSolverInterface *solver, OsiRowCut &cut)=0
Returns 0 unchanged 1 strengthened 2 weakened 3 deleted.
CbcCutModifier::~CbcCutModifier
virtual ~CbcCutModifier()
Destructor.
CbcCutModifier::operator=
CbcCutModifier & operator=(const CbcCutModifier &rhs)
Assignment.
Generated by
1.8.17