Implementing weighted b-matching algorithms: insights from a computational study

  • Authors:
  • Matthias Müller-Hannemann;Alexander Schwartz

  • Affiliations:
  • Technische Univ. Berlin, Berlin, Germany;Technische Univ. Berlin, Berlin, Germany

  • Venue:
  • Journal of Experimental Algorithmics (JEA)
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present an experimental study of an implementation of weighted perfect b-matching based on the primal-dual blossom algorithm. Although this problem is well-understood in theory and efficient algorithms are known, only little experience with implementations is available. In this paper several algorithmic variants are compared on synthetic and application problem data of very sparse graphs. This study was motivated by the practical need for an efficient b-matching solver for the latter application, namely as a subroutine in our approach to a mesh refinement problem in computer-aided design (CAD).Linear regression and operation counting is used to analyze code variants. The experiments confirm that a fractional jump-start speeds up the algorithm, they indicate that a variant based on pairing heaps is slightly superior to a k-heap variant, and that scaling of large b-values is not necessary, whereas a delayed blossom shrinking heuristic significantly improves running times only for graphs with average degree two. The fastest variant of our implementation appears to be highly superior to a code by Miller and Pekny (1995).