Cbc
2.9.9
src
CbcConsequence.hpp
Go to the documentation of this file.
1
// $Id: CbcConsequence.hpp 1899 2013-04-09 18:12:08Z stefan $
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
26
// Default Constructor
27
CbcConsequence
();
28
29
// Copy constructor
30
CbcConsequence
(
const
CbcConsequence
& rhs);
31
32
// Assignment operator
33
CbcConsequence
&
operator=
(
const
CbcConsequence
& rhs);
34
36
virtual
CbcConsequence
*
clone
()
const
= 0;
37
39
virtual
~CbcConsequence
();
40
43
virtual
void
applyToSolver
(OsiSolverInterface * solver,
int
state)
const
= 0;
44
45
protected
:
46
};
47
48
#endif
49
CbcConsequence
Abstract base class for consequent bounds.
Definition:
CbcConsequence.hpp:22
CbcConsequence::clone
virtual CbcConsequence * clone() const =0
Clone.
CbcConsequence::CbcConsequence
CbcConsequence(const CbcConsequence &rhs)
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.20