ALGORITHM AND SOFTWARE TOOL FOR SOLVING THE PROBLEM OF LOCAL PASSENGER TRAFFIC

Authors

  • O.O. Haisha Pylyp Orlyk International Classical University Author
  • S.V. Lienkov Military Institute of Taras Shevchenko National University of Kyiv Author
  • O.O. Haisha Pylyp Orlyk International Classical University Author

DOI:

https://doi.org/10.17721/2519-481X/2025/87-08

Keywords:

urban transportation optimization, ride-sharing algorithm, route matching, intelligent transport systems

Abstract

In the context of contemporary urbanization and global environmental challenges, the optimization of passenger transportation systems has emerged as a significant area of research, particularly in the domain of energy conservation and ecological impact reduction. This study addresses a specific aspect of this broad issue: the efficient utilization of empty seats in private vehicles to increase transportation throughput without expanding road infrastructure. The central idea lies in the redistribution of passengers who share similar or overlapping routes with private car owners, leveraging modern information technologies to facilitate real-time matching and communication.
The work begins by outlining the conceptual foundation of the problem, emphasizing that numerous urban residents travel considerable distances daily, while the available transportation infrastructure remains constrained. In light of this, substantial transport efficiency gains can be achieved by utilizing vacant seats in private vehicles. While socio-economic and motivational factors such as environmental awareness, financial incentives, or altruistic behavior may drive such initiatives, the paper focuses solely on the technical and algorithmic aspects of the solution, deliberately excluding the subjective dimension of driver motivation.
A formal problem statement is constructed, modeling the city road network as a mathematical graph where intersections are represented as nodes and road segments (quarters) as edges. Each driver's and passenger's route is defined as a sequence of intersections, and the core condition for assigning a passenger to a driver is the full inclusion of the passenger's route within the driver's route. This constraint, referred to as the "Route Rigidity Rule" (3R), ensures that neither the driver alters his route nor the passenger deviates from his intended path.
The algorithm’s architecture is centered on string processing techniques, where route sequences are encoded as strings and inclusion is checked using substring operations. A key function, I(d, p), is introduced to quantify the number of overlapping quarters between a driver's route d and a passenger's route p. This function serves as the basis for verifying route compatibility and ultimately calculating the effectiveness of a particular distribution.
The effectiveness of the system is defined through an objective function E, representing the total number of passenger-quarters served. The optimization goal is to maximize E by efficiently assigning passenger requests to appropriate driver routes. The algorithm iteratively considers driver routes and selects the best-fitting passenger routes based on maximum inclusion, ensuring each route is used only once. An empirical example illustrates how different assignment strategies yield varying levels of effectiveness, measured in the total number of quarters fulfilled.
To operationalize this model, a software solution was developed featuring a user interface for inputting and processing route data. Furthermore, a methodology is proposed to estimate environmental benefits through fuel savings, translating the system’s output into quantifiable ecological impact. Experimental results confirm the algorithm’s stability and efficiency in handling thousands of routes, with the software consistently distributing passengers in accordance with defined constraints and maximizing the effectiveness metric.

Author Biographies

References

1. Leandro do C. Martins, Rocio de la Torre, Canan G. Corlu, Angel A. Juan, Mohamed A. Masmoudi (2021). Optimizing ride-sharing operations in smart sustainable cities: Challenges and the need for agile algorithms. Computers & Industrial Engineering, V.153, 107080.

2. Aydin, O. F., Gokasar, I., & Kalan, O. (2020). Matching algorithm for improving ride-sharing by incorporating route splits and social factors. PloS one, 15(3), e0229674. https://doi.org/10.1371/journal.pone.0229674

3. Ma, S., Zheng, Y., & Wolfson, O. (2013). T-Share: A Large-Scale Dynamic Taxi Ridesharing Service. IEEE 29th International Conference on Data Engineering (ICDE), Brisbane, 410–421.

4. Zhou, Lunwei and Kang, Liujiang and Sun, Huijun and Bao, Yue and Lai, Qingying and Xu, Qianwen and Mashhoodi, Bardia and Ge, Ying-En. (2025) Real-Time Simultaneous Ride-Sharing Matching and Route Planning Based on Adjustable Passenger Pick-Up and Drop-Off Points. Available at SSRN: https://ssrn.com/abstract=5225975 or http://dx.doi.org/10.2139/ssrn.5225975 .

5. Danassis, P., Sakota, M., Filos-Ratsikas, A. et al (2022). Putting ridesharing to the test: efficient and scalable solutions and the power of dynamic vehicle relocation. Artif Intell Rev 55, 5781–5844. https://doi.org/10.1007/s10462-022-10145-0.

6. Cao, Y., Wang, S., & Li, J. (2021). The Optimization Model of Ride-Sharing Route for Ride Hailing Considering Both System Optimization and User Fairness. Sustainability, 13(10), 5610.

7. Connor Riley, Pascal Van Hentenryck, Enpeng Yuan (2020). Real-Time Dispatching of Large-Scale Ride-Sharing Systems: Integrating Optimization, Machine Learning, and Model Predictive Control. INFORMS Journal on Computing, 32(3), 530–547.

8. Md Tawhidur Rahman, Kakan Dey, David R. Martinelli, Sabya Mishra (2021). Modeling and evaluation of a ridesharing matching system from multi-stakeholders’ perspective. IET Intelligent Transport Systems, 15(4), 369–377.

9. Shimamoto, H. (2025). A Matching Model for Ride-Sharing: A Non-Cooperative Game Approach Between Drivers and Riders. Smart Cities, 8(2), 40. https://doi.org/10.3390/smartcities8020040.

10. Hasan, Mohd. (2021). Ride-Sharing Optimization Algorithms for Urban Commuting. Transportation Research Part B: Methodological, 121, 145–161.

11. Guan, L., Pei, J., Liu, X., Zhou, Z., & Pardalos, P. M. (2020). Ridesharing in urban areas: multi-objective optimisation approach for ride-matching and routeing with commuters’ dynamic mode choice. International Journal of Production Research, 60(5), 1439–1457. https://doi.org/10.1080/00207543.2020.1859635.

12. Dastani,Z., Koosha, H., Karimi, H. et al (2024). User preferences in ride-sharing mathematical models for enhanced matching. Sci Rep 14, 27338. https://doi.org/10.1038/s41598-024-78469-1.

Downloads

Published

2025-11-20

Issue

Section

INFORMATION TECHNOLOGIES