Minimizing Travel Time and Latency in Multi-Capacity Ride-Sharing Problems
Abstract
:1. Introduction
- Minimize total travel time: In this problem, we considered assigning the maximum number of requests to cars, each with no more than c requests, to minimize the total travel time, which is the sum of the travel times a car drives to serve its requests. Viewed from the ride-sharing company or drivers, minimizing the total travel time is the most important, since it results in minimizing the costs while serving the maximum number of requests. Furthermore, it also results in the minimum pollution or emissions. A solution for a given instance is a collection of trips with the minimum total travel time where a car visits all locations of the requests assigned to that car, while visiting the pick-up location of a request before the corresponding drop-off location. We call the ride-sharing problem with the objective of minimizing the total travel time and the special case of where the pick-up and drop-off locations are identical for each request ;
- Minimize total latency: In this problem, we considered assigning the maximum number of requests to cars, each with no more than c requests, to minimize the total waiting time, which is the sum of the travel times needed for each individual request (customer or parcel) to arrive at the destination. Passengers or clients care about reaching their destinations as soon as possible. Here, the goal is to obtain a solution that is a collection of trips where the travel time summed over the individual requests is minimum. We call the ride-sharing problem with the objective of minimizing the total latency and the special case of where the pick-up and drop-off locations are identical for each request .
1.1. Motivation
1.2. Related Work
1.3. Our Results
2. Preliminaries
3. The Transportation Algorithm and Its Analysis
3.1. The Transportation Algorithm
Algorithm 1 Transportation algorithm (). |
|
3.2. Approximation Analysis of the TA
3.3. Discussion
- Ride-sharing with car-dependent speeds or relatedride-sharing. In this situation, the cars have speed . The travel time of serving requests in is denoted by , and the total travel time of an allocation M is denoted by . Analogously, the total latency of an allocation M is denoted by . Without going into the details, we point out that the can be modified by appropriately redefining and in terms of the cost above; we claim that the corresponding worst-case ratios of as shown in Table 1 remain unchanged;
- Ride-sharing with car-dependent speeds or relatedride-sharing. In this situation, the cars have speed . The travel time of serving requests in is denoted by , and the total travel time of an allocation M is denoted by . Analogously, the total latency of an allocation M is denoted by . Without going into the details, we point out that the can be modified by appropriately redefining and in terms of the cost above; we claim that the corresponding worst-case ratios of as shown in Table 1 remain unchanged;
- Car redundancy: . In this situation, our problem is to find an allocation that serves all requests with the minimum total cost (total travel time or total latency). Clearly, some cars may serve less than c requests, or even do not serve a request. To apply for this situation, we need to add a number of requests to fill the shortage of requests, without affecting the total travel time or latency. We created an instance of our problem by adding a number of dummy requests with , where the travel time between a request in and a car in D is zero, i.e., and for all , . Since the cost of assigning dummy requests is zero in any feasible solution, removing dummy requests of a solution for the newly created instance with will give us a solution to the original instance;
- Car deficiency: . In this situation, our problem is to find an allocation that serves the maximum number of requests ( requests) with the minimum total cost (total travel time or total latency). It follows that some requests will not be served. To apply the for this situation, we created an instance of our problem by adding a number of dummy cars with , where the travel time between a car in and a request in R is H (H is a sufficiently large number), i.e., and for all , . Removing dummy cars (and their corresponding requests) gives us a solution to the original instance. Since we found an assignment with the minimum total weight and we removed the set of requests assigned to the dummy cars, we claim that the TA selected requests with the minimum total weight. In fact, the proofs in Section 3.1 imply that the is a -approximation algorithm for CS and the is a c-approximation algorithm for .
4. The Case : Algorithms and Their Analysis
4.1. The Match-and-Assign Algorithm and Its Analysis
Algorithm 2 Match-and-assign algorithm (). |
|
- ,
- .
4.2. The Combined Algorithm and Its Analysis
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Uber. 2021. Available online: https://www.uber.com/nl/en/ride/uberpool/ (accessed on 1 December 2021).
- TransVision. 2021. Available online: https://www.transvision.nl/ (accessed on 1 December 2021).
- Tafreshian, A.; Masoud, N.; Yin, Y. Frontiers in Service Science: Ride Matching for Peer-to-Peer Ride Sharing: A Review and Future Directions. Serv. Sci. 2020, 12, 44–60. [Google Scholar] [CrossRef]
- Agatz, N.; Erera, A.L.; Savelsbergh, M.W.; Wang, X. Dynamic ride-sharing: A simulation study in metro Atlanta. Procedia-Soc. Behav. Sci. 2011, 17, 532–550. [Google Scholar] [CrossRef] [Green Version]
- Luo, K.; Erlebach, T.; Xu, Y. Car-Sharing between Two Locations: Online Scheduling with Two Servers. In Proceedings of the 43rd International Symposium on Mathematical Foundations of Computer Science (MFCS 2018), Liverpool, UK, 27–31 August 2018; Volume 117, pp. 50:1–50:14. [Google Scholar]
- Luo, K.; Erlebach, T.; Xu, Y. Car-Sharing on a Star Network: On-Line Scheduling with k Servers. In Proceedings of the 36th International Symposium on Theoretical Aspects of Computer Science (STACS 2019), Berlin, Germany, 13–16 March 2019; Volume 126, pp. 51:1–51:14. [Google Scholar]
- Liu, H.; Luo, K.; Xu, Y.; Zhang, H. Car-Sharing Problem: Online Scheduling with Flexible Advance Bookings. In Proceedings of the Combinatorial Optimization and Applications—13th International Conference (COCOA 2019), Xiamen, China, 13–15 December 2019; Volume 11949, pp. 340–351. [Google Scholar]
- Baldacci, R.; Maniezzo, V.; Mingozzi, A. An exact method for the car pooling problem based on lagrangean column generation. Oper. Res. 2004, 52, 422–439. [Google Scholar] [CrossRef]
- Bei, X.; Zhang, S. Algorithms for trip-vehicle assignment in ride-sharing. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018. [Google Scholar]
- Masoud, N.; Jayakrishnan, R. A decomposition algorithm to solve the multi-hop peer-to-peer ride-matching problem. Transp. Res. Part B Methodol. 2017, 99, 1–29. [Google Scholar] [CrossRef] [Green Version]
- Masoud, N.; Jayakrishnan, R. A real-time algorithm to solve the peer-to-peer ride-matching problem in a flexible ride-sharing system. Transp. Res. Part B Methodol. 2017, 106, 218–236. [Google Scholar] [CrossRef]
- Alonso-Mora, J.; Samaranayake, S.; Wallar, A.; Frazzoli, E.; Rus, D. On-demand high-capacity ride-sharing via dynamic trip-vehicle assignment. Proc. Natl. Acad. Sci. USA 2017, 114, 462–467. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Pavone, M.; Smith, S.L.; Frazzoli, E.; Rus, D. Robotic load balancing for mobility-on-demand systems. Int. J. Robot. Res. 2012, 31, 839–854. [Google Scholar] [CrossRef]
- Agatz, N.; Campbell, A.; Fleischmann, M.; Savelsbergh, M. Time slot management in attended home delivery. Transp. Sci. 2011, 45, 435–449. [Google Scholar] [CrossRef] [Green Version]
- Stiglic, M.; Agatz, N.; Savelsbergh, M.; Gradisar, M. Making dynamic ride-sharing work: The impact of driver and rider flexibility. Transp. Res. Part E Logist. Transp. Rev. 2016, 91, 190–207. [Google Scholar] [CrossRef]
- Wang, X.; Agatz, N.; Erera, A. Stable matching for dynamic ride-sharing systems. Transp. Sci. 2018, 52, 850–867. [Google Scholar] [CrossRef]
- Ashlagi, I.; Burq, M.; Dutta, C.; Jaillet, P.; Saberi, A.; Sholley, C. Edge weighted online windowed matching. In Proceedings of the 2019 ACM Conference on Economics and Computation, Phoenix, AZ, USA, 24–28 June 2019; pp. 729–742. [Google Scholar]
- Lowalekar, M.; Varakantham, P.; Jaillet, P. Competitive Ratios for Online Multi-capacity Ridesharing. In Proceedings of the 19th International Conference on Autonomous Agents and Multiagent Systems (AAMAS ’20), Auckland, New Zealand, 9–13 May 2020; pp. 771–779. [Google Scholar]
- Guo, X.; Luo, K. Algorithms for online car-sharing problem. In Proceedings of the CALDAM 2022: The 8th Annual International Conference on Algorithms and Discrete Applied Mathematics, Puducherry, India, 10–12 February 2022. [Google Scholar]
- Mori, J.C.M.; Samaranayake, S. On the Request-Trip-Vehicle Assignment Problem. In Proceedings of the SIAM Conference on Applied and Computational Discrete Algorithms (ACDA21), Virtual Conference, 19–21 July 2021; pp. 228–239. [Google Scholar]
- Burkard, R.; Dell’Amico, M.; Martello, S. Assignment Problems: Revised Reprint; SIAM: Philadelphia, PA, USA, 2012. [Google Scholar]
- Luo, K.; Spieksma, F.C.R. Approximation Algorithms for Car-Sharing Problems. In Proceedings of the Computing and Combinatorics—26th International Conference (COCOON 2020), Atlanta, GA, USA, 29–31 August 2020; Volume 12273, pp. 262–273. [Google Scholar]
- Goossens, D.; Polyakovskiy, S.; Spieksma, F.C.; Woeginger, G.J. Between a rock and a hard place: The two-to-one assignment problem. Math. Methods Oper. Res. 2012, 76, 223–237. [Google Scholar] [CrossRef]
- Bandelt, H.J.; Crama, Y.; Spieksma, F. Approximation algorithms for multidimensional assignment problems with decomposable costs. Discret. Appl. Math. 1994, 49, 25–49. [Google Scholar] [CrossRef] [Green Version]
- Queyranne, M.; Spieksma, F. Approximation algorithms for multi-index transportation problems with decomposable costs. Discret. Appl. Math. 1997, 76, 239–254. [Google Scholar] [CrossRef] [Green Version]
- Williamson, D.P.; Shmoys, D.B. The Design of Approximation Algorithms; Cambridge University Press: Cambridge, UK, 2011. [Google Scholar]
Problem | TA |
---|---|
(Theorem 1) | |
(Theorem 1) | |
c (Theorem 2) | |
c (Theorem 2) |
Problem | MA | TA | CA |
---|---|---|---|
2 (Theorem 3) | 3 (Theorem 1) | 2 (Theorem 6) | |
1.5 (Theorem 4) | 3 (Theorem 1) | 7/5 (Theorem 7) | |
2 (Theorem 5) | 2 (Theorem 2) | 5/3 (Theorem 8) | |
2 (Theorem 5) | 2 (Theorem 2) | 3/2 (Theorem 9) |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Luo, K.; Spieksma, F.C.R. Minimizing Travel Time and Latency in Multi-Capacity Ride-Sharing Problems. Algorithms 2022, 15, 30. https://doi.org/10.3390/a15020030
Luo K, Spieksma FCR. Minimizing Travel Time and Latency in Multi-Capacity Ride-Sharing Problems. Algorithms. 2022; 15(2):30. https://doi.org/10.3390/a15020030
Chicago/Turabian StyleLuo, Kelin, and Frits C. R. Spieksma. 2022. "Minimizing Travel Time and Latency in Multi-Capacity Ride-Sharing Problems" Algorithms 15, no. 2: 30. https://doi.org/10.3390/a15020030
APA StyleLuo, K., & Spieksma, F. C. R. (2022). Minimizing Travel Time and Latency in Multi-Capacity Ride-Sharing Problems. Algorithms, 15(2), 30. https://doi.org/10.3390/a15020030