non planarity measures and small cycles
play

Non-Planarity Measures and Small Cycles EuroCG 2020 PhD School - PowerPoint PPT Presentation

Non-Planarity Measures and Small Cycles EuroCG 2020 PhD School Markus Chimani Theoretical Computer Science, Osnabrck University March 19th, 2020 Planarity 2 Non-Planarity Measures Planarity Planarity 2 Non-Planarity Measures


  1. Non-Planarity Measures 7 Non-Planarity Measures Exploiting Low Non-Planarity { G : γ ( G ) ≤ k } ⊃ { G : sk ( G ) ≤ k } ⊃ { G : cr ( G ) ≤ k } Bounded Genus. ◮ maaaaaany publications for many ◮ rich graph classes problems! ◮ strong theory, but harsh ◮ P vs. NP, FPT, (better) approximable,... dependency on γ

  2. Non-Planarity Measures 7 Non-Planarity Measures Exploiting Low Non-Planarity { G : γ ( G ) ≤ k } ⊃ { G : sk ( G ) ≤ k } ⊃ { G : cr ( G ) ≤ k } Bounded Genus. ◮ maaaaaany publications for many ◮ rich graph classes problems! ◮ strong theory, but harsh ◮ P vs. NP, FPT, (better) approximable,... dependency on γ ◮ computing γ very hard in practice, no heuristics

  3. Non-Planarity Measures 7 Non-Planarity Measures Exploiting Low Non-Planarity { G : γ ( G ) ≤ k } ⊃ { G : sk ( G ) ≤ k } ⊃ { G : cr ( G ) ≤ k } Bounded Genus. ◮ maaaaaany publications for many ◮ rich graph classes problems! ◮ strong theory, but harsh ◮ P vs. NP, FPT, (better) approximable,... dependency on γ ◮ computing γ very hard in practice, no heuristics Bounded Skewness / Crossing Number. sk MaximumFlow in time-complexity of planar graphs [Hochstein&Weihe 2007]

  4. Non-Planarity Measures 7 Non-Planarity Measures Exploiting Low Non-Planarity { G : γ ( G ) ≤ k } ⊃ { G : sk ( G ) ≤ k } ⊃ { G : cr ( G ) ≤ k } Bounded Genus. ◮ maaaaaany publications for many ◮ rich graph classes problems! ◮ strong theory, but harsh ◮ P vs. NP, FPT, (better) approximable,... dependency on γ ◮ computing γ very hard in practice, no heuristics Bounded Skewness / Crossing Number. sk MaximumFlow in time-complexity of planar graphs [Hochstein&Weihe 2007] sk constant-factor approximation of crossing number [Ch.&Hlinˇ ený 2016]

  5. Non-Planarity Measures 7 Non-Planarity Measures Exploiting Low Non-Planarity { G : γ ( G ) ≤ k } ⊃ { G : sk ( G ) ≤ k } ⊃ { G : cr ( G ) ≤ k } Bounded Genus. ◮ maaaaaany publications for many ◮ rich graph classes problems! ◮ strong theory, but harsh ◮ P vs. NP, FPT, (better) approximable,... dependency on γ ◮ computing γ very hard in practice, no heuristics Bounded Skewness / Crossing Number. sk MaximumFlow in time-complexity of planar graphs [Hochstein&Weihe 2007] sk constant-factor approximation of crossing number [Ch.&Hlinˇ ený 2016] cr FPT-parameter for MaxCut [Ch. et al. 2020]

  6. Non-Planarity Measures 7 Non-Planarity Measures Exploiting Low Non-Planarity { G : γ ( G ) ≤ k } ⊃ { G : sk ( G ) ≤ k } ⊃ { G : cr ( G ) ≤ k } Bounded Genus. ◮ maaaaaany publications for many ◮ rich graph classes problems! ◮ strong theory, but harsh ◮ P vs. NP, FPT, (better) approximable,... dependency on γ ◮ computing γ very hard in practice, no heuristics Bounded Skewness / Crossing Number. ◮ finer-grained parameterization sk MaximumFlow in time-complexity of planar graphs [Hochstein&Weihe 2007] may be more practical sk constant-factor approximation of crossing number [Ch.&Hlinˇ ený 2016] cr FPT-parameter for MaxCut [Ch. et al. 2020]

  7. Non-Planarity Measures 7 Non-Planarity Measures Exploiting Low Non-Planarity { G : γ ( G ) ≤ k } ⊃ { G : sk ( G ) ≤ k } ⊃ { G : cr ( G ) ≤ k } Bounded Genus. ◮ maaaaaany publications for many ◮ rich graph classes problems! ◮ strong theory, but harsh ◮ P vs. NP, FPT, (better) approximable,... dependency on γ ◮ computing γ very hard in practice, no heuristics Bounded Skewness / Crossing Number. ◮ finer-grained parameterization sk MaximumFlow in time-complexity of planar graphs [Hochstein&Weihe 2007] may be more practical ◮ more tractable in practice, sk constant-factor approximation of crossing number [Ch.&Hlinˇ ený 2016] reasonable exact algorithms & strong heuristics cr FPT-parameter for MaxCut [Ch. et al. 2020]

  8. Non-Planarity Measures 8 Non-Planarity Measures How to exactly compute cr ( G ) , sk ( G ) , and γ ( G ) ?

  9. ILPs and Roadmap 9 Non-Planarity Measures Integer Linear Programming Formulate the problem as an ILP c ⊤ x max (1) s . t . Ax ≤ b (2) x ≥ 0 (3) x ∈ Z n (4)

  10. ILPs and Roadmap 9 Non-Planarity Measures Integer Linear Programming Formulate the problem as an ILP c ⊤ x max (1) s . t . Ax ≤ b (2) x ≥ 0 (3) x ∈ Z n (4) ◮ relaxation can be computed in polynomial time ◮ fast solvers using branch-and-cut

  11. ILPs and Roadmap 9 Non-Planarity Measures Integer Linear Programming Formulate the problem as an ILP c ⊤ x max (1) s . t . Ax ≤ b (2) x ≥ 0 (3) x ∈ Z n (4) ◮ relaxation can be computed in polynomial time ◮ fast solvers using branch-and-cut Only strong formulations yield effective algorithms!

  12. ILPs and Roadmap 9 Non-Planarity Measures Integer Linear Programming Formulate the problem as an ILP c ⊤ x max (1) s . t . Ax ≤ b (2) x ≥ 0 (3) x ∈ Z n (4) ◮ relaxation can be computed in polynomial time ◮ fast solvers using branch-and-cut Only strong formulations yield effective algorithms! Roadmap (of this talk) Skewness: Original ILP → Improvement by considering Short Cycles Original ILP → Improvement by considering Short Cycles Genus:

  13. Original ILP 10 Skewness (= Maximum Planar Subgraph, MPS) Skewness sk ( G ) = Maximum Planar Subgraph (MPS)

  14. Original ILP 11 Skewness (= Maximum Planar Subgraph, MPS) Kuratowski-based Formulation Theorem (Kuratowski, 1930) G is non-planar ⇐ ⇒ G contains a K 5 - or K 3 , 3 -subdivision.

  15. Original ILP 11 Skewness (= Maximum Planar Subgraph, MPS) Kuratowski-based Formulation Theorem (Kuratowski, 1930) G is non-planar ⇐ ⇒ G contains a K 5 - or K 3 , 3 -subdivision. Kuratowski-based ILP [Mutzel, 1994] exponentially many � min s e e ∈ E � s e ≥ 1 ∀ Kuratowski subdivisions K ⊆ E s.t. e ∈ K s e ∈ { 0 , 1 } ∀ e ∈ E Variable is 1 iff edge e is deleted

  16. Original ILP 11 Skewness (= Maximum Planar Subgraph, MPS) Kuratowski-based Formulation Theorem (Kuratowski, 1930) G is non-planar ⇐ ⇒ G contains a K 5 - or K 3 , 3 -subdivision. Kuratowski-based ILP [Mutzel, 1994] exponentially many � min s e e ∈ E � s e ≥ 1 ∀ Kuratowski subdivisions K ⊆ E s.t. e ∈ K s e ∈ { 0 , 1 } ∀ e ∈ E Variable is 1 iff edge e is deleted Solve via branch-and-cut with heuristic separation.

  17. Original ILP 12 Skewness (= Maximum Planar Subgraph, MPS) Generalized Euler Constraints

  18. Original ILP 12 Skewness (= Maximum Planar Subgraph, MPS) Generalized Euler Constraints ◮ Kuratowski constraints are weak on dense graphs

  19. Original ILP 12 Skewness (= Maximum Planar Subgraph, MPS) Generalized Euler Constraints ◮ Kuratowski constraints are weak on dense graphs

  20. Original ILP 12 Skewness (= Maximum Planar Subgraph, MPS) Generalized Euler Constraints ◮ Kuratowski constraints are weak on dense graphs ◮ On complete (complete bipartite) graphs, optimality follows directly from Euler’s formula ⇒ no Kuratowski constraints needed

  21. Original ILP 12 Skewness (= Maximum Planar Subgraph, MPS) Generalized Euler Constraints ◮ Kuratowski constraints are weak on dense graphs ◮ On complete (complete bipartite) graphs, optimality follows directly from Euler’s formula ⇒ no Kuratowski constraints needed ◮ Real-world graphs typically neither have large girth nor is their MPS tri- or quadrangulated...

  22. Towards the Cycle ILP 13 Skewness (= Maximum Planar Subgraph, MPS) Key Observations “real-world” graph

  23. Towards the Cycle ILP 13 Skewness (= Maximum Planar Subgraph, MPS) Key Observations MPS of “real-world” graph

  24. Towards the Cycle ILP 13 Skewness (= Maximum Planar Subgraph, MPS) Key Observations MPS of “real-world” graph ◮ few large faces in MPS (or few short cycles in input)

  25. Towards the Cycle ILP 13 Skewness (= Maximum Planar Subgraph, MPS) Key Observations MPS of “real-world” graph ◮ few large faces in MPS (or few short cycles in input)

  26. Towards the Cycle ILP 13 Skewness (= Maximum Planar Subgraph, MPS) Key Observations MPS of “real-world” graph ◮ few large faces in MPS (or few short cycles in input) ◮ MPS is typically biconnected

  27. Towards the Cycle ILP 13 Skewness (= Maximum Planar Subgraph, MPS) Key Observations MPS of “real-world” graph grid-like graph ◮ few large faces in MPS (or few short cycles in input) ◮ MPS is typically biconnected

  28. Towards the Cycle ILP 13 Skewness (= Maximum Planar Subgraph, MPS) Key Observations MPS of “real-world” graph triconnected artificial graph with no biconnected MPS ◮ few large faces in MPS (or few short cycles in input) ◮ MPS is typically biconnected

  29. Improvement via Cycle ILP 14 Skewness (= Maximum Planar Subgraph, MPS) Idea for Cycle Model Assume: MPS is biconnected. new variable is 1 iff α is a face in the solution C G := set of cycles in input G . c α ∈ { 0 , 1 } ∀ α ∈ C G

  30. Improvement via Cycle ILP 14 Skewness (= Maximum Planar Subgraph, MPS) Idea for Cycle Model Assume: MPS is biconnected. new variable is 1 iff α is a face in the solution C G := set of cycles in input G . c α ∈ { 0 , 1 } ∀ α ∈ C G � c α = 2 ( 1 − s e ) ∀ e ∈ E α ∈C G : e ∈ α

  31. Improvement via Cycle ILP 14 Skewness (= Maximum Planar Subgraph, MPS) Idea for Cycle Model Assume: MPS is biconnected. new variable is 1 iff α is a face in the solution C G := set of cycles in input G . c α ∈ { 0 , 1 } ∀ α ∈ C G � c α = 2 ( 1 − s e ) ∀ e ∈ E α ∈C G : e ∈ α � � 3 | V ( G ) | − 6 − ( | α | − 3 ) c α = ( 1 − s e ) α ∈C G e ∈ E

  32. Improvement via Cycle ILP 14 Skewness (= Maximum Planar Subgraph, MPS) Idea for Cycle Model Assume: MPS is biconnected. new variable is 1 iff α is a face in the solution C G := set of cycles in input G . c α ∈ { 0 , 1 } ∀ α ∈ C G � c α = 2 ( 1 − s e ) ∀ e ∈ E α ∈C G : e ∈ α � � 3 | V ( G ) | − 6 − ( | α | − 3 ) c α = ( 1 − s e ) α ∈C G e ∈ E Problems: ◮ We cannot enumerate all cycles in practice ◮ MPS is not biconnected

  33. Improvement via Cycle ILP 15 Skewness (= Maximum Planar Subgraph, MPS) Obstacle: Non-Biconnectedness Lemma (MPS will not be outerplanar.) To each a face-walk β we can associate a sub-cycle α ⊆ β such that each cycle is used at most once. 1 : 1 ◮ faces in the solution ← → cycles ◮ each edge is incident to at most one such cycle

  34. Improvement via Cycle ILP 15 Skewness (= Maximum Planar Subgraph, MPS) Obstacle: Non-Biconnectedness Lemma (MPS will not be outerplanar.) To each a face-walk β we can associate a sub-cycle α ⊆ β such that each cycle is used at most once. 1 : 1 ◮ faces in the solution ← → cycles ◮ each edge is incident to at most one such cycle

  35. Improvement via Cycle ILP 15 Skewness (= Maximum Planar Subgraph, MPS) Obstacle: Non-Biconnectedness Lemma (MPS will not be outerplanar.) To each a face-walk β we can associate a sub-cycle α ⊆ β such that each cycle is used at most once. 1 : 1 ◮ faces in the solution ← → cycles ◮ each edge is incident to at most one such cycle

  36. Improvement via Cycle ILP 15 Skewness (= Maximum Planar Subgraph, MPS) Obstacle: Non-Biconnectedness Lemma (MPS will not be outerplanar.) To each a face-walk β we can associate a sub-cycle α ⊆ β such that each cycle is used at most once. 1 : 1 ◮ faces in the solution ← → cycles ◮ each edge is incident to at most one such cycle

  37. Improvement via Cycle ILP 16 Skewness (= Maximum Planar Subgraph, MPS) Cycle Model c α ∈ { 0 , 1 } ∀ α ∈ C G � c α = 2 ( 1 − s e ) ∀ e ∈ E α ∈C G : e ∈ α � � 3 | V ( G ) | − 6 − ( | α | − 3 ) c α = ( 1 − s e ) α ∈C G e ∈ E

  38. Improvement via Cycle ILP 16 Skewness (= Maximum Planar Subgraph, MPS) Cycle Model c α ∈ { 0 , 1 } ∀ α ∈ C G � c α ≤ 2 ( 1 − s e ) ∀ e ∈ E α ∈C G : e ∈ α � � 3 | V ( G ) | − 6 − ( | α | − 3 ) c α = ( 1 − s e ) α ∈C G e ∈ E

  39. Improvement via Cycle ILP 16 Skewness (= Maximum Planar Subgraph, MPS) Cycle Model c α ∈ { 0 , 1 } ∀ α ∈ C G � c α ≤ 2 ( 1 − s e ) ∀ e ∈ E α ∈C G : e ∈ α � � 3 | V ( G ) | − 6 − ( | α | − 3 ) c α = ( 1 − s e ) α ∈C G e ∈ E

  40. Improvement via Cycle ILP 16 Skewness (= Maximum Planar Subgraph, MPS) Cycle Model Pick D ∈ N such that number of variables is “reasonable”. c α ∈ { 0 , 1 } ∀ α ∈ C G , | α | ≤ D � c α ≤ 2 ( 1 − s e ) ∀ e ∈ E α ∈C G : e ∈ α, | α |≤ D � � 3 | V ( G ) | − 6 − ( | α | − 3 ) c α = ( 1 − s e ) α ∈C G e ∈ E

  41. Improvement via Cycle ILP 16 Skewness (= Maximum Planar Subgraph, MPS) Cycle Model Pick D ∈ N such that number of variables is “reasonable”. c α ∈ { 0 , 1 } ∀ α ∈ C G , | α | ≤ D � c α ≤ 2 ( 1 − s e ) ∀ e ∈ E α ∈C G : e ∈ α, | α |≤ D � � 3 | V ( G ) | − 6 − ( | α | − 3 ) c α = ( 1 − s e ) α ∈C G e ∈ E � � � ( D + 1 )( | V ( G ) | − 2 ) + ( D + 1 − d ) c α ≥ ( D − 1 ) ( 1 − s e ) e ∈ E d = 3 , 4 ,..., D α ∈C = d G

  42. Improvement via Cycle ILP 17 Skewness (= Maximum Planar Subgraph, MPS) D-Hierarchy

  43. Improvement via Cycle ILP 17 Skewness (= Maximum Planar Subgraph, MPS) D-Hierarchy Theorem The ILP formulations become strictly stronger when increasing D (but the number of variables increases drastically, as well).

  44. Improvement via Cycle ILP 17 Skewness (= Maximum Planar Subgraph, MPS) D-Hierarchy Theorem The ILP formulations become strictly stronger when increasing D (but the number of variables increases drastically, as well).

  45. Improvement via Cycle ILP 17 Skewness (= Maximum Planar Subgraph, MPS) D-Hierarchy Theorem The ILP formulations become strictly stronger when increasing D (but the number of variables increases drastically, as well). number of variables gap between LP and ILP max. cycle length D

  46. Improvement via Cycle ILP 17 Skewness (= Maximum Planar Subgraph, MPS) D-Hierarchy Theorem The ILP formulations become strictly stronger when increasing D (but the number of variables increases drastically, as well). number of variables gap between LP and ILP sweet spot? max. cycle length D

  47. Improvement via Cycle ILP 18 Skewness (= Maximum Planar Subgraph, MPS) Supplemental Constraint Zoo Once you have cycle variables, you can do a lot more with them! Goal: Tightly link edge- and cycle-variables Jean-Jacques Grandville (C0)

  48. Improvement via Cycle ILP 18 Skewness (= Maximum Planar Subgraph, MPS) Supplemental Constraint Zoo Once you have cycle variables, you can do a lot more with them! Goal: Tightly link edge- and cycle-variables For example: ◮ pseudo-tree extension ◮ cycle-edge cons. ◮ Kuratowski-cycle cons. ◮ k -cycles-path cons. ◮ cycle-clique cons. ◮ cycle-two-paths cons. Jean-Jacques Grandville (C0)

  49. Experiments 19 Skewness (= Maximum Planar Subgraph, MPS) Experimental Setting Framework ◮ C++, GCC 6.3 ◮ SCIP 6.0 [scip.zib.de] ◮ OGDF 2018.03 [www.ogdf.net] ◮ CPLEX 12.8 Computations ◮ Xeon Gold 6134 ◮ limit: 20 minutes, 8 GB Instances ◮ Rome [Di Battista et al., 1995] ◮ North [North, 1995] ◮ Expander [Steger & Wormald, 1997] ◮ SteinLib [Koch et al., 2000]

  50. Experiments 20 Skewness (= Maximum Planar Subgraph, MPS) Experimental Evaluation 1500 100 % success rate instances 1000 50 % no cycles [Mutzel 1994] cycles [Ch.&Wiedera 2018] 500 cycles + zoo [ — " — ] 0 % 0 2 4 6 8 10 12 14 16 18 ≥ 20 skewness (Rome graphs)

  51. Experiments 20 Skewness (= Maximum Planar Subgraph, MPS) Experimental Evaluation 1500 100 % success rate instances 1000 50 % no cycles [Mutzel 1994] cycles [Ch.&Wiedera 2018] 500 cycles + zoo [ — " — ] 0 % 0 2 4 6 8 10 12 14 16 18 ≥ 20 skewness (Rome graphs) Without vs. with cycles (+zoo) Rome North Expander SteinLib % solved of previously unsolved “100 % ” 75 % 30 % 30 %

  52. Experiments 20 Skewness (= Maximum Planar Subgraph, MPS) Experimental Evaluation 1500 100 % success rate instances 1000 50 % no cycles [Mutzel 1994] cycles [Ch.&Wiedera 2018] 500 cycles + zoo [ — " — ] 0 % 0 2 4 6 8 10 12 14 16 18 ≥ 20 skewness (Rome graphs) Without vs. with cycles (+zoo) Rome North Expander SteinLib % solved of previously unsolved “100 % ” 75 % 30 % 30 % speed-up (avg) on commonly solved 66x 34x 20x 12x

  53. Experiments 20 Skewness (= Maximum Planar Subgraph, MPS) Experimental Evaluation 1500 100 % success rate instances 1000 50 % no cycles [Mutzel 1994] cycles [Ch.&Wiedera 2018] 500 cycles + zoo [ — " — ] 0 % 0 2 4 6 8 10 12 14 16 18 ≥ 20 skewness (Rome graphs) Without vs. with cycles (+zoo) Rome North Expander SteinLib % solved of previously unsolved “100 % ” 75 % 30 % 30 % speed-up (avg) on commonly solved 66x 34x 20x 12x D (raise until ≥ 1000 vars) 11 8 6 7

  54. 21 Genus Genus γ ( G )

  55. 21 Genus Genus γ ( G ) computing it is quite hard practice... ◮ ∃ linear time FPT-algorithm for bounded genus g [Mohar 1999] , but doubly exponential in g and no known implementation even for toroidal case ◮ no (reasonable) heuristics

  56. Original ILP 22 Genus Faces in Embeddings of Higher Genus Theorem (Euler’s formula) ... is sensitive to the genus of the surface on with the drawing is: n − m + f = 2 − 2 γ .

  57. Original ILP 22 Genus Faces in Embeddings of Higher Genus Theorem (Euler’s formula) ... is sensitive to the genus of the surface on with the drawing is: n − m + f = 2 − 2 γ . Face-Tracing-based ILP [Beyer et al. 2016] ◮ Minimize γ by finding an embedding ( = rotation system) that maximizes f . ◮ Count faces via face tracing .

  58. Original ILP 23 Genus Crossing-free Non-planar Graphs

  59. Original ILP 23 Genus Crossing-free Non-planar Graphs

  60. Original ILP 23 Genus Crossing-free Non-planar Graphs

  61. Original ILP 24 Genus Embeddings and Face Tracing

  62. Original ILP 24 Genus Embeddings and Face Tracing

  63. Original ILP 24 Genus Embeddings and Face Tracing

  64. Original ILP 24 Genus Embeddings and Face Tracing 1 2 3 4 5

  65. Original ILP 24 Genus Embeddings and Face Tracing 1 2 3 4 3 2 1 5

  66. Original ILP → Improvement via Cycle ILP 25 Genus Face-Tracing-based Formulation upper bound on number of faces: ¯ f := min { m − n , 2 m / 3 }

  67. Original ILP → Improvement via Cycle ILP 25 Genus Face-Tracing-based Formulation upper bound on number of faces: ¯ f := min { m − n , 2 m / 3 } max � f ] x i i ∈ [¯ ∀ i ∈ [¯ Use the i -th face? x i ∈ { 0 , 1 } f ] ∀ i ∈ [¯ x a Arc a on i -th face? i ∈ { 0 , 1 } f ] , a ∈ A

  68. Original ILP → Improvement via Cycle ILP 25 Genus Face-Tracing-based Formulation upper bound on number of faces: ¯ f := min { m − n , 2 m / 3 } max � f ] x i i ∈ [¯ a ∈ A x a 3 x i ≤ � s.t. i ∀ i ∈ [¯ Use the i -th face? x i ∈ { 0 , 1 } f ] ∀ i ∈ [¯ x a Arc a on i -th face? i ∈ { 0 , 1 } f ] , a ∈ A

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