4 #ifndef CbcBranchBase_H
5 #define CbcBranchBase_H
9 #include "OsiBranchingObject.hpp"
35 const bool replaceIfOverlap)
37 const double lbDiff = thisBd[0] - otherBd[0];
39 if (thisBd[1] >= otherBd[1]) {
41 }
else if (thisBd[1] < otherBd[0]) {
45 if (replaceIfOverlap) {
46 thisBd[0] = otherBd[0];
50 }
else if (lbDiff > 0) {
51 if (thisBd[1] <= otherBd[1]) {
53 }
else if (thisBd[0] > otherBd[1]) {
57 if (replaceIfOverlap) {
58 thisBd[1] = otherBd[1];
63 if (thisBd[1] == otherBd[1]) {