6 #ifndef CbcBranchBase_H
7 #define CbcBranchBase_H
11 #include "OsiBranchingObject.hpp"
37 const bool replaceIfOverlap)
39 const double lbDiff = thisBd[0] - otherBd[0];
41 if (thisBd[1] >= otherBd[1]) {
43 }
else if (thisBd[1] < otherBd[0]) {
47 if (replaceIfOverlap) {
48 thisBd[0] = otherBd[0];
52 }
else if (lbDiff > 0) {
53 if (thisBd[1] <= otherBd[1]) {
55 }
else if (thisBd[0] > otherBd[1]) {
59 if (replaceIfOverlap) {
60 thisBd[1] = otherBd[1];
65 if (thisBd[1] == otherBd[1]) {