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

加权 $k$-不相交匹配的半流式算法

Semi-Streaming Algorithms for Weighted $k$-Disjoint Matchings

S M Ferdous, Bhargav Samineni, Alex Pothen, Mahantesh Halappanavar, Bala Krishnamoorthy

AI总结:

针对 NP 难的最大权 $k$-不相交匹配问题,提出两种单遍半流式算法,显著降低内存与运行时间,并在大规模图上保持接近离线最优的权重。

摘要:

我们设计并实现了两个用于最大权 $k$-不相交匹配($k$-DM)问题的单遍半流式算法。给定整数 $k$,$k$-DM 问题旨在寻找 $k$ 个两两边不相交的匹配,使这些匹配的权重之和最大化。对于 $k \geq 2$,该问题是 NP 难的。我们的第一个算法基于该问题线性规划松弛的原始-对偶框架,具有 $\frac{1}{3+\varepsilon}$ 近似比。我们还提出了一个从 $k$-DM 到最大权 $b$-匹配问题的保近似归约。利用该归约和一个现有的半流式 $b$-匹配算法,我们为 $k$-DM 设计了一个近似比为 $(\frac{1}{2+\varepsilon})(1 - \frac{1}{k+1})$ 的半流式算法。对于任意常数 $\varepsilon > 0$,这两个算法都需要 $O(nk \log_{1+\varepsilon}^2 n)$ 比特空间。据我们所知,这是首个针对 $k$-DM 问题的半流式算法研究。我们在 95 个真实与合成测试问题上将这两个算法与最先进的离线算法进行比较,其中包括 13 个由数据中心网络轨迹生成的图。在这些实例上,我们的流式算法使用的内存显著更少(减少范围为 6 倍至 512 倍),并且运行时间快于离线算法。我们的解所得权重通常在离线算法最佳权重的 5% 以内。需要强调的是,现有离线算法在大多数大型实例(超过 10 亿条边)上会耗尽 1 TB 内存,而我们的流式算法在 $k=8$ 时仅使用 100 GB 内存即可求解这些问题。

英文摘要:

We design and implement two single-pass semi-streaming algorithms for the maximum weight $k$-disjoint matching ($k$-DM) problem. Given an integer $k$, the $k$-DM problem is to find $k$ pairwise edge-disjoint matchings such that the sum of the weights of the matchings is maximized. For $k \geq 2$, this problem is NP-hard. Our first algorithm is based on the primal-dual framework of a linear programming relaxation of the problem and is $\frac{1}{3+\varepsilon}$-approximate. We also develop an approximation preserving reduction from $k$-DM to the maximum weight $b$-matching problem. Leveraging this reduction and an existing semi-streaming $b$-matching algorithm, we design a $(\frac{1}{2+\varepsilon})(1 - \frac{1}{k+1})$-approximate semi-streaming algorithm for $k$-DM. For any constant $\varepsilon > 0$, both of these algorithms require $O(nk \log_{1+\varepsilon}^2 n)$ bits of space. To the best of our knowledge, this is the first study of semi-streaming algorithms for the $k$-DM problem. We compare our two algorithms to state-of-the-art offline algorithms on 95 real-world and synthetic test problems, including thirteen graphs generated from data center network traces. On these instances, our streaming algorithms used significantly less memory (ranging from 6$\times$ to 512$\times$ less) and were faster in runtime than the offline algorithms. Our solutions were often within 5% of the best weights from the offline algorithms. We highlight that the existing offline algorithms run out of 1 TB memory for most of the large instances ($>1$ billion edges), whereas our streaming algorithms can solve these problems using only 100 GB memory for $k=8$.

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

↑