Online k-taxi via Double Coverage and time-reverse primal-dual

We consider the online $k$-taxi problem, a generalization of the $k$-server problem, in which $k$ servers are located in a metric space. A sequence of requests is revealed one by one, where each request is a pair of two points, representing the start and destination of a travel request by a passenger. The goal is to serve all requests while minimizing the distance traveled without carrying a passenger. We show that the classic Double Coverage algorithm has competitive ratio $2^k-1$ on HSTs, matching a recent lower bound for deterministic algorithms. For bounded depth HSTs, the competitive ratio turns out to be much better and we obtain tight bounds. When the depth is $d\ll k$, these bounds are approximately $k^d/d!$. By standard embedding results, we obtain a randomized algorithm for arbitrary $n$-point metrics with (polynomial) competitive ratio $O(k^c\Delta^{1/c}\log_{\Delta} n)$, where $\Delta$ is the aspect ratio and $c\ge 1$ is an arbitrary positive integer constant. The only previous known bound was $O(2^k\log n)$. For general (weighted) tree metrics, we prove the competitive ratio of Double Coverage to be $\Theta(k^d)$ for any fixed depth $d$, but unlike on HSTs it is not bounded by $2^k-1$. We obtain our results by a dual fitting analysis where the dual solution is constructed step-by-step backwards in time. Unlike the forward-time approach typical of online primal-dual analyses, this allows us to combine information from the past and the future when assigning dual variables. We believe this method can be useful also for other problems. Using this technique, we also provide a dual fitting proof of the $k$-competitiveness of Double Coverage for the $k$-server problem on trees.

[1]  Lyle A. McGeoch,et al.  Competitive algorithms for on-line problems , 1988, STOC '88.

[2]  Marek Chrobak,et al.  An Optimal On-Line Algorithm for k-Servers on Trees , 1991, SIAM J. Comput..

[3]  Yuval Rabani,et al.  Competitive k-Server Algorithms (Extended Abstract) , 1990, FOCS 1990.

[4]  Joseph Naor,et al.  The Design of Competitive Online Algorithms via a Primal-Dual Approach , 2009, Found. Trends Theor. Comput. Sci..

[5]  Amos Fiat,et al.  Competitive Paging Algorithms , 1991, J. Algorithms.

[6]  James R. Lee,et al.  Fusible HSTs and the Randomized k-Server Conjecture , 2017, 2018 IEEE 59th Annual Symposium on Foundations of Computer Science (FOCS).

[7]  Allan Borodin,et al.  On the power of randomization in on-line algorithms , 2005, Algorithmica.

[8]  Elias Koutsoupias,et al.  The k-server problem , 2009, Comput. Sci. Rev..

[9]  Anupam Gupta,et al.  Approximating Sparse Covering Integer Programs Online , 2012, Math. Oper. Res..

[10]  Marek Chrobak,et al.  New results on server problems , 1991, SODA '90.

[11]  Kunal Talwar,et al.  A tight bound on approximating arbitrary metrics by tree metrics , 2004, J. Comput. Syst. Sci..

[12]  Joseph Naor,et al.  k-Servers with a Smile: Online Algorithms via Projections , 2018, SODA.

[13]  V. Rich Personal communication , 1989, Nature.

[14]  Yair Bartal,et al.  Probabilistic approximation of metric spaces and its algorithmic applications , 1996, Proceedings of 37th Conference on Foundations of Computer Science.

[15]  Kent Quanrud,et al.  On Approximating (Sparse) Covering Integer Programs , 2018, SODA.

[16]  Christian Coester,et al.  The Online $k$-Taxi Problem. , 2018 .

[17]  Yossi Azar,et al.  Online Algorithms for Covering and Packing Problems with Convex Objectives , 2016, 2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS).

[18]  Christian Coester,et al.  The online 𝑘-taxi problem , 2019, STOC.

[19]  Anupam Gupta,et al.  Approximating Sparse Covering Integer Programs Online , 2014, Math. Oper. Res..

[20]  Christos H. Papadimitriou,et al.  On the k-server conjecture , 1995, JACM.

[21]  James R. Lee,et al.  k-server via multiscale entropic regularization , 2017, STOC.

[22]  Vahid Liaghat,et al.  Stochastic k-Server: How Should Uber Work? , 2017, ICALP.

[23]  Nils J. Nilsson,et al.  Design and analysis of online algorithms for mobile server applications , 1996 .