Skip to main content

Algorithms forĀ Online Car-Sharing Problem

  • Conference paper
  • First Online:
Algorithms and Discrete Applied Mathematics (CALDAM 2022)

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

Included in the following conference series:

Abstract

In the online car-sharing (a.k.a. ride-sharing) problem, we are given a set of m available car, and n requests arrive sequentially in T periods, in which each request consists of a pick-up location and a drop-off location. In each period, we must immediately and irrevocably assign free cars to serve arrived requests, such that two requests share one car. The goal is to find an online algorithm to process all requests while minimizing the total travel distance of cars.

We give the first algorithm for this problem under the adversarial model and the random arrival model. For the adversarial model, we give a \(2T+1/2\)-competitive algorithm, then we show this can be further improved to 2T-competitive by a carefully designed edge cost function. This almost matches the known \(2T-1\) lower bound in this model. For the random arrival model, our algorithm is \(3H_T-1/2+o(1)\)-competitive, where \(H_T\) is the T-th harmonic number. All the above three results are based on one single algorithm that runs in \(O(n^3)\) time.

This project has received funding from the European Unionā€™s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement number 754462.

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 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.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

Similar content being viewed by others

References

  1. Ascheuer, N., Krumke, S.O., Rambau, J.: Online dial-a-ride problems: minimizing the completion time. In: Annual Symposium on Theoretical Aspects of Computer Science, pp. 639ā€“650 (2000)

    Google ScholarĀ 

  2. Bei, X., Zhang, S.: Algorithms for trip-vehicle assignment in ride-sharing. In: McIlraith, S.A., Weinberger, K.Q. (eds.) Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th Innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, 2ā€“7 February 2018, pp. 3ā€“9. AAAI Press (2018)

    Google ScholarĀ 

  3. Bienkowski, M., Kraska, A., Liu, H.H.: Traveling repairperson, unrelated machines, and other stories about average completion times. In: International Colloquium on Automata, Languages and Programming (ICALP) (2021)

    Google ScholarĀ 

  4. Charikar, M., Raghavachari, B.: The finite capacity dial-a-ride problem. In: Proceedings 39th Annual Symposium on Foundations of Computer Science (Cat. No. 98CB36280), pp. 458ā€“467 (1998)

    Google ScholarĀ 

  5. Feuerstein, E., Stougie, L.: On-line single-server dial-a-ride problems. Theoret. Comput. Sci. 268(1), 91ā€“105 (2001)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  6. GĆørtz, I.L., Nagarajan, V., Ravi, R.: Minimum makespan multi-vehicle dial-a-ride. ACM Trans. Algorithms (TALG) 11(3), 1ā€“29 (2015)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  7. Gupta, A., Hajiaghayi, M., Nagarajan, V., Ravi, R.: Dial a ride from k-forest. ACM Trans. Algorithms (TALG) 6(2), 1ā€“21 (2010)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  8. Joshi, M., Singh, A., Ranu, S., Bagchi, A., Karia, P., Kala, P.: Batching and matching for food delivery in dynamic road networks. In: 2021 IEEE 37th International Conference on Data Engineering (ICDE), pp. 2099ā€“2104. IEEE (2021)

    Google ScholarĀ 

  9. Kalyanasundaram, B., Pruhs, K.: Online weighted matching. J. Algorithms 14(3), 478ā€“488 (1993)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  10. Koutsoupias, E., Nanavati, A.: The online matching problem on a line. In: Solis-Oba, R., Jansen, K. (eds.) WAOA 2003. LNCS, vol. 2909, pp. 179ā€“191. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24592-6_14

    ChapterĀ  MATHĀ  Google ScholarĀ 

  11. Luo, K., Spieksma, F.C.R.: Approximation algorithms for car-sharing problems. In: Kim, D., Uma, R.N., Cai, Z., Lee, D.H. (eds.) COCOON 2020. LNCS, vol. 12273, pp. 262ā€“273. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58150-3_21

    ChapterĀ  Google ScholarĀ 

  12. Nayyar, K., Raghvendra, S.: An input sensitive online algorithm for the metric bipartite matching problem. In: Umans, C. (ed.) 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, 15ā€“17 October 2017, pp. 505ā€“515. IEEE Computer Society (2017)

    Google ScholarĀ 

  13. de Paepe, W., Lenstra, J.K., Sgall, J., Sitters, R.A., Stougie, L.: Computer-aided complexity classification of dial-a-ride problems. INFORMS J. Comput. 16(2), 120ā€“132 (2004)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  14. Raghvendra, S.: A robust and optimal online algorithm for minimum metric bipartite matching. In: Jansen, K., Mathieu, C., Rolim, J.D.P., Umans, C. (eds.) Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2016, 7ā€“9 September 2016, Paris, France. LIPIcs, vol. 60, pp. 18:1ā€“18:16. Schloss Dagstuhl - Leibniz-Zentrum fĆ¼r Informatik (2016)

    Google ScholarĀ 

  15. Ta, N., Li, G., Zhao, T., Feng, J., Ma, H., Gong, Z.: An efficient ride-sharing framework for maximizing shared route. IEEE Trans. Knowl. Data Eng. 30(2), 219ā€“233 (2017)

    ArticleĀ  Google ScholarĀ 

  16. Tong, Y., Zeng, Y., Zhou, Z., Chen, L., Ye, J., Xu, K.: A unified approach to route planning for shared mobility. Proc. VLDB Endowment 11(11), 1633 (2018)

    ArticleĀ  Google ScholarĀ 

  17. Uber: How uberpool works (2021). https://www.uber.com/nl/en/ride/uberpool/

  18. Zeng, Y., Tong, Y., Chen, L.: Last-mile delivery made practical: an efficient route planning framework with theoretical guarantees. Proc. VLDB Endowment 13(3), 320ā€“333 (2019)

    ArticleĀ  Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kelin Luo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Guo, X., Luo, K. (2022). Algorithms forĀ Online Car-Sharing Problem. In: Balachandran, N., Inkulu, R. (eds) Algorithms and Discrete Applied Mathematics. CALDAM 2022. Lecture Notes in Computer Science(), vol 13179. Springer, Cham. https://doi.org/10.1007/978-3-030-95018-7_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-95018-7_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-95017-0

  • Online ISBN: 978-3-030-95018-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics