Best-bound search 2026-10-14
For minimization, best-bound search expands the active branch and bound node with smallest lower bound. A feasible completed assignment supplies an incumbent upper bound. Nodes with lower bound at least that incumbent can be discarded when only one optimum is needed. Search ends with an optimality certificate when no active node can improve the incumbent.
// Target: combinatorics.bigb
A branch and bound algorithm partitions the feasible set into subproblems and attaches a valid lower bound to each subproblem's possible objective value. A completed feasible solution supplies an incumbent upper bound. For minimization, discard a node if it is infeasible or its lower bound is at least the incumbent; otherwise branch by fixing an additional decision. The best-bound search rule expands the active node with the smallest lower bound. Once every active bound is at least the incumbent, the incumbent is optimal.
For this assignment problem, use the assignment lower bound from independent task minima. For a partial assignment , with unassigned machines and unassigned tasks , it is
This may reuse the same machine in several minima. Relaxing the distinct-machine constraint only reduces the cost, so the resulting lower bound is valid.
The given tree has already expanded the node of bound , then its child of bound . That child completes to at cost , or at cost . Thus we have an incumbent . The best remaining active node is , with lower bound . Its three branches have bounds
The first and third children cannot improve the incumbent. Expand , the sole active bound below . Its last two possible completions are
Update the incumbent to . The unexpanded nodes have bounds , all at least ; the other completed leaves are also more expensive. The branch and bound search therefore terminates, with
The additional expansion order after the supplied tree is , then . The feasible assignment of cost and the bounds excluding every remaining branch together certify global optimality.
Figure 1.
Completed best-bound assignment search, with the optimal branch highlighted
. Details.