IDEAS home Printed from https://ideas.repec.org/a/eee/transb/v206y2026ics0191261526000238.html

A smart predict-then-optimize framework for vehicle rebalancing problem

Author

Listed:
  • Guo, Yuhang
  • Su, Zicheng
  • Yang, Hai
  • Liang, Enming
  • Zhong, Chen
  • Ma, Wanjing

Abstract

Matching the imbalanced supply and demand through vehicle rebalancing is critical for enhancing the operational efficiency of ride-hailing platforms. However, the traditional two-stage Predict-then-Optimize (PO) framework suffers from a mismatch between the loss function of the upstream prediction model and the objective function used in downstream decision-making. To tackle this challenge, we propose a Smart Predict-then-Optimize (SPO) framework, in which the prediction model is trained to directly minimize decision loss. Firstly, we formulate the regional-level vehicle rebalancing problem as a mixed integer linear programming (MILP) model, aiming to maximize the Gross Merchandise Volume (GMV) of the ride-hailing platform. After that, the Spatial and Temporal Identity (STID) model is employed to predict future demand and supply. Instead of training the prediction model by minimizing fitting error, we adopt a decision-focused loss function determined by the solution of the optimization model. Considering that uncertain parameters appear in the constraints, we develop a penalty-augmented loss function along with a corresponding solution adjustment method. Moreover, we propose a perturbation-based method to address the challenge of gradient backpropagation through the non-differentiable optimization layer, which enables the gradients of the decision loss to be obtained via zeroth-order approximation. The theoretical properties are checked, showing that the method can yield an unbiased approximation of the gradient. We conduct extensive experiments on a real-world dataset from Didi Chuxing, including both numerical studies and simulation experiments. The results show that the proposed SPO framework improves the average GMV by 2.19% compared to rule-based rebalancing and by 0.28% compared to the PO strategy. In particular, the prediction model trained by the SPO method can learn the utility of each region, enabling more effective vehicle rebalancing by dispatching drivers from low-utility origins to high-utility destinations.

