CbcDummyBranchingObject.hpp
Go to the documentation of this file.
1 // Edwin 11/10/2009-- carved out of CbcBranchActual
2 #ifndef CbcDummyBranchingObject_H
3 #define CbcDummyBranchingObject_H
4 
5 #include "CbcBranchBase.hpp"
13 
14 public:
15 
18 
21 
24 
26  virtual CbcBranchingObject * clone() const;
27 
29  virtual ~CbcDummyBranchingObject ();
30 
34  virtual double branch();
35 
36 #ifdef JJF_ZERO
37  // No need to override. Default works fine.
41  virtual void previousBranch();
42 #endif
43 
47  virtual void print();
48 
50  virtual CbcBranchObjType type() const {
51  return DummyBranchObj;
52  }
53 
61  virtual int compareOriginalObject(const CbcBranchingObject* brObj) const;
62 
72  (const CbcBranchingObject* brObj, const bool replaceIfOverlap = false);
73 
74 };
75 
76 #endif
77 
virtual CbcBranchingObject * clone() const
Clone.
Abstract branching object base class Now just difference with OsiBranchingObject. ...
CbcRangeCompare
virtual void print() const
Print something about branch - only if log level high.
CbcBranchObjType
virtual CbcRangeCompare compareBranchingObject(const CbcBranchingObject *brObj, const bool replaceIfOverlap=false)
Compare the this with brObj.
virtual double branch()
Dummy branch.
CbcDummyBranchingObject & operator=(const CbcDummyBranchingObject &rhs)
Assignment operator.
virtual void print()
Print something about branch - only if log level high.
CbcDummyBranchingObject(CbcModel *model=NULL)
Default constructor.
virtual ~CbcDummyBranchingObject()
Destructor.
virtual void previousBranch()
Reset every information so that the branching object appears to point to the previous child...
virtual int compareOriginalObject(const CbcBranchingObject *brObj) const
Compare the original object of this with the original object of brObj.
virtual CbcBranchObjType type() const
Return the type (an integer identifier) of this.
CbcModel * model() const
Return model.
Simple Branch and bound class.
Definition: CbcModel.hpp:98
Dummy branching object.
virtual double branch()=0
Execute the actions required to branch, as specified by the current state of the branching object...