English

A Faster Algorithm for Maximum Weight Matching on Unrestricted Bipartite Graphs

Data Structures and Algorithms 2025-04-07 v3

Abstract

Given a weighted bipartite graph G=(L,R,E,w)G = (L, R, E, w), the maximum weight matching (MWM) problem seeks to find a matching MEM \subseteq E that maximizes the total weight eMw(e)\sum_{e \in M} w(e). This paper presents a novel algorithm with a time complexity of O(min(X3+E,XE+X2logX))O(\min(X^3 + E, XE + X^2\log X)), where X=min(L,R)X = \min(|L|, |R|). Unlike many existing algorithms, our approach supports real-valued weights without additional constraints. Under this condition, our result improves upon the previous best-known bound of O(VE+V2logV)O(VE + V^2\log V), or more strictly O(XE+XVlogV)O(XE + XV\log V), where V=LRV = L \cup R. The suggested implementation code is simplified and publicly available at https://github.com/ShawxingKwok/Kwok-algorithm, with the average-case time complexity of O(E1.4+LR)O(E^{1.4} + LR) estimated from experimental results on random graphs.

Keywords

Cite

@article{arxiv.2502.20889,
  title  = {A Faster Algorithm for Maximum Weight Matching on Unrestricted Bipartite Graphs},
  author = {Shawxing Kwok},
  journal= {arXiv preprint arXiv:2502.20889},
  year   = {2025}
}
R2 v1 2026-06-28T22:01:34.318Z