an abstract model for branching and its application to
play

An abstract model for branching and its application to Mixed Integer - PowerPoint PPT Presentation

An abstract model for branching and its application to Mixed Integer Programming Pierre Le Bodic Joint work with George Nemhauser School of Industrial and Systems Engineering Georgia Institute of Technology Grant FA9550-12-1-0151 of the Air


  1. An abstract model for branching and its application to Mixed Integer Programming Pierre Le Bodic Joint work with George Nemhauser School of Industrial and Systems Engineering Georgia Institute of Technology Grant FA9550-12-1-0151 of the Air Force Office of Scientific Research Grant CCF-1415460 of the National Science Foundation Discrete Maths Seminar, Monash University August 1 2016 1 / 30

  2. Linear Programming (LP) z LP = max c t x s.t. Ax ≤ b x ∈ R n + LP is in P .  A is a m × n matrix,  where c is a n vector, and all data are rational. b is a m vector,  2 / 30

  3. Linear Programming (LP) Integer Programming (IP) z LP = max c t x z IP = max c t x s.t. Ax ≤ b s.t. Ax ≤ b x ∈ R n x ∈ Z n + + LP is in P . IP is NP-hard .  A is a m × n matrix,  where c is a n vector, and all data are rational. b is a m vector,  2 / 30

  4. Linear Programming (LP) Integer Programming (IP) z LP = max c t x z IP = max c t x s.t. Ax ≤ b s.t. Ax ≤ b x ∈ R n x ∈ Z n + + LP is in P . IP is NP-hard . z LP ≥ z IP  A is a m × n matrix,  where c is a n vector, and all data are rational. b is a m vector,  2 / 30

  5. Linear Programming (LP) Integer Programming (IP) z LP = max c t x z IP = max c t x s.t. Ax ≤ b s.t. Ax ≤ b x ∈ R n x ∈ Z n + + LP is in P . IP is NP-hard . z LP ≥ z IP x ∈ Z n + optimal for LP ⇒ z IP = z LP  A is a m × n matrix,  where c is a n vector, and all data are rational. b is a m vector,  2 / 30

  6. Example: an IP formulation for edge coloring Given G = ( V , E ), let C = { 1 , . . . , ∆ + 1 } be the set of possible colors, and ◮ Variable c i = 1 iff color i ∈ C is used, ◮ Variable x i e = 1 iff color i ∈ C is assigned to edge e ∈ E . i ∈ C c i min x , c � (1) i ∈ C x i � e = 1 ∀ e ∈ E (2) u ∈ V , e = uv x i e ≤ c i � ∀ v ∈ V , ∀ i ∈ C (3) c i ∈ { 0 , 1 } ∀ i ∈ C (4) x i e ∈ { 0 , 1 } ∀ e ∈ E , ∀ i ∈ C (5) ◮ (1) minimizes the number of colors used. ◮ (2) ensures each edge is assigned a color. ◮ (3) enforces a proper coloring. ◮ (4) and (5) enforce integrality 3 / 30

  7. (Mixed) Integer Programming solvers main components Presolvers ◮ Simplify problem (e.g. eliminate redundancy) ◮ Tighten LP bound (e.g. change coefficients) Primal heuristics ◮ Find a feasible solution (e.g. starting from LP or IP solution) Cutting planes ◮ Tighten LP bound Branch & Bound ◮ Implicit enumeration using primal and dual bounds to prune nodes 4 / 30

  8. Outline of the B&B algorithm for MIP solving Input: a MIP instance 1: Add the root node to the list of nodes to process 2: while the list of nodes is non empty do Select ∗ the node to process 3: Solve the node’s LP 4: if the LP solution is integral then 5: Add the solution to the pool of solutions 6: else 7: if the node’s LP bound is better than the primal bound then 8: Select ∗∗ an integer variable x with a fractional value x LP 9: Create two children where x ≤ ⌊ x LP ⌋ or x ≥ ⌈ x LP ⌉ 10: Add the children to the list of nodes 11: end if 12: end if 13: 14: end while 15: Output the best primal solution ∗ using a node selector ∗∗ using a branching rule 5 / 30

  9. Discrete maths in two papers related to branching in MIP 6 / 30

  10. Fooling MIP solvers Find a family of MIP instances for which: ◮ There exists a small Branch & Bound tree ◮ MIP solvers produce big Branch & Bound trees 7 / 30

  11. Edge coloring problem Without knowing Vizing, MIP solvers will still immediately find that they need ◮ At least ∆ colors ◮ At most ∆ + 1 colors Then they have to use branch-and-bound to decide between ∆ and ∆ + 1. 8 / 30

  12. Petersen graph ◮ 10 vertices ◮ 15 edges ◮ degree 3 ◮ chromatic index χ ′ = 4 Good, but we want bigger graphs! And we can’t add edges! 9 / 30

  13. Petersen graph ◮ 10 vertices ◮ 15 edges ◮ degree 3 ◮ chromatic index χ ′ = 4 Good, but we want bigger graphs! And we can’t add edges! Find a family of snarks that ◮ has arbitrarily large graphs ◮ is easily constructible 9 / 30

  14. Modifying the Petersen graph (a) Petersen graph (b) Graph P 1 (c) Graph P 2 χ ′ = 4 χ ′ = 4 χ ′ = 3 10 / 30

  15. Proof 11 / 30

  16. Proof 11 / 30

  17. Proof 11 / 30

  18. Proof e a d b c 11 / 30

  19. Proof e a d b c Based only on the coloring of the inside edges, the “path” { d,e } cannot be blue or yellow 11 / 30

  20. Proof e a d b c Based only on the coloring of the inside edges, the “path” { d,e } cannot be blue or yellow the “path” { b,c } cannot be blue or green 11 / 30

  21. Proof e a d b c Based only on the coloring of the inside edges, the “path” { d,e } cannot be blue or yellow the “path” { b,c } cannot be blue or green the “path” { a,b,e } cannot be blue 11 / 30

  22. Proof e a d b c Based only on the coloring of the inside edges, the “path” { d,e } cannot be blue or yellow the “path” { b,c } cannot be blue or green the “path” { a,b,e } cannot be blue We want to split these “paths” by adding two vertices! 11 / 30

  23. Proof e a d b c Based only on the coloring of the inside edges, the “path” { d,e } cannot be blue or yellow the “path” { b,c } cannot be blue or green the “path” { a,b,e } cannot be blue We want to split these “paths” by adding two vertices! Split two edges: { b,d } or { b,e } or { c,e } → non-adjacent edges! 11 / 30

  24. Proof e a d b c Based only on the coloring of the inside edges, the “path” { d,e } cannot be blue or yellow the “path” { b,c } cannot be blue or green the “path” { a,b,e } cannot be blue We want to split these “paths” by adding two vertices! Split two edges: { b,d } or { b,e } or { c,e } → non-adjacent edges! P 2 can be colored using three colors but P 1 cannot! 11 / 30

  25. Proof e a d b c Based only on the coloring of the inside edges, the “path” { d,e } cannot be blue or yellow the “path” { b,c } cannot be blue or green the “path” { a,b,e } cannot be blue We want to split these “paths” by adding two vertices! Split two edges: { b,d } or { b,e } or { c,e } → non-adjacent edges! P 2 can be colored using three colors but P 1 cannot! 11 / 30

  26. Input graphs Figure: the graph G 3 G k = P 1 + ( k − 1) P 2 G k has ∆ = 3 and χ ′ = 4. 12 / 30

  27. A fixed-size Branch & Bound tree Theorem Given an optimal solution, there is a fixed-size Branch & Bound tree for any k ≥ 1. Proof ◮ Solve instance I 1 → Branch & Bound tree T 1 ◮ Solve I k by following T 1 in the Branch & Bound tree T k ◮ Note that the global dual bound of T 1 is 4 ◮ All constraints of I 1 are contained in or implied by I k , thus the global dual bound of the tree T k is 4 13 / 30

  28. Experimental results CPLEX GUROBI SCIP Size (k) s n t s n t s n t 1 10 11 0 10 21 0 10 12 0 2 10 15 0 10 23 0 10 19 1 4 10 38 0 10 30 1 10 41 4 8 10 59 0 10 50 3 10 79 10 16 9 302 3 10 84 15 10 263 23 32 7 213 11 10 175 47 10 419 48 64 9 50 26 10 1921 424 9 1328 178 128 8 276 79 7 1470 1098 10 6542 808 256 6 1366 564 7 699 4182 8 6225 2041 512 2 3265 1700 7 198 3586 6 6125 6347 1024 2 1509 5501 3 112 16943 0 - - Number of instances solved (s), and, for the instances solved, the geometric means of the number of nodes (n) and time in seconds (t) 14 / 30

  29. An abstract model for branching and its application to Mixed Integer Programming 15 / 30

  30. State-of-the-art branching rule in MIP solvers At a given node, a branching rule picks the variable to branch on. The state-of-the-art branching rule is a hybrid of two branching rules that aim at improving the dual bound. 16 / 30

  31. State-of-the-art branching rule in MIP solvers At a given node, a branching rule picks the variable to branch on. The state-of-the-art branching rule is a hybrid of two branching rules that aim at improving the dual bound. Strong branching For all fractional variables x , strong branching computes the LP values at the children that would be created by branching on x . Example: x 1 = 0 . 2 , x 2 = 0 . 5 in the LP relaxation. 0 0 x 1 = 0 x 1 = 1 x 2 = 0 x 2 = 1 5 10 2 8 16 / 30

  32. State-of-the-art branching rule in MIP solvers At a given node, a branching rule picks the variable to branch on. The state-of-the-art branching rule is a hybrid of two branching rules that aim at improving the dual bound. Strong branching For all fractional variables x , strong branching computes the LP values at the children that would be created by branching on x . Example: x 1 = 0 . 2 , x 2 = 0 . 5 in the LP relaxation. 0 0 x 1 = 0 x 1 = 1 x 2 = 0 x 2 = 1 5 10 2 8 Pseudocost branching For all fractional variables x , pseudocost branching imitates strong branching using historical information provided by strong branching and (actual) branching. 16 / 30

  33. Branch & Bound abstract model for MIP solving Variable = pair ( l , r ) of two > 0 integers with l ≤ r B&B tree = binary tree with a variable at each inner node (Absolute) Gap 1 closed at a node = value at that node 0 r 1 l 1 l 1 + l 2 l 1 + r 2 r 1 + l 3 r 1 + r 3 l 1 + l 2 + l 3 l 1 + l 2 + r 3 1 In MIP solvers, the (absolute) gap is the difference between the primal and the dual bound. 17 / 30

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend