English

How quickly can you pack short paths? Engineering a search-tree algorithm for disjoint s-t paths of bounded length

Data Structures and Algorithms 2024-04-17 v1

Abstract

We study the Short Path Packing problem which asks, given a graph GG, integers kk and \ell, and vertices ss and tt, whether there exist kk pairwise internally vertex-disjoint ss-tt paths of length at most \ell. The problem has been proven to be NP-hard and fixed-parameter tractable parameterized by kk and \ell. Most previous research on this problem has been theoretical with limited practical implemetations. We present an exact FPT-algorithm based on a search-tree approach in combination with greedy localization. While its worst case runtime complexity of (k2)knO(1)(k\cdot \ell^2)^{k\cdot \ell}\cdot n^{O(1)} is larger than the state of the art, the nature of search-tree algorithms allows for a broad range of potential optimizations. We exploit this potential by presenting techniques for input preprocessing, early detection of trivial and infeasible instances, and strategic selection of promising subproblems. Those approaches were implemented and heavily tested on a large dataset of diverse graphs. The results show that our heuristic improvements are very effective and that for the majority of instances, we can achieve fast runtimes.

Keywords

Cite

@article{arxiv.2404.10469,
  title  = {How quickly can you pack short paths? Engineering a search-tree algorithm for disjoint s-t paths of bounded length},
  author = {Michael Kiran Huber},
  journal= {arXiv preprint arXiv:2404.10469},
  year   = {2024}
}

Comments

71 pages, 26 figures. Bachelor Thesis submitted at TU Wien

R2 v1 2026-06-28T15:55:41.980Z