Suggested Citation

  • Guo, Yuhang & Su, Zicheng & Yang, Hai & Liang, Enming & Zhong, Chen & Ma, Wanjing, 2026. "A smart predict-then-optimize framework for vehicle rebalancing problem," Transportation Research Part B: Methodological, Elsevier, vol. 206(C).
  • Handle: RePEc:eee:transb:v:206:y:2026:i:c:s0191261526000238
    DOI: 10.1016/j.trb.2026.103411
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0191261526000238
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.trb.2026.103411?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Mourad, Abood & Puchinger, Jakob & Chu, Chengbin, 2019. "A survey of models and algorithms for optimizing shared mobility," Transportation Research Part B: Methodological, Elsevier, vol. 123(C), pages 323-346.
    2. Dorfman, Robert, 1979. "A Formula for the Gini Coefficient," The Review of Economics and Statistics, MIT Press, vol. 61(1), pages 146-149, February.
    3. Su, Z.C. & Chow, Andy H.F. & Fang, C.L. & Liang, E.M. & Zhong, R.X., 2023. "Hierarchical control for stochastic network traffic with reinforcement learning," Transportation Research Part B: Methodological, Elsevier, vol. 167(C), pages 196-216.
    4. Huang, Yunping & Zhu, Pengbo & Zhong, Renxin & Geroliminis, Nikolas, 2024. "A bi-level approach for optimal vehicle relocating in Mobility-On-Demand systems with approximate dynamic programming and coverage control," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 192(C).
    5. Guo, Xiaotong & Caros, Nicholas S. & Zhao, Jinhua, 2021. "Robust matching-integrated vehicle rebalancing in ride-hailing system with uncertain demand," Transportation Research Part B: Methodological, Elsevier, vol. 150(C), pages 161-189.
    6. Wang, Xinyu & Peng, Yiyang & Ma, Wei, 2026. "SPO-VCS: An end-to-end smart predict-then-optimize framework with alternating differentiation method for relocation problems in large-scale vehicle crowd sensing," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 205(C).
    7. Joaquim Dias Garcia & Alexandre Street & Tito Homem-de-Mello & Francisco D. Muñoz, 2025. "Application-Driven Learning: A Closed-Loop Prediction and Optimization Approach Applied to Dynamic Reserves and Demand Forecasting," Operations Research, INFORMS, vol. 73(1), pages 22-39, January.
    8. Gao, Sa & Ran, Qingsong & Su, Zicheng & Wang, Ling & Ma, Wanjing & Hao, Ruochen, 2024. "Evaluation system for urban traffic intelligence based on travel experiences: A sentiment analysis approach," Transportation Research Part A: Policy and Practice, Elsevier, vol. 187(C).
    9. Tian, Xuecheng & Yan, Ran & Liu, Yannick & Wang, Shuaian, 2023. "A smart predict-then-optimize method for targeted and cost-effective maritime transportation," Transportation Research Part B: Methodological, Elsevier, vol. 172(C), pages 32-52.
    10. Ho, Sin C. & Szeto, W.Y. & Kuo, Yong-Hong & Leung, Janny M.Y. & Petering, Matthew & Tou, Terence W.H., 2018. "A survey of dial-a-ride problems: Literature review and recent developments," Transportation Research Part B: Methodological, Elsevier, vol. 111(C), pages 395-421.
    11. Peng, Zixuan & Shan, Wenxuan & Zhu, Xiaoning & Yu, Bin, 2022. "Many-to-one stable matching for taxi-sharing service with selfish players," Transportation Research Part A: Policy and Practice, Elsevier, vol. 160(C), pages 255-279.
    12. Wang, Hai & Yang, Hai, 2019. "Ridesourcing systems: A framework and review," Transportation Research Part B: Methodological, Elsevier, vol. 129(C), pages 122-155.
    13. Katya Scheinberg, 2022. "Finite Difference Gradient Approximation: To Randomize or Not?," INFORMS Journal on Computing, INFORMS, vol. 34(5), pages 2384-2388, September.
    14. Yang, Hai & Qin, Xiaoran & Ke, Jintao & Ye, Jieping, 2020. "Optimizing matching time interval and matching radius in on-demand ride-sourcing markets," Transportation Research Part B: Methodological, Elsevier, vol. 131(C), pages 84-105.
    15. Ke, Jintao & Li, Xinwei & Yang, Hai & Yin, Yafeng, 2021. "Pareto-efficient solutions and regulations of congested ride-sourcing markets with heterogeneous demand and supply," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 154(C).
    16. Yu, Xinlian & Gao, Song & Hu, Xianbiao & Park, Hyoshin, 2019. "A Markov decision process approach to vacant taxi routing with e-hailing," Transportation Research Part B: Methodological, Elsevier, vol. 121(C), pages 114-134.
    17. Liu, Yang & Wu, Fanyou & Lyu, Cheng & Li, Shen & Ye, Jieping & Qu, Xiaobo, 2022. "Deep dispatching: A deep reinforcement learning approach for vehicle dispatching on online ride-hailing platform," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 161(C).
    18. Meng Qi & Yuanyuan Shi & Yongzhi Qi & Chenxin Ma & Rong Yuan & Di Wu & Zuo-Jun (Max) Shen, 2023. "A Practical End-to-End Inventory Management Model with Deep Learning," Management Science, INFORMS, vol. 69(2), pages 759-773, February.
    19. Sadana, Utsav & Chenreddy, Abhilash & Delage, Erick & Forel, Alexandre & Frejinger, Emma & Vidal, Thibaut, 2025. "A survey of contextual optimization methods for decision-making under uncertainty," European Journal of Operational Research, Elsevier, vol. 320(2), pages 271-289.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Si, Jinhua & He, Fang & Lin, Xi & Tang, Xindi, 2024. "Vehicle dispatching and routing of on-demand intercity ride-pooling services: A multi-agent hierarchical reinforcement learning approach," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 186(C).
    2. Li, Yuanyuan & Liu, Yang, 2021. "Optimizing flexible one-to-two matching in ride-hailing systems with boundedly rational users," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 150(C).
    3. Beojone, Caio Vitor & Geroliminis, Nikolas, 2023. "A dynamic multi-region MFD model for ride-sourcing with ridesplitting," Transportation Research Part B: Methodological, Elsevier, vol. 177(C).
    4. Guo, Xiaotong & Caros, Nicholas S. & Zhao, Jinhua, 2021. "Robust matching-integrated vehicle rebalancing in ride-hailing system with uncertain demand," Transportation Research Part B: Methodological, Elsevier, vol. 150(C), pages 161-189.
    5. Gao, Chang & Lin, Xi & He, Fang & Tang, Xindi, 2024. "Online relocating and matching of ride-hailing services: A model-based modular approach," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 188(C).
    6. Sumitkumar, Rathor & Al-Sumaiti, Ameena Saad, 2024. "Shared autonomous electric vehicle: Towards social economy of energy and mobility from power-transportation nexus perspective," Renewable and Sustainable Energy Reviews, Elsevier, vol. 197(C).
    7. Mo, Dong & Wang, Hai & Cai, Zeen & Szeto, W.Y. & Chen, Xiqun (Michael), 2024. "Modeling and regulating a ride-sourcing market integrated with vehicle rental services," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 192(C).
    8. Li, Xinwei & Ke, Jintao & Yang, Hai & Wang, Hai & Zhou, Yaqian, 2024. "An aggregate matching and pick-up model for mobility-on-demand services," Transportation Research Part B: Methodological, Elsevier, vol. 190(C).
    9. Ke, Jintao & Yang, Hai & Zheng, Zhengfei, 2020. "On ride-pooling and traffic congestion," Transportation Research Part B: Methodological, Elsevier, vol. 142(C), pages 213-231.
    10. Huang, Yunping & Zhu, Pengbo & Zhong, Renxin & Geroliminis, Nikolas, 2024. "A bi-level approach for optimal vehicle relocating in Mobility-On-Demand systems with approximate dynamic programming and coverage control," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 192(C).
    11. Ji, Wen & Liu, Shenglin & Han, Ke & Li, Yanfeng & Liu, Tao, 2024. "The Share-a-Ride Problem with mixed ride-hailing and logistic vehicles," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 192(C).
    12. Ke, Jintao & Yang, Hai & Li, Xinwei & Wang, Hai & Ye, Jieping, 2020. "Pricing and equilibrium in on-demand ride-pooling markets," Transportation Research Part B: Methodological, Elsevier, vol. 139(C), pages 411-431.
    13. Tubagus Robbi Megantara & Sudradjat Supian & Diah Chaerani, 2022. "Strategies to Reduce Ride-Hailing Fuel Consumption Caused by Pick-Up Trips: A Mathematical Model under Uncertainty," Sustainability, MDPI, vol. 14(17), pages 1-18, August.
    14. Zhang, Jiang-Hua & Zhu, Rui & Wang, Jing-Peng, 2025. "Joint re-dispatching and pricing on a business-to-consumer ride-hailing platform," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 196(C).
    15. Yan, Rui & Chen, Yuwen & Liu, Baolong & Wang, Xuege, 2025. "Promoting carpooling on car-hailing platforms: Order allocation and motivating subsidy," Transportation Research Part B: Methodological, Elsevier, vol. 199(C).
    16. Zhu, Zheng & Ke, Jintao & Wang, Hai, 2021. "A mean-field Markov decision process model for spatial-temporal subsidies in ride-sourcing markets," Transportation Research Part B: Methodological, Elsevier, vol. 150(C), pages 540-565.
    17. Gao, Jie & Zhu, Yongqiu & Cats, Oded, 2025. "Uncertainties in shared mobility optimization problems: Survey and perspective," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 203(C).
    18. Shi, Ziyi & Xu, Meng & Song, Yancun & Zhu, Zheng, 2024. "Multi-Platform dynamic game and operation of hybrid Bike-Sharing systems based on reinforcement learning," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 181(C).
    19. Sapan Tiwari & Neema Nassir & Patricia Sauri Lavieri, 2024. "Smart Insertion Strategies for Sustainable Operation of Shared Autonomous Vehicles," Sustainability, MDPI, vol. 16(12), pages 1-28, June.
    20. Wang, Tao & Guo, Jia & Zhang, Wei & Wang, Kai & Qu, Xiaobo, 2024. "On the planning of zone-based electric on-demand minibus," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 186(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:transb:v:206:y:2026:i:c:s0191261526000238. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/548/description#description .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.