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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
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)
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)
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)
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)
Feuerstein, E., Stougie, L.: On-line single-server dial-a-ride problems. Theoret. Comput. Sci. 268(1), 91ā105 (2001)
GĆørtz, I.L., Nagarajan, V., Ravi, R.: Minimum makespan multi-vehicle dial-a-ride. ACM Trans. Algorithms (TALG) 11(3), 1ā29 (2015)
Gupta, A., Hajiaghayi, M., Nagarajan, V., Ravi, R.: Dial a ride from k-forest. ACM Trans. Algorithms (TALG) 6(2), 1ā21 (2010)
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)
Kalyanasundaram, B., Pruhs, K.: Online weighted matching. J. Algorithms 14(3), 478ā488 (1993)
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
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
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)
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)
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)
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)
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)
Uber: How uberpool works (2021). https://www.uber.com/nl/en/ride/uberpool/
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)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
Ā© 2022 Springer Nature Switzerland AG
About this paper
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)