English

Scalable Algorithms for 2-Packing Sets on Arbitrary Graphs

Data Structures and Algorithms 2024-02-13 v4

Abstract

A 2-packing set for an undirected graph G=(V,E)G=(V,E) is a subset SV\mathcal{S} \subset V such that any two vertices v1,v2Sv_1,v_2 \in \mathcal{S} have no common neighbors. Finding a 2-packing set of maximum cardinality is a NP-hard problem. We develop a new approach to solve this problem on arbitrary graphs using its close relation to the independent set problem. Thereby, our algorithm red2pack uses new data reduction rules specific to the 2-packing set problem as well as a graph transformation. Our experiments show that we outperform the state-of-the-art for arbitrary graphs with respect to solution quality and also are able to compute solutions multiple orders of magnitude faster than previously possible. For example, we are able to solve 63% of the graphs in the tested data set to optimality in less than a second while the competitor for arbitrary graphs can only solve 5% of these graphs to optimality even with a 10 hour time limit. Moreover, our approach can solve a wide range of large instances that have previously been unsolved.

Keywords

Cite

@article{arxiv.2308.15515,
  title  = {Scalable Algorithms for 2-Packing Sets on Arbitrary Graphs},
  author = {Jannick Borowitz and Ernestine Großmann and Christian Schulz and Dominik Schweisgut},
  journal= {arXiv preprint arXiv:2308.15515},
  year   = {2024}
}
R2 v1 2026-06-28T12:07:40.498Z