Data-driven route planning for demand-responsive customized bus services

Di HUANG, Ziyu LIU, Yue LIU, Zhiyuan LIU

Journal of Tsinghua University(Science and Technology) ›› 2026, Vol. 66 ›› Issue (3) : 638-650.

PDF(3822 KB)
PDF(3822 KB)
Journal of Tsinghua University(Science and Technology) ›› 2026, Vol. 66 ›› Issue (3) : 638-650. DOI: 10.16511/j.cnki.qhdxxb.2025.26.039
Demand Response Customized Bus

Data-driven route planning for demand-responsive customized bus services

Author information +
History +

Abstract

Objective: Demand-responsive customized bus (CB) services, an emerging mode of public transportation, offer flexible routing for passengers with similar travel preferences. However, existing route planning algorithms for CB services do not fully utilize the extensive route data generated during daily operations. Owing to the large data size and variability in passenger travel demands, directly using all historical route planning results makes it difficult to extract effective information, which reduces algorithm efficiency. Common similarity analysis methods include the Jaccard and mean squared error (MSE) algorithms. The Jaccard algorithm measures similarity by calculating the ratio of the intersection to the union of two sets of stops, but it considers only the presence of bus stops and overlooks differences in passenger demand, potentially resulting in routes that risk vehicle overload. The common MSE algorithm calculates the squared differences in passenger numbers at each stop between historical and current data, offering a highly accurate reflection of data discrepancies. However, these methods do not consider the practical feasibility of historical routes, such as vehicle capacity and passenger waiting times. Methods: To address these issues, this study proposes a modified MSE algorithm based on Lagrangian relaxation that incorporates penalty terms for vehicle capacity and time window constraints into the objective function. By comparing historical data with current passenger demand, the modified MSE identifies similar and feasible historical routes for route planning. This approach comprehensively accounts for operational constraints to ensure that the selected routes are similar and feasible. Lagrangian relaxation is also applied in the iterative process of the adaptive large neighborhood search (ALNS) algorithm to ensure that the generated route plans meet the capacity and time requirements. In addition, a mathematical model based on historical route similarity is established using a sequence similarity matching algorithm to evaluate the similarity between historical and current routes. Stops are treated as elements in sequences, with similarity measured by the longest common subsequence of stops appearing in the same order. For multiple historical routes, the similarity between a current route and the historical set is defined as the maximum sequence similarity across all historical routes. To accelerate the model's solution process, a modified ALNS is developed, which constructs initial solutions based on historical data and integrates novel removal and insertion operators that consider route similarity to achieve better solutions. To prevent premature convergence, ALNS incorporates simulated annealing, accepts inferior solutions in the early stages and gradually limits its acceptance as iterations progress. ALNS terminates after a fixed number of iterations or when no improvement is observed. Additionally, a path-relinking process improves efficiency by fixing routes that exactly match historical results and carry equal or more passengers, thereby excluding them from further iterations. Results: The proposed approach leveraged high-quality historical data to generate highly competitive results. Case studies using real travel data from Nanjing demonstrated that the modified ALNS algorithm, incorporating route similarity, outperformed the common ALNS in terms of effectiveness, convergence speed, and route similarity. By using the modified MSE algorithm that accounted for historical scenarios, the proposed algorithm improved route feasibility, stability, and quality compared with common similarity analysis methods. Moreover, selecting historical data from scenarios that closely matched the current situation helped ensure high-quality routing. Increasing the time window length reduced the total travel cost while maintaining a consistent level of route similarity. As the weight of the similarity cost parameter increased, the similarity between current and historical routes steadily rose until reaching a maximum value of one, whereas the total travel cost gradually decreased, highlighting the algorithm's ability to balance cost efficiency and route consistency effectively. Conclusions: Using historical route data that are similar to those used in current scenarios improves the quality of CB route planning solutions. This study not only advances research on CB route planning but also identifies gaps that serve as potential directions for future research. Exploring heterogeneous fleets, accounting for uncertain travel times, and incorporating additional heuristic techniques may further enhance the operational efficiency and practical applicability of the results.The research results of this paper can provide a reference for solving the CB line planning problem by using historical information.

Key words

demand-responsive customized bus / vehicle route planning / data-driven / sequence similarity matching algorithm / adaptive large neighborhood search algorithm

Cite this article

Download Citations
Di HUANG , Ziyu LIU , Yue LIU , et al. Data-driven route planning for demand-responsive customized bus services[J]. Journal of Tsinghua University(Science and Technology). 2026, 66(3): 638-650 https://doi.org/10.16511/j.cnki.qhdxxb.2025.26.039

References

1
徐猛, 刘涛, 钟绍鹏, 等. 城市智慧公交研究综述与展望[J]. 交通运输系统工程与信息, 2022, 22(2): 91- 108.
XU M, LIU T, ZHONG S P, et al. Urban smart public transport studies: A review and prospect[J]. Journal of Transportation Systems Engineering and Information Technology, 2022, 22(2): 91- 108.
2
MA Z L, ZHANG P F. Individual mobility prediction review: Data, problem, method and application[J]. Multimodal Transportation, 2022, 1(1): 100002.
3
HUANG D, GU Y, WANG S A, et al. A two-phase optimization model for the demand-responsive customized bus network design[J]. Transportation Research Part C: Emerging Technologies, 2020, 111, 1- 21.
4
李颖, 费怡瑄, 安毅生, 等. 智能交通场景下的地图匹配技术综述[J]. 交通运输工程学报, 2024, 24(5): 301- 332.
LI Y, FEI Y X, AN Y S, et al. Review on map matching technologies in intelligent transportation scenarios[J]. Journal of Traffic and Transportation Engineering, 2024, 24(5): 301- 332.
5
任晗啸, 罗禹贡, 关书睿, 等. 面向进出站强制换道过程的智能网联公交车两车协同换道策略[J]. 清华大学学报(自然科学版), 2024, 64(8): 1456- 1468.
REN H X, LUO Y G, GUAN S R, et al. Two-vehicle cooperative lane change strategy for intelligent and connected buses in the mandatory lane change process of entry and exit[J]. Journal of Tsinghua University (Science and Technology), 2024, 64(8): 1456- 1468.
6
MENG Q, LIU P, LIU Z Y. Integrating multimodal transportation research[J]. Multimodal Transportation, 2022, 1(1): 100001.
7
何逸煦, 林泓熠, 刘洋, 等. 强化学习在自动驾驶技术中的应用与挑战[J]. 同济大学学报(自然科学版), 2024, 52(4): 520- 531.
HE Y X, LIN H Y, LIU Y, et al. Applications and challenges of reinforcement learning in autonomous driving technology[J]. Journal of Tongji University (Natural Science), 2024, 52(4): 520- 531.
8
LIU T, CEDER A. Analysis of a new public- transport-service concept: Customized bus in China[J]. Transport Policy, 2015, 39, 63- 76.
9
WANG J B, MIWA T, LI D W, et al. Customised bus service design considering flexible vehicle size and transfer incentivization[J]. Transportmetrica A: Transport Science, 2024, 2388618.
10
刘洋, 占佳豪, 李深, 等. 自动驾驶技术的未来: 单车智能和智能车路协同[J]. 汽车安全与节能学报, 2024, 15(5): 611- 633.
LIU Y, ZHAN J H, LI S, et al. Future of autonomous driving: Single autonomous driving and intelligent vehicle-infrastructure collaboration systems[J]. Journal of Automotive Safety and Energy, 2024, 15(5): 611- 633.
11
黄迪, 顾宇, 黄凯, 等. 需求响应型定制公交研究综述与发展对策[C]//2017年中国城市交通规划年会论文集. 北京, 中国: 中国建筑工业出版社, 2017: 12.
HUANG D, GU Y, HUANG K. Summary of demand response customization bus research and development strategies [C]//Proceedings of the 2017 Annual Conference on Urban Transportation Planning in China. Beijing, China: China Architecture & Building Press, 2017: 12. (in Chinese)
12
HUANG D, WANG S A. A two-stage stochastic programming model of coordinated electric bus charging scheduling for a hybrid charging scheme[J]. Multimodal Transportation, 2022, 1(1): 100006.
13
林泓熠, 刘洋, 李深, 等. 车路协同系统关键技术研究进展[J]. 华南理工大学学报(自然科学版), 2023, 51(10): 46- 67.
LIN H Y, LIU Y, LI S, et al. Research progress on key technologies in the cooperative vehicle infrastructure system[J]. Journal of South China University of Technology (Natural Science Edition), 2023, 51(10): 46- 67.
14
赫雪婷, 镇璐. 需求响应式公交中考虑即时订单的线路重调度优化[J]. 中国管理科学, 2023, 31(3): 113- 123.
HE X T, ZHEN L. Optimization of route rescheduling considering real-time orders in demand-responsive transit[J]. Chinese Journal of Management Science, 2023, 31(3): 113- 123.
15
HUANG D, WANG Y R, JIA S, et al. A lagrangian relaxation approach for the electric bus charging scheduling optimisation problem[J]. Transportmetrica A: Transport Science, 2023, 19(2): 2023690.
16
刘锴, 王静, 王江波, 等. 考虑个体偏好异质性的定制公交选择行为[J]. 中国公路学报, 2024, 37(6): 279- 287.
LIU K, WANG J, WANG J B, et al. Study on customized bus choice behavior considering individual preference heterogeneity[J]. China Journal of Highway and Transport, 2024, 37(6): 279- 287.
17
HUANG D, TONG W P, WANG L M, et al. An analytical model for the many-to-one demand responsive transit systems[J]. Sustainability, 2020, 12(1): 298.
18
QIU F, SHEN J X, ZHANG X C, et al. Demi-flexible operating policies to promote the performance of public transit in low-demand areas[J]. Transportation Research Part A: Policy and Practice, 2015, 80, 215- 230.
19
MA D F, FANG B, MA W H, et al. Potential routes extraction for urban customized bus based on vehicle trajectory clustering[J]. IEEE Transactions on Intelligent Transportation Systems, 2023, 24(11): 11878- 11888.
20
别一鸣, 朱奥泽, 从远. 电池健康程度差异下的电动公交线路车辆调度方法[J]. 华南理工大学学报(自然科学版), 2023, 51(10): 11- 21.
BIE Y M, ZHU A Z, CONG Y. Electric bus scheduling method considering differences in the state of health of batteries[J]. Journal of South China University of Technology (Natural Science Edition), 2023, 51(10): 11- 21.
21
CHEN X, WANG Y H, WANG Y, et al. Customized bus route design with pickup and delivery and time windows: Model, case study and comparative analysis[J]. Expert Systems with Applications, 2021, 168, 114242.
22
熊杰, 关伟, 黄爱玲. 社区公交接驳地铁路径优化研究[J]. 交通运输系统工程与信息, 2014, 14(1): 166- 173.
XIONG J, GUAN W, HUANG A L. Research on optimal routing of community shuttle connect rail transit line[J]. Journal of Transportation Systems Engineering and Information Technology, 2014, 14(1): 166- 173.
23
ROPKE S, PISINGER D. An adaptive large neighborhood search heuristic for the pickup and delivery problem with time windows[J]. Transportation Science, 2006, 40(4): 455- 472.
24
郭戎格, 关伟, 张文义, 等. 考虑多路径选择的定制电动公交线路优化[J]. 交通运输系统工程与信息, 2021, 21(2): 133- 138.
GUO R G, GUAN W, ZHANG W Y, et al. Customized electric bus routing optimization considering multi-path selection[J]. Journal of Transportation Systems Engineering and Information Technology, 2021, 21(2): 133- 138.
25
ZHOU Y, MENG Q, ONG G P, et al. Electric bus charging scheduling on a bus network[J]. Transportation Research Part C: Emerging Technologies, 2024, 161, 104553.
26
HATZENBüHLER J, JENELIUS E, GIDÓFALVI G, et al. Modular vehicle routing for combined passenger and freight transport[J]. Transportation Research Part A: Policy and Practice, 2023, 173, 103688.
27
ZHANG Y M, NEGENBORN R R, ATASOY B. Synchromodal freight transport re-planning under service time uncertainty: An online model-assisted reinforcement learning[J]. Transportation Research Part C: Emerging Technologies, 2023, 156, 104355.
28
COUTTON B, PACINO D, HOLST K, et al. Heuristic approaches for freight containerization with business rules[J]. Transportation Research Part E: Logistics and Transportation Review, 2025, 197, 104063.
29
YU V F, ANH P T, BALDACCI R. A robust optimization approach for the vehicle routing problem with cross-docking under demand uncertainty[J]. Transportation Research Part E: Logistics and Transportation Review, 2023, 173, 103106.
30
GLOVER F, LAGUNA M, MARTÍ R. Fundamentals of scatter search and path relinking[J]. Control and Cybernetics, 2000, 29(3): 653- 684.
31
BERGROTH L, HAKONEN H, RAITA T. A survey of longest common subsequence algorithms [C]//Proceedings of the 7th International Symposium on String Processing and Information Retrieval. Los Angeles, USA: IEEE, 2000: 39-48.
32
ZHANG S M, LUO Z P, YANG L, et al. A survey of route recommendations: Methods, applications, and opportunities[J]. Information Fusion, 2024, 108, 102413.
33
SUN P F, LI J Y, LI M Y, et al. Tour multi-route planning with matrix-based differential evolution[J]. IEEE Transactions on Intelligent Transportation Systems, 2024, 28(9): 11753- 11767.
34
BAG S, KUMAR S K, TIWARI M K. An efficient recommendation generation using relevant Jaccard similarity[J]. Information Sciences, 2019, 483, 53- 64.
35
GUO W J, ZHANG Y M, LI W F, et al. Augmented Lagrangian relaxation-based coordinated approach for global synchromodal transport planning with multiple operators[J]. Transportation Research Part E: Logistics and Transpor- tation Review, 2024, 185, 103535.
36
刘锴, 王静, 连芝锐, 等. 考虑公平性的定制公交路径规划及系统评估[J]. 科技导报, 2024, 42(3): 89- 96.
LIU K, WANG J, LIAN Z R, et al. Customized bus path planning and system evaluation considering equity[J]. Science & Technology Review, 2024, 42(3): 89- 96.
37
靳文舟, 杜昊, 巫威眺. 基于ALNS-TS算法的半灵活型需求响应公交调度问题[J]. 深圳大学学报(理工版), 2023, 40(4): 425- 434.
JIN W Z, DU H, WU W T. Semi-flexible demand responsive transit scheduling based on ALNS-TS algorithm[J]. Journal of Shenzhen University (Science & Engineering), 2023, 40(4): 425- 434.
38
SUN P, VEELENTURF L P, HEWITT M, et al. Adaptive large neighborhood search for the time-dependent profitable pickup and delivery problem with time windows[J]. Transportation Research Part E: Logistics and Transportation Review, 2020, 138, 101942.
39
EMERSON R W. Mann-Whitney U test and t-test[J]. Journal of Visual Impairment & Blindness, 2023, 117(1): 99- 100.

RIGHTS & PERMISSIONS

All rights reserved. Unauthorized reproduction is prohibited.
PDF(3822 KB)

Accesses

Citation

Detail

Sections
Recommended

/