, Volume 68, Issue 2, pp 390–403

A Randomized O(log2k)-Competitive Algorithm for Metric Bipartite Matching

  • Nikhil Bansal
  • Niv Buchbinder
  • Anupam Gupta
  • Joseph (Seffi) Naor


We consider the online metric matching problem in which we are given a metric space, k of whose points are designated as servers. Over time, up to k requests arrive at an arbitrary subset of points in the metric space, and each request must be matched to a server immediately upon arrival, subject to the constraint that at most one request is matched to any particular server. Matching decisions are irrevocable and the goal is to minimize the sum of distances between the requests and their matched servers.

We give an O(log2k)-competitive randomized algorithm for the online metric matching problem. This improves upon the best known guarantee of O(log3k) on the competitive factor due to Meyerson, Nanavati and Poplawski (SODA ’06, pp. 954–959, 2006). It is known that for this problem no deterministic algorithm can have a competitive better than 2k−1, and that no randomized algorithm can have a competitive ratio better than lnk.


Online algorithm Competitive analysis Metric matching Randomized algorithm 

Copyright information

© Springer Science+Business Media, LLC 2012

Authors and Affiliations

  • Nikhil Bansal
    • 1
  • Niv Buchbinder
    • 2
  • Anupam Gupta
    • 3
  • Joseph (Seffi) Naor
    • 4
  1. 1.Eindhoven University of TechnologyEindhovenThe Netherlands
  2. 2.Computer Science DepartmentOpen University of IsraelRaananaIsrael
  3. 3.Department of Computer ScienceCarnegie Mellon UniversityPittsburghUSA
  4. 4.Department of Computer ScienceTechnionHaifaIsrael

Personalised recommendations