English

A Fully-dynamic Approximation Algorithm for Maximum Weight b-Matchings in Graphs

Data Structures and Algorithms 2024-10-15 v1 Social and Information Networks

Abstract

Matching nodes in a graph G = (V, E) is a well-studied algorithmic problem with many applications. The b-matching problem is a generalizati on that allows to match a node with up to b neighbors. This allows more flexible connectivity patterns whenever vertices may have multiple associations. The algorithm b-suitor [Khan et al., SISC2016] is able to compute a (1/2)-approximation of a maximum weight b-matching in O(|E|) time. Since real-world graphs often change over time, fast dynamic methods for b-matching optimization are desirable. In this work, we propose Dyn-b-suitor, a dynamic algorithm for the weighted b-matching problem. As a non-trivial extension to the dynamic Suitor algorithm for 1-matchings [Angriman et al., JEA 2022], our approach computes (1/2)-approximate b-matchings by identifying and updating affected vertices without static recomputation. Our proposed algorithm is fully-dynamic, i. e., it supports both edge insertions and deletions, and we prove that it computes the same solution as its static counterpart. In extensive experiments on real-world benchmark graphs and generated instances, our dynamic algorithm yields significant savings compared to the sequential b-suitor, e. g., for batch updates with 10310^3 edges with an average acceleration factor of 10310^3. When comparing our sequential dynamic algorithm with the parallel (static) b-suitor on a 128-core machine, our dynamic algorithm is still 5959x to 10410^4 faster.

Keywords

Cite

@article{arxiv.2410.09965,
  title  = {A Fully-dynamic Approximation Algorithm for Maximum Weight b-Matchings in Graphs},
  author = {Fabian Brandt-Tumescheit and Frieda Gerharz and Henning Meyerhenke},
  journal= {arXiv preprint arXiv:2410.09965},
  year   = {2024}
}
R2 v1 2026-06-28T19:19:42.238Z