Cbc
2.10.10
Cbc
src
CbcConsequence.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/12/2009 carved from CbcBranchBase
7
8
#ifndef CbcConsequence_H
9
#define CbcConsequence_H
10
11
class
OsiSolverInterface;
12
22
class
CbcConsequence
{
23
24
public
:
25
// Default Constructor
26
CbcConsequence
();
27
28
// Copy constructor
29
CbcConsequence
(
const
CbcConsequence
&rhs);
30
31
// Assignment operator
32
CbcConsequence
&
operator=
(
const
CbcConsequence
&rhs);
33
35
virtual
CbcConsequence
*
clone
()
const
= 0;
36
38
virtual
~CbcConsequence
();
39
42
virtual
void
applyToSolver
(OsiSolverInterface *solver,
int
state)
const
= 0;
43
44
protected
:
45
};
46
47
#endif
48
49
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
50
*/
CbcConsequence
Abstract base class for consequent bounds.
Definition:
CbcConsequence.hpp:22
CbcConsequence::clone
virtual CbcConsequence * clone() const =0
Clone.
CbcConsequence::applyToSolver
virtual void applyToSolver(OsiSolverInterface *solver, int state) const =0
Apply to an LP solver.
CbcConsequence::operator=
CbcConsequence & operator=(const CbcConsequence &rhs)
CbcConsequence::CbcConsequence
CbcConsequence()
CbcConsequence::~CbcConsequence
virtual ~CbcConsequence()
Destructor.
Generated by
1.8.17