Skip to main navigation Skip to search Skip to main content

On Finding ℓ-Th Smallest Perfect Matchings

  • Nicolas El Maalouly
  • , Sebastian Haslebacher
  • , Adrian Taubner
  • , Lasse Wulf
  • Swiss Federal Institute of Technology Zurich

Research output: Chapter in Book/Report/Conference proceeding › Article in proceedings › Research › peer-review

13 Downloads (Orbit)

Abstract

Given an undirected weighted graph G and an integer k, Exact-Weight Perfect Matching (EWPM) is the problem of finding a perfect matching of weight exactly k in G. In this paper, we study EWPM and its variants. The EWPM problem is famous, since in the case of unary encoded weights, Mulmuley, Vazirani, and Vazirani showed almost 40 years ago that the problem can be solved in randomized polynomial time. However, up to this date no derandomization is known. Our first result is a simple deterministic algorithm for EWPM that runs in time nO(ℓ), where ℓ is the number of distinct weights that perfect matchings in G can take. In fact, we show how to find an ℓ-th smallest perfect matching in any weighted graph (even if the weights are encoded in binary, in which case EWPM in general is known to be NP-complete) in time nO(ℓ) for any integer ℓ. Similar next-to-optimal variants have also been studied recently for the shortest path problem. For our second result, we extend the list of problems that are known to be equivalent to EWPM. We show that EWPM is equivalent under a weight-preserving reduction to the Exact Cycle Sum problem (ECS) in undirected graphs with a conservative (i.e. no negative cycles) weight function. To the best of our knowledge, we are the first to study this problem. As a consequence, the latter problem is contained in RP if the weights are encoded in unary. Finally, we identify a special case of EWPM, called BCPM, which was recently studied by El Maalouly, Steiner and Wulf. We show that BCPM is equivalent under a weight-preserving transformation to another problem recently studied by Schlotter and Sebő as well as Geelen and Kapadia: the Shortest Odd Cycle problem (SOC) in undirected graphs with conservative weights. Finally, our nO(ℓ) algorithm works in this setting as well, identifying a tractable special case of SOC, BCPM, and ECS.
Original languageEnglish
Title of host publicationProceedings of 33rd Annual European Symposium on Algorithms
Number of pages15
PublisherSchloss Dagstuhl - Leibniz-Zentrum fuer Informatik, Germany
Publication date2025
Article number19
ISBN (Print)978-3-95977-395-9
DOIs
Publication statusPublished - 2025
Event33rd Annual European Symposium on Algorithms - Faculty of Physics at the University of Warsaw, Warsaw, Poland
Duration: 15 Sept 2025 → 17 Sept 2025

Conference

Conference33rd Annual European Symposium on Algorithms
LocationFaculty of Physics at the University of Warsaw
Country/TerritoryPoland
CityWarsaw
Period15/09/2025 → 17/09/2025
SeriesLeibniz International Proceedings in Informatics, LIPIcs
Volume351
ISSN1868-8969

Keywords

  • Derandomization
  • Exact Cycle Sum
  • Exact Matching
  • Exact-Weight Perfect Matching
  • Perfect Matching
  • Shortest Odd Cycle
  • k-th Best Solution
  • l-th Largest Solution
  • l-th Smallest Solution

Fingerprint

Dive into the research topics of 'On Finding ℓ-Th Smallest Perfect Matchings'. Together they form a unique fingerprint.

Cite this