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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 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.
The upper bound on the number of nodes occurs only implicitly in their work within the analysis of their algorithm’s running time.
- 3.
To be precise, they consider Min-Bisection; however, in their paper as well as in [11], all arguments work for both problems.
- 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.
Since we only did an index shift, we can reuse the recurrence from [11] by applying the same shift to it.
- 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.
\(x \le y \implies f(a,x) \ge f(a,y)\).
- 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
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
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
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
Brinkop, H., Jansen, K.: Solving cut-problems in quadratic time for graphs with bounded treewidth. https://arxiv.org/abs/2101.00694
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
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
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
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
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
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
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
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
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
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
Kloks, T. (ed.): Treewidth, Computations and Approximations. LNCS, vol. 842. Springer, Heidelberg (1994). https://doi.org/10.1007/BFb0045375
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
Mahoney, M.: Lecture: Overview of graph partitioning. https://www.stat.berkeley.edu/~mmahoney/s15-stat260-cs294/Lectures/lecture05-05feb15.pdf. Accessed 04 Jan 2022
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)