The Power of Greedy for Online Minimum Cost Matching on the Line

10/06/2022
by   Eric Balkanski, et al.
0

We consider the online minimum cost matching problem on the line, in which there are n servers and, at each of n time steps, a request arrives and must be irrevocably matched to a server that has not yet been matched to, with the goal of minimizing the sum of the distances between the matched pairs. Despite achieving a worst-case competitive ratio that is exponential in n, the simple greedy algorithm, which matches each request to its nearest available free server, performs very well in practice. A major question is thus to explain greedy's strong empirical performance. In this paper, we aim to understand the performance of greedy over instances that are at least partially random. When both the requests and the servers are drawn uniformly and independently from [0,1], we show that greedy is constant competitive, which improves over the previously best-known O(√(n)) bound. We extend this constant competitive ratio to a setting with a linear excess of servers, which improves over the previously best-known O(log^3n) bound. We moreover show that in the semi-random model where the requests are still drawn uniformly and independently but where the servers are chosen adversarially, greedy achieves an O(logn) competitive ratio. When the requests arrive in a random order but are chosen adversarially, it was previously known that greedy is O(n)-competitive. Even though this one-sided randomness allows a large improvement in greedy's competitive ratio compared to the model where requests are adversarial and arrive in a random order, we show that it is not sufficient to obtain a constant competitive ratio by giving a tight Ω(logn) lower bound. These results invite further investigation about how much randomness is necessary and sufficient to obtain strong theoretical guarantees for the greedy algorithm for online minimum cost matching, on the line and beyond.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/09/2020

Online Minimum Cost Matching on the Line with Recourse

In online minimum cost matching on the line, n requests appear one by on...
research
08/11/2023

Competitive Analysis of Online Facility Assignment for General Layout of Servers on a Line

In the online facility assignment on a line OFAL(S,c) with a set S of k ...
research
04/06/2023

Leveraging Reusability: Improved Competitive Ratio of Greedy for Reusable Resources

We study online weighted bipartite matching of reusable resources where ...
research
03/02/2017

Adaptive Matching for Expert Systems with Uncertain Task Types

Online two-sided matching markets such as Q&A forums (e.g. StackOverflow...
research
08/19/2020

Competitive Analysis for Two Variants of Online Metric Matching Problem

In this paper, we study two variants of the online metric matching probl...
research
12/09/2021

Online minimum matching with uniform metric and random arrivals

We consider Online Minimum Bipartite Matching under the uniform metric. ...
research
04/22/2018

Maximizing Profit with Convex Costs in the Random-order Model

Suppose a set of requests arrives online: each request gives some value ...

Please sign up or login with your details

Forgot password? Click here to reset