Cbc  2.10.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbcConsequence.hpp
Go to the documentation of this file.
1 // $Id: CbcConsequence.hpp 2465 2019-01-03 19:26:52Z unxusr $
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 
23 
24 public:
25  // Default Constructor
27 
28  // Copy constructor
29  CbcConsequence(const CbcConsequence &rhs);
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 
44 protected:
45 };
46 
47 #endif
48 
49 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
50 */
virtual ~CbcConsequence()
Destructor.
Abstract Base Class for describing an interface to a solver.
Abstract base class for consequent bounds.
CbcConsequence & operator=(const CbcConsequence &rhs)
virtual CbcConsequence * clone() const =0
Clone.
virtual void applyToSolver(OsiSolverInterface *solver, int state) const =0
Apply to an LP solver.