CbcGeneral.hpp
Go to the documentation of this file.
1 // Edwin 11/10/2009-- carved out of CbcBranchActual
2 #ifndef CbcGeneral_H
3 #define CbcGeneral_H
4 
5 #include "CbcBranchBase.hpp"
11 class CbcGeneral : public CbcObject {
12 
13 public:
14 
15  // Default Constructor
16  CbcGeneral ();
17 
22 
23  // Copy constructor
24  CbcGeneral ( const CbcGeneral &);
25 
27  virtual CbcObject * clone() const = 0;
28 
29  // Assignment operator
30  CbcGeneral & operator=( const CbcGeneral& rhs);
31 
32  // Destructor
33  ~CbcGeneral ();
34 
36  virtual double infeasibility(const OsiBranchingInformation * info,
37  int &preferredWay) const;
38 
41  virtual void feasibleRegion() = 0;
42 
44  virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface * solver, const OsiBranchingInformation * info, int way) ;
45 
47  virtual void redoSequenceEtc(CbcModel * model, int numberColumns, const int * originalColumns) = 0;
48 
49 protected:
51 };
52 
53 #endif
54