arXiv Science⌕ Search

arXiv · 2611.36531

An Experimental Evaluation of Maximum Weighted Matching Algorithms: Edmonds, Gabow, and Scaling on General Graphs

Abstract

Maximum weighted matching is a classic problem in combinatorial optimization. Edmonds gave the first polynomial time algorithm for the problem on general graphs; the fastest algorithms are Gabow's, which runs in $O(n(m+n\log n))$ time for general weights, and that of Duan, Pettie and Su, which runs in $O(m\sqrt{n}\log(nN))$ time for integer weights. We compare three algorithms: Edmonds, a blossom search organized as in Galil, Micali and Gabow (1986) with one lazily pruned queue of candidate edges; Gabow, the same search with the supporting forest and tree-blossom merging of Gabow (2018); and Scaling, the Hybrid scaling algorithm of Duan, Pettie and Su (2018). To the best of our knowledge, Gabow and Scaling are the first implementations of Gabow's candidate structure and of the Hybrid algorithm. Edmonds and Gabow break ties by the same rule and perform the same search, so their differences stem from the data structure. On graphs from SuiteSparse and random graphs with up to 55 million vertices, Gabow was slower on 74 of 75 graphs, by up to 39%, but faster on all 24 structured graphs that we built from dense bipartite or odd-cycle blocks, by 4 to 53%, and it used 1.2 to 2.0 times as much memory. On 50 graphs that admit maximum-weight perfect matchings, Scaling was the fastest on all 29 Erdős-Rényi graphs, 2.6 to 11.8 times faster than Edmonds, whereas Edmonds was fastest on random geometric graphs, by a factor of 26 to 33, and on clique and biclique blocks. Instrumented runs trace the overhead of Gabow to tearing down search trees, the slow Erdős-Rényi seeds of Edmonds and Gabow to repeated contraction of large blossoms, and the slowdown of Scaling on geometric graphs to longer searches and the dismantling of deeply nested blossoms. Our implementations and data are available at https://github.com/AzizFaraj/maximum-weight-matching.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Abdulaziz Alfaraj, Ahmed Al-Herz. 2026-11-26. An Experimental Evaluation of Maximum Weighted Matching Algorithms: Edmonds, Gabow, and Scaling on General Graphs. https://arxiv.science/abs/2611.36531

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Testing Induced-Subgraph Freeness in Outerplanar Graphs under the Random-Neighbor Oracle

We prove that, for every fixed nonempty graph $H$, induced-$H$-freeness is testable with $\varepsilon^{-O_H(1)}$ queries on outerplanar graphs with no maximum-degree bound in the $\textit{random-neighbor model}$, where each query at a vertex returns a uniformly random neighbor. Thus, the query complexity is polynomial in $1/\varepsilon$ and independent of the number $n$ of vertices. Previously, the best bound known for this problem was the $\operatorname{poly}(\log n)$-query guarantee that follows from the general outerplanar-graph tester of Babu, Khoury, and Newman (2016) in the stronger $\textit{adjacency-list model}$, which provides exact degree queries and indexed access to neighbors. Our tester has $\textit{two-sided error}$, which is necessary in general: induced-$P_3$-freeness has no one-sided constant-query tester in the random-neighbor model, even on outerplanar graphs of maximum degree two.

cs.DS↗

More RLBWT Tricks

Indexes based on $k$-mers can beat BWT-based indexes when the former take advantage of unitigs in de Bruijn graphs. In this paper we consider ways in which BWT-based indexes can do that as well, or even better. In particular, we consider MEM-finding between human chromosome 19s, where we can achieve a five- to sevenfold speedup over plain backward search, or a two- to threefold speedup over plain backward search with latency hiding, for about twice the space. We also show that two-level indexing can be fast without an index of the text: without one, MEM-finding is seven to eight times faster than plain backward search in slightly less space, and from the parse alone we can then locate every occurrence of every MEM for about 5\% more time and 3 to 10\% more space.

cs.DS↗

$\ell_{\infty}$ norm SVP in $\widetilde{O}(3^n)$

We give a classical randomized algorithm for the Shortest Vector Problem in the infinity norm in $\widetilde{O}(3^n)$ time and space, improving the previous bound of $2^{2.443n+o(n)}$. A variant of the algorithm lists all shortest nonzero vectors within the same bounds. Both results, including their time and space bounds, are formally verified in Lean 4. We use the counting moment framework of Gaussian difference dynamics to construct lists with equal expected counts at each lattice point in successively smaller cubes. The key is to restrict the midpoint of each pair to a fixed inner cube, so that every allowed difference has the same region of possible midpoints. Averaging random lattice translates then preserves these expected counts through repeated differencing. We control the dependence between entries through bounds on the second counting moment, using a weighted packing estimate for cubes to bound the variation in midpoint counts. Finally, two searches based on coordinate comparisons generate the intermediate lists and recover a shortest lattice vector within the claimed time bound.

cs.DS↗