Cgl
0.59.10
src
CglCutGenerator.hpp
Go to the documentation of this file.
1
// Copyright (C) 2000, International Business Machines
2
// Corporation and others. All Rights Reserved.
3
// This code is licensed under the terms of the Eclipse Public License (EPL).
4
5
#ifndef CglCutGenerator_H
6
#define CglCutGenerator_H
7
8
#include "OsiCuts.hpp"
9
#include "OsiSolverInterface.hpp"
10
#include "
CglTreeInfo.hpp
"
11
12
//-------------------------------------------------------------------
13
//
14
// Abstract base class for generating cuts.
15
//
16
//-------------------------------------------------------------------
18
23
class
CglCutGenerator
{
24
25
public
:
26
33
virtual
void
generateCuts
(
const
OsiSolverInterface & si, OsiCuts & cs,
34
const
CglTreeInfo
info =
CglTreeInfo
())=0;
36
37
40
CglCutGenerator
();
42
44
CglCutGenerator
(
const
CglCutGenerator
&);
45
47
vir