Cbc  2.9.9
 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 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 
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 
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.