English

A Faster Algorithm for Minimum-Cost Bipartite Matching in Minor-Free Graphs

Data Structures and Algorithms 2018-07-16 v1

Abstract

We give an O~(n7/5log(nC))\tilde{O}(n^{7/5} \log (nC))-time algorithm to compute a minimum-cost maximum cardinality matching (optimal matching) in KhK_h-minor free graphs with h=O(1)h=O(1) and integer edge weights having magnitude at most CC. This improves upon the O~(n10/7logC)\tilde{O}(n^{10/7}\log{C}) algorithm of Cohen et al. [SODA 2017] and the O(n3/2log(nC))O(n^{3/2}\log (nC)) algorithm of Gabow and Tarjan [SIAM J. Comput. 1989]. For a graph with mm edges and nn vertices, the well-known Hungarian Algorithm computes a shortest augmenting path in each phase in O(m)O(m) time, yielding an optimal matching in O(mn)O(mn) time. The Hopcroft-Karp [SIAM J. Comput. 1973], and Gabow-Tarjan [SIAM J. Comput. 1989] algorithms compute, in each phase, a maximal set of vertex-disjoint shortest augmenting paths (for appropriately defined costs) in O(m)O(m) time. This reduces the number of phases from nn to O(n)O(\sqrt{n}) and the total execution time to O(mn)O(m\sqrt{n}). In order to obtain our speed-up, we relax the conditions on the augmenting paths and iteratively compute, in each phase, a set of carefully selected augmenting paths that are not restricted to be shortest or vertex-disjoint. As a result, our algorithm computes substantially more augmenting paths in each phase, reducing the number of phases from O(n)O(\sqrt{n}) to O(n2/5)O(n^{2/5}). By using small vertex separators, the execution of each phase takes O~(m)\tilde{O}(m) time on average. For planar graphs, we combine our algorithm with efficient shortest path data structures to obtain a minimum-cost perfect matching in O~(n6/5log(nC))\tilde{O}(n^{6/5} \log{(nC)}) time. This improves upon the recent O~(n4/3log(nC))\tilde{O}(n^{4/3}\log{(nC)}) time algorithm by Asathulla et al. [SODA 2018].

Keywords

Cite

@article{arxiv.1807.04802,
  title  = {A Faster Algorithm for Minimum-Cost Bipartite Matching in Minor-Free Graphs},
  author = {Nathaniel Lahn and Sharath Raghvendra},
  journal= {arXiv preprint arXiv:1807.04802},
  year   = {2018}
}
R2 v1 2026-06-23T02:59:32.547Z