Skip to main content
Log in

Balanced connected partitions of graphs: approximation, parameterization and lower bounds

  • Published:
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

A connected k-partition of a graph is a partition of its vertex set into k classes such that each class induces a connected subgraph. Finding a connected k-partition in which the classes have similar size is a classical problem that has been investigated since late seventies. We consider a more general setting in which the input graph \(G=(V,E)\) has a nonnegative weight assigned to each vertex, and the aim is to find a connected k-partition in which every class has roughly the same weight. In this case, we may either maximize the weight of a lightest class (maxmin BCP\(_k\)) or minimize the weight of a heaviest class (minmax BCP\(_k\)). Both problems are \(\text {\textsc {NP}}\)-hard for any fixed \(k\ge 2\), and equivalent only when \(k=2\). In this work, we propose a simple pseudo-polynomial \(\frac{3}{2}\)-approximation algorithm for minmax BCP\(_3\), which is an \(\mathcal {O}(|V ||E |)\) time \(\frac{3}{2}\)-approximation for the unweighted version of the problem. We show that, using a scaling technique, this algorithm can be turned into a polynomial-time \((\frac{3}{2} +{\varepsilon })\)-approximation for the weighted version of the problem with running-time \(\mathcal {O}(|V |^3 |E |/ {\varepsilon })\), for any fixed \({\varepsilon }>0\). This algorithm is then used to obtain, for minmax BCP\(_k\), \(k\ge 4\), analogous results with approximation ratio \((\frac{k}{2}+{\varepsilon })\). For \(k\in \{4,5\}\), we are not aware of algorithms with approximation ratios better than those. We also consider fractional bipartitions that lead to a unified approach to design simpler approximations for both minmax and maxmin versions. Additionally, we propose a fixed-parameter tractable algorithm based on integer linear programming for the unweighted maxmin BCP parameterized by the size of a vertex cover. Assuming the Exponential-Time Hypothesis, we show that there is no subexponential-time algorithm to solve the maxmin and minmax versions of the problem.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Data availability

Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.

References

  • Alimonti P, Calamoneri T (1999) On the complexity of the max balance problem. In: Argentinian workshop on theoretical computer science (WAIT’99), pp 133–138

  • Becker RI, Perl Y (1983) Shifting algorithms for tree partitioning with general weighting functions. J Algorithms 4(2):101–120

    Article  MathSciNet  MATH  Google Scholar 

  • Becker RI, Schach SR, Perl Y (1982) A shifting algorithm for min-max tree partitioning. J ACM 29(1):58–67

    Article  MathSciNet  MATH  Google Scholar 

  • Becker RI, Lari I, Lucertini M, Simeone B (1998) Max-min partitioning of grid graphs into connected components. Networks 32(2):115–125

    Article  MathSciNet  MATH  Google Scholar 

  • Becker R, Lari I, Lucertini M, Simeone B (2001) A polynomial-time algorithm for max-min partitioning of ladders. Theory Comput Syst 34(4):353–374

    Article  MathSciNet  MATH  Google Scholar 

  • Casel K, Friedrich T, Issac D, Niklanovits A, Zeif Z (2021) Balanced crown decomposition for connectivity constraints. In: Mutzel P, Pagh R, Herman G (eds), 29th annual European symposium on algorithms (ESA 2021), volume 204 of Leibniz international proceedings in informatics (LIPIcs), pp 26:1–26:15

  • Chataigner F, Salgado LRB, Wakabayashi Y (2007) Approximation and inapproximability results on balanced connected partitions of graphs. Discrete Math Theor Comput Sci 9(1):177–192

    MathSciNet  MATH  Google Scholar 

  • Chen G, Chen Y, Chen Z-Z, Lin G, Liu T, Zhang A (2020) Approximation algorithms for the maximally balanced connected graph tripartition problem. J Comb Optim 1–21

  • Chen Y, Chen Z, Lin G, Xu Y, Zhang A (2021) Approximation algorithms for maximally balanced connected graph partition. Algorithmica 83(12):3715–3740

    Article  MathSciNet  MATH  Google Scholar 

  • Chlebíková J (1996) Approximating the maximally balanced connected partition problem in graphs. Inf Process Lett 60(5):225–230

    Article  MathSciNet  MATH  Google Scholar 

  • Cygan M, Fomin FV, Kowalik Ł, Lokshtanov D, Marx D, Pilipczuk M, Pilipczuk M, Saurabh S (2015) Miscellaneous. Springer International Publishing, Cham, pp 129–150

    Google Scholar 

  • Dyer M, Frieze A (1985) On the complexity of partitioning graphs into connected subgraphs. Discrete Appl Math 10(2):139–153

    Article  MathSciNet  MATH  Google Scholar 

  • Enciso R, Fellows MR, Guo J, Kanj IA, Rosamond FA, Suchý O (2009) What makes equitable connected partition easy. In: Chen J, Fomin FV (eds) Parameterized and exact computation, 4th international workshop, IWPEC 2009, Copenhagen, Denmark, September 10–11, 2009, Revised Selected Papers, vol 5917. Lecture notes in computer science. Springer, Berlin, pp 122–133

  • Fellows MR, Lokshtanov D, Misra N, Rosamond FA, Saurabh S (2008) Graph layout problems parameterized by vertex cover. In: Proceedings of the 19th international symposium on algorithms and computation, ISAAC ’08. Springer, Berlin, pp 294–305

  • Frank A, Tardos É (1987) An application of simultaneous diophantine approximation in combinatorial optimization. Combinatorica 7(1):49–65

    Article  MathSciNet  MATH  Google Scholar 

  • Frederickson GN (1991) Optimal algorithms for tree partitioning. In: Proceedings of the second annual ACM-SIAM symposium on discrete algorithms, SODA ’91, pp 168–177

  • Győri E (1978) On division of graph to connected subgraphs. In: Combinatorics (Proc. Fifth Hungarian Colloq., Koszthely, 1976), volume 18 of Colloq. Math. Soc. János Bolyai, pp 485–494

  • Holyer A (2019) On the independent spanning tree conjectures and related problems. Ph.D. thesis, Georgia Institute of Technology, School of Mathematics

  • Impagliazzo R, Paturi R (2001) On the complexity of \(k\)-SAT. J Comput Syst Sci 62(2):367–375

    Article  MathSciNet  MATH  Google Scholar 

  • Impagliazzo R, Paturi R, Zane F (2001) Which problems have strongly exponential complexity? J Comput Syst Sci 63(4):512–530

    Article  MathSciNet  MATH  Google Scholar 

  • Kannan R (1987) Minkowski’s convex body theorem and integer programming. Math Oper Res 12(3):415–440

    Article  MathSciNet  MATH  Google Scholar 

  • Lenstra HW (1983) Integer programming with a fixed number of variables. Math Oper Res 8(4):538–548

    Article  MathSciNet  MATH  Google Scholar 

  • Lovász L (1977) A homology theory for spanning trees of a graph. Acta Mathematica Academiae Scientiarum Hungarica 30:241–251

    Article  MathSciNet  MATH  Google Scholar 

  • Lucertini M, Perl Y, Simeone B (1993) Most uniform path partitioning and its use in image processing. Discrete Appl Math 42(2):227–256

    Article  MathSciNet  MATH  Google Scholar 

  • Maravalle M, Simeone B, Naldini R (1997) Clustering on trees. Comput Stat Data Anal 24(2):217–234

    Article  MathSciNet  MATH  Google Scholar 

  • Miyazawa FK, Moura PFS, Ota MJ, Wakabayashi Y (2020) Cut and flow formulations for the balanced connected \(k\)-partition problem. In: Baïou M, Gendron B, Günlük O, Mahjoub AR (eds) Combin Optim. Springer, Cham, pp 128–139

    Google Scholar 

  • Miyazawa FK, Moura PF, Ota MJ, Wakabayashi Y (2021) Partitioning a graph into balanced connected classes: formulations, separation and experiments. Eur J Oper Res 293(3):826–836

    Article  MathSciNet  MATH  Google Scholar 

  • Moura PFS, Ota MJ, Wakabayashi Y (2022) Approximation and parameterized algorithms for balanced connected partition problems. In: Balachandran N, Inkulu R (eds) Algorithms and discrete applied mathematics, Lecture notes in computer science, vol 13179. Springer, Berlin, pp 211–223

    Chapter  Google Scholar 

  • Nakano S, Rahman M, Nishizeki T (1997) A linear-time algorithm for four-partitioning four-connected planar graphs. Inf Process Lett 62(6):315–322

    Article  MathSciNet  MATH  Google Scholar 

  • Perl Y, Schach SR (1981) Max-min tree partitioning. J ACM 28(1):5–15

    Article  MathSciNet  MATH  Google Scholar 

  • Suzuki H, Takahashi N, Nishizeki T (1990a) A linear algorithm for bipartition of biconnected graphs. Inf Process Lett 33(5):227–231

  • Suzuki H, Takahashi N, Nishizeki T, Miyano H, Ueno S (1990b) An algorithm for tripartitioning 3-connected graphs. J Inf Process Soc Jpn 31(5):584–592

  • Wu BY (2012) Fully polynomial-time approximation schemes for the max–min connected partition problem on interval graphs. Discrete Math Algorithms Appl 04(01):1250005

    Article  MathSciNet  MATH  Google Scholar 

  • Zhou X, Wang H, Ding B, Hu T, Shang S (2019) Balanced connected task allocations for multi-robot systems: an exact flow-based integer program and an approximate tree-based genetic algorithm. Expert Syst Appl 116:10–20

    Article  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the referees for the remarks and suggestions that contributed to improve the presentation of this work.

Funding

P.F.S. Moura is supported by Fundação de Amparo à Pesquisa do Estado de Minas Gerais - FAPEMIG (Proc. APQ-01040-21). Y. Wakabayashi is supported by the National Council for Scientific and Technological Development—CNPq (Proc.  423833/2018-9 and 311892/2021-3) and Grant #2015/11937-9, São Paulo Research Foundation (FAPESP).

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed equally to the study conception and design. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Phablo F. S. Moura.

Ethics declarations

Competing interests

The authors have no relevant financial or non-financial interests to disclose.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Moura, P.F.S., Ota, M.J. & Wakabayashi, Y. Balanced connected partitions of graphs: approximation, parameterization and lower bounds. J Comb Optim 45, 127 (2023). https://doi.org/10.1007/s10878-023-01058-x

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10878-023-01058-x

Keywords

Mathematics Subject Classification

Navigation