,
Arghya Chakraborty
,
Prahladh Harsha
Creative Commons Attribution 4.0 International license
Online bipartite matching is a classical problem in online algorithms and we know that both the deterministic fractional and randomized integral online matchings achieve the same competitive ratio of 1-1/e. In this work, we study classes of graphs where the online degree is restricted to 2. As expected, one can achieve a competitive ratio of better than 1-1/e in both the deterministic fractional and randomized integral cases, but surprisingly, these ratios are not the same. It was already known that for fractional matching, a 0.75 competitive ratio algorithm is optimal. We show that the folklore Half-Half algorithm achieves a competitive ratio of η ≈ 0.717772… and more surprisingly, show that this is optimal by giving a matching lower-bound. This yields a separation between the two problems: deterministic fractional and randomized integral, showing that it is impossible to obtain a perfect rounding scheme.
@InProceedings{bhangale_et_al:LIPIcs.ISAAC.2025.13,
author = {Bhangale, Amey and Chakraborty, Arghya and Harsha, Prahladh},
title = {{Optimal Online Bipartite Matching in Degree-2 Graphs}},
booktitle = {36th International Symposium on Algorithms and Computation (ISAAC 2025)},
pages = {13:1--13:19},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-408-6},
ISSN = {1868-8969},
year = {2025},
volume = {359},
editor = {Chen, Ho-Lin and Hon, Wing-Kai and Tsai, Meng-Tsung},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ISAAC.2025.13},
URN = {urn:nbn:de:0030-drops-249216},
doi = {10.4230/LIPIcs.ISAAC.2025.13},
annote = {Keywords: Online Algorithm, Bipartite matching}
}