Nothing Special   »   [go: up one dir, main page]

Skip to main content

Solving Cut-Problems in Quadratic Time for Graphs with Bounded Treewidth

  • Conference paper
  • First Online:
SOFSEM 2023: Theory and Practice of Computer Science (SOFSEM 2023)

Abstract

In the problem (Unweighted) Max-Cut we are given a graph \(G = (V,E)\) and asked for a set \(S \subseteq V\) such that the number of edges from S to \(V \setminus S\) is maximal. In this paper we consider an even harder problem: (Weighted) Max-Bisection. Here we are given an undirected graph \(G = (V,E)\) and a weight function \(w :E \rightarrow \mathbb {Q}_{>0}\) and the task is to find a set \(S \subseteq V\) such that (i) the sum of the weights of edges from S is maximal; and (ii) S contains \(\lceil * \rceil {\frac{n}{2}}\) vertices (where \(n = | V |\)). We design a framework that allows to solve this problem in time \(\mathcal {O}(2^t n^2)\) if a tree decomposition of width t is given as part of the input. This improves the previously best running time for Max-Bisection of Hanaka, Kobayashi, and Sone [9] by a factor \(t^2\). Under common hardness assumptions, neither the dependence on t in the exponent nor the dependence on n can be reduced [7, 9, 16]. Our framework can be applied to other cut problems like Min-Edge-Expansion, Sparsest-Cut, Densest-Cut, \(\beta \)-Balanced-Min-Cut, and Min-Bisection. It also works in the setting with arbitrary weights and directed edges.

This work was partially supported by DFG Project “Fein-granulare Komplexität und Algorithmen für Scheduling und Packungen”, JA 612 /25-1.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    The undirected and unweighted versions can easily be modelled as directed and weighted by setting each edge weight to 1 and by replacing each undirected edge between vertices \(v_1\) and \(v_2\) by two directed edges, \(v_1v_2\) and \(v_2v_1\).

  2. 2.

    The upper bound on the number of nodes occurs only implicitly in their work within the analysis of their algorithm’s running time.

  3. 3.

    To be precise, they consider Min-Bisection; however, in their paper as well as in [11], all arguments work for both problems.

  4. 4.

    It might disappear on multiple leaf-root-paths; however, the node at which a vertex disappears, is the same on each of those leaf-root-paths.

  5. 5.

    Since we only did an index shift, we can reuse the recurrence from [11] by applying the same shift to it.

  6. 6.

    Note that \(\partial S\) can only take on \(\mathcal {O}(2^t)\) different values at some fixed node i. We use a simple DP to precompute the \(w(\cdot )\) terms efficiently (for a fixed node in time \(\mathcal {O}(2^tn)\)).

  7. 7.

    \(x \le y \implies f(a,x) \ge f(a,y)\).

  8. 8.

    For the reader not familiar with order theory: The binary supremum is an associative and commutative map. If for every pair of elements there is a supremum, that is, a smallest element that is larger than both elements of the pair, then so it does for any finite set M. This can be shown by a simple inductive argument using the aforementioned associativity/commutativity.

References

  1. Baker, B.S.: Approximation algorithms for NP-complete problems on planar graphs. J. ACM 41(1), 153–180 (1994). https://doi.org/10.1145/174644.174650. ISSN 0004-5411

    Article  MathSciNet  MATH  Google Scholar 

  2. Bodlaender, H.L., Cygan, M., Kratsch, S., Nederlof, J.: Deterministic single exponential time algorithms for connectivity problems parameterized by treewidth. Inf. Comput. 243, 86–111 (2015). https://doi.org/10.1016/j.ic.2014.12.008

    Article  MathSciNet  MATH  Google Scholar 

  3. Bonsma, P.S., Broersma, H., Patel, V., Pyatkin, A.V.: The complexity of finding uniform sparsest cuts in various graph classes. J. Discrete Algorithms 14, 136–149 (2012). https://doi.org/10.1016/j.jda.2011.12.008

    Article  MathSciNet  MATH  Google Scholar 

  4. Brinkop, H., Jansen, K.: Solving cut-problems in quadratic time for graphs with bounded treewidth. https://arxiv.org/abs/2101.00694

  5. Calabro, C., Impagliazzo, R., Paturi, R.: The complexity of satisfiability of small depth circuits. In: Chen, J., Fomin, F.V. (eds.) IWPEC 2009. LNCS, vol. 5917, pp. 75–85. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-11269-0_6

    Chapter  Google Scholar 

  6. Cygan, M., Mucha, M., Węgrzycki, K., Włodarczyk, M.: On problems equivalent to (min,+)-convolution. ACM Trans. Algorithms 15(1), 1–25 (2019). https://doi.org/10.1145/3293465. ISSN 1549-6325

    Article  MathSciNet  MATH  Google Scholar 

  7. Eiben, E., Lokshtanov, D., Mouawad, A.E.: Bisection of bounded treewidth graphs by convolutions. J. Comput. Syst. Sci. 119, 125–132 (2021). https://doi.org/10.1016/j.jcss.2021.02.002

    Article  MathSciNet  MATH  Google Scholar 

  8. Feige, U., Yahalom, O.: On the complexity of finding balanced oneway cuts. Inf. Process. Lett. 87(1), 1–5 (2003). https://doi.org/10.1016/S0020-0190(03)00251-5

    Article  MathSciNet  MATH  Google Scholar 

  9. Hanaka, T., Kobayashi, Y., Sone, T.: A (probably) optimal algorithm for bisection on bounded-treewidth graphs. Theor. Comput. Sci. 873, 38–46 (2021). https://doi.org/10.1016/j.tcs.2021.04.023

    Article  MathSciNet  MATH  Google Scholar 

  10. Impagliazzo, R., Paturi, R.: On the complexity of k-sat. J. Comput. Syst. Sci. 62(2), 367–375 (2001). https://doi.org/10.1006/jcss.2000.1727

    Article  MathSciNet  MATH  Google Scholar 

  11. Jansen, K., Karpinski, M., Lingas, A., Seidel, E.: Polynomial time approximation schemes for max-bisection on planar and geometric graphs. SIAM J. Comput. 35(1), 110–119 (2005). https://doi.org/10.1137/S009753970139567X

    Article  MathSciNet  MATH  Google Scholar 

  12. Javadi, R., Nikabadi, A.: On the parameterized complexity of sparsest cut and small-set expansion problems. Computing Research Repository, abs/1910.12353 (2019). http://arxiv.org/abs/1910.12353

  13. Karp, R.M.: Reducibility among Combinatorial Problems. In: Miller, R.E., Thatcher, J.W., Bohlinger, J.D. (eds.) Complexity of Computer Computations, pp. 85–103. Springer, Boston (1972). https://doi.org/10.1007/978-1-4684-2001-2_9

    Chapter  Google Scholar 

  14. Katsikarelis, I.: Computing bounded-width tree and branch decompositions of k-outerplanar graphs. Computing Research Repository, abs/1301.5896 (2013). http://arxiv.org/abs/1301.5896

  15. Kloks, T. (ed.): Treewidth, Computations and Approximations. LNCS, vol. 842. Springer, Heidelberg (1994). https://doi.org/10.1007/BFb0045375

    Book  MATH  Google Scholar 

  16. Lokshtanov, D., Marx, D., Saurabh, S.: Known algorithms on graphs of bounded treewidth are probably optimal. ACM Trans. Algorithms 14(2), 13:1–13:30 (2018). https://doi.org/10.1145/3170442

  17. Mahoney, M.: Lecture: Overview of graph partitioning. https://www.stat.berkeley.edu/~mmahoney/s15-stat260-cs294/Lectures/lecture05-05feb15.pdf. Accessed 04 Jan 2022

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hauke Brinkop .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Brinkop, H., Jansen, K. (2023). Solving Cut-Problems in Quadratic Time for Graphs with Bounded Treewidth. In: Gąsieniec, L. (eds) SOFSEM 2023: Theory and Practice of Computer Science. SOFSEM 2023. Lecture Notes in Computer Science, vol 13878. Springer, Cham. https://doi.org/10.1007/978-3-031-23101-8_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-23101-8_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-23100-1

  • Online ISBN: 978-3-031-23101-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics