arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.10469cs.DS
收藏

你能多快打包短路径?为有界长度的不相交 s-t 路径设计搜索树算法

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

Michael Kiran Huber

AI总结:

本文针对有界长度不相交 s-t 路径的短路径打包问题,提出基于搜索树与贪心局部化的精确 FPT 算法,并通过预处理、早期检测和子问题选择等启发式优化,在多样图数据集上实现了大多数实例的快速求解。

摘要:

我们研究短路径打包问题:给定图 $G$、整数 $k$ 和 $\ell$ 以及顶点 $s$ 和 $t$,判断是否存在 $k$ 条长度至多为 $\ell$ 的两两内部顶点不相交的 $s$-$t$ 路径。该问题已被证明是 NP 难的,并且以 $k$ 和 $\ell$ 为参数时是固定参数可解的。此前关于该问题的研究大多偏重理论,实际实现较为有限。我们提出一种精确的 FPT 算法,该算法基于搜索树方法并结合贪心局部化策略。尽管其最坏情况运行时间复杂度 $(k\cdot \ell^2)^{k\cdot \ell}\cdot n^{O(1)}$ 高于当前最优水平,但搜索树算法的特性为广泛的潜在优化提供了空间。我们通过提出输入预处理、平凡实例与不可行实例的早期检测以及有前景子问题的策略性选择等技术来利用这一潜力。这些方法已在包含多种图的大型数据集上实现并进行了大量测试。结果表明,我们的启发式改进非常有效,并且对于大多数实例,我们能够实现较快的运行时间。

英文摘要:

We study the Short Path Packing problem which asks, given a graph $G$, integers $k$ and $\ell$, and vertices $s$ and $t$, whether there exist $k$ pairwise internally vertex-disjoint $s$-$t$ paths of length at most $\ell$. The problem has been proven to be NP-hard and fixed-parameter tractable parameterized by $k$ 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 $(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