Skip to main content

Online k-Taxi via Double Coverage and Time-Reverse Primal-Dual

  • Conference paper
  • First Online:
Integer Programming and Combinatorial Optimization (IPCO 2021)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12707))

Abstract

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.

This research was supported in part by US-Israel BSF grant 2018352, by ISF grant 2233/19 (2027511) and by NWO VICI grant 639.023.812.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    See Sect. 2 for an exact definition of HSTs.

  2. 2.

    There is a gap in the version posted to the arXiv on February 21, 2018 [19, 20].

  3. 3.

    We note that our LP for the k-server problem is different from LPs used in the context of polylogarithmically-competitive randomized algorithms for the k-server problem. In our context of deterministic algorithms for k-taxi (and k-server), we show that we can work with this simpler formulation.

References

  1. Azar, Y., et al.: Online algorithms for covering and packing problems with convex objectives. In: IEEE 57th Annual Symposium on Foundations of Computer Science, FOCS 2016, pp. 148–157. IEEE Computer Society (2016)

    Google Scholar 

  2. Bartal, Y.: Probabilistic approximation of metric spaces and its algorithmic applications. In: 37th Annual Symposium on Foundations of Computer Science, FOCS 1996, pp. 184–193 (1996)

    Google Scholar 

  3. Ben-David, S., Borodin, A., Karp, R.M., Tardos, G., Wigderson, A.: On the power of randomization in on-line algorithms. Algorithmica 11(1), 2–14 (1994)

    Article  MathSciNet  Google Scholar 

  4. Bubeck, S., Cohen, M.B., Lee, Y.T., Lee, J.R., Madry, A.: k-server via multiscale entropic regularization. In: Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, pp. 3–16. ACM (2018)

    Google Scholar 

  5. Buchbinder, N., Gupta, A., Molinaro, M., Naor, J.S.: k-servers with a smile: online algorithms via projections. In: Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, pp. 98–116. SIAM (2019)

    Google Scholar 

  6. Buchbinder, N., Naor, J.: The design of competitive online algorithms via a primal-dual approach. Found. Trends Theor. Comput. Sci. 3(2–3), 93–263 (2009)

    Article  MathSciNet  Google Scholar 

  7. Chrobak, M., Karloff, H., Payne, T., Vishwanathan, S.: New results on server problems. SIAM J. Discrete Math. 4(2), 172–181 (1991)

    Article  MathSciNet  Google Scholar 

  8. Chrobak, M., Larmore, L.L.: An optimal on-line algorithm for k servers on trees. SIAM J. Comput. 20(1), 144–148 (1991)

    Article  MathSciNet  Google Scholar 

  9. Coester, C., Koutsoupias, E.: The online \(k\)-taxi problem. In: Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019, pp. 1136–1147. ACM (2019)

    Google Scholar 

  10. Dehghani, S., Ehsani, S., Hajiaghayi, M., Liaghat, V., Seddighin, S.: Stochastic k-server: how should Uber work? In: 44th International Colloquium on Automata, Languages, and Programming (ICALP 2017), pp. 126:1–126:14 (2017)

    Google Scholar 

  11. Fakcharoenphol, J., Rao, S., Talwar, K.: A tight bound on approximating arbitrary metrics by tree metrics. J. Comput. Syst. Sci. 69(3), 485–497 (2004)

    Article  MathSciNet  Google Scholar 

  12. Fiat, A., Karp, R.M., Luby, M., McGeoch, L.A., Sleator, D.D., Young, N.E.: Competitive paging algorithms. J. Algorithms 12(4), 685–699 (1991)

    Article  Google Scholar 

  13. Fiat, A., Rabani, Y., Ravid, Y.: Competitive k-server algorithms (extended abstract). In: 31st Annual Symposium on Foundations of Computer Science, FOCS 1990, pp. 454–463 (1990)

    Google Scholar 

  14. Gupta, A., Nagarajan, V.: Approximating sparse covering integer programs online. Math. Oper. Res. 39(4), 998–1011 (2014)

    Article  MathSciNet  Google Scholar 

  15. Kosoresow, A.P.: Design and analysis of online algorithms for mobile server applications. Ph.D. thesis, Stanford University (1996)

    Google Scholar 

  16. Koutsoupias, E.: The k-server problem. Comput. Sci. Rev. 3(2), 105–118 (2009)

    Article  Google Scholar 

  17. Koutsoupias, E., Papadimitriou, C.H.: On the k-server conjecture. J. ACM 42(5), 971–983 (1995)

    Article  MathSciNet  Google Scholar 

  18. Lee, J.R.: Fusible HSTs and the randomized k-server conjecture. In: Proceedings of the 59th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2018, pp. 438–449 (2018)

    Google Scholar 

  19. Lee, J.R.: Fusible HSTs and the randomized k-server conjecture. arXiv:1711.01789v2, February 2018

  20. Lee, J.R.: Personal Communication (2019)

    Google Scholar 

  21. Manasse, M., McGeoch, L., Sleator, D.: Competitive algorithms for on-line problems. In: Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing, STOC 1988, pp. 322–333. ACM (1988)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Christian Coester .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Buchbinder, N., Coester, C., Naor, J.(. (2021). Online k-Taxi via Double Coverage and Time-Reverse Primal-Dual. In: Singh, M., Williamson, D.P. (eds) Integer Programming and Combinatorial Optimization. IPCO 2021. Lecture Notes in Computer Science(), vol 12707. Springer, Cham. https://doi.org/10.1007/978-3-030-73879-2_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-73879-2_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-73878-5

  • Online ISBN: 978-3-030-73879-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics