Cbc 2.10.5
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
11class OsiSolverInterface;
12
23
24public:
25 // Default Constructor
27
28 // Copy constructor
30
31 // Assignment operator
33
35 virtual CbcConsequence *clone() const = 0;
36
38 virtual ~CbcConsequence();
39
42 virtual void applyToSolver(OsiSolverInterface *solver, int state) const = 0;
43
44protected:
45};
46
47#endif
48
49/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
50*/
Abstract base class for consequent bounds.
virtual CbcConsequence * clone() const =0
Clone.
virtual void applyToSolver(OsiSolverInterface *solver, int state) const =0
Apply to an LP solver.
CbcConsequence & operator=(const CbcConsequence &rhs)
CbcConsequence(const CbcConsequence &rhs)
virtual ~CbcConsequence()
Destructor.