5. Branch&Bound algorithm Flashcards
Initialization
Z* = −∞
bounding step, fathoming step, and optimality test
If not fathomed -> subproblem
-> iteration
Iteration
1 Branching
2 Bounding
3 Fathoming
- Branching
- select the one unfathomed subproblem that was created most recently or with the largest bound (smallest if min problem)
- create two new subproblems by fixing the next variable either 0 or 1
- Bounding
- applying the simplex method to its LP relaxation
- rounding down the value of Z
Fathoming
Test 1: Z ≤ Z∗ (or ≥ Z∗ if min problem)
Test 2: no feasible solutions
Test 3: optimal solution for its LP relaxation is integer
If this solution is better than the incumbent, it becomes the new incumbent -> test 1 is reapplied to all unfathomed
subproblems
Optimality test
Stop when there are no remaining subproblems; the current incumbent is optimal
Otherwise, return to perform another iteration.
B&B changes for MIP
- consider only integer-restricted variables having noninteger value in the optimal solution for the LP relaxation of the current subproblem
- two ranges of value are specified and two new
subproblems created (xj ≤ rounded down and xj ≥ rounded up) - value of Z has not to be rounded down
- test requires only that the integer-restricted variables be integer in the optimal solution for the subproblem’s LP relaxation
Node selection rules
1 Depth-first search
2 Breadth-first search
3 Best-bound search
4 Combinations of the previous ones
Depth-first search
select a child of the preceding node after branching and backtracks as few nodes as possible after pruning a node
Breadth-first search
select nodes that are closest to the top of the tree
Best-bound search:
select the node with the best lower bound
Heuristic choice of the rule
- Depth-first search: obtain solutions quickly risk that
solution quality suffers - Breath-first search avoids this risk and works in parallel on all branches of the tree, but slow to obtain feasible solutions
- Best-bound search: minimizes number of nodes treated to prove optimality
- Combination of rules: good compromise
Node selection rule
1 Lexicographical order
2 Most fractional: select the variable whose fractional part is
farthest from being integer
3 Sophisticated rules: detecting the impact of the branching variable on the lower bound values
Duality gap
when enumeration is unfinished, the duality gap measures the maximum relative deviation from optimality of the best feasible solution found
Reformulation
- The set of feasible solutions X is not changed
- The linear relaxation is a smaller set
- Using this tightened formulation of X, we can solve the PIP problem by B&B only by analyzing the root node