Adding functions to BranchBound method