Nanyang Technological University
Machine learning based prediction of travel and service times and vehicle routing for last mile delivery
Abstract
dc:description.abstractLast-mile delivery accounts for a very large share of total logistics cost in dense urban areas. Yet operational planning in many small and mid-size fleets still relies on the experience of the manual planner or on static data in terms of fleet scheduling and estimating the time of delivery. This thesis develops an end-to-end, data-driven planning pipeline combining a VRP optimisation engine and machine learning models for predicting service time and travel time. The VRP is tested and evaluated with operational data provided by a food distributor in Singapore. The system follows a three-stage methodology: GPS trajectory mining for labelled service time and travel time data, machine learning model development for service-time and travel-time prediction, and a GPU-accelerated Vehicle Routing Problem (VRP) solver. In the first stage, historical GPS trajectories are processed with ST-DBSCAN clustering to detect delivery stop locations and to measure the dwell (service) time at each stop and travel time between stops. In the second stage, XGBoost, a gradient-boosted model, is selected and trained to predict the service-time (ST) for each location and the travel-time (TT) between two locations with and without weather data. Optuna with grouped cross-validation is used for tuning hyperparameters for both models. The MAE for the service and travel time model decreased when trained with more data. In the third stage, the models are integrated with NVIDIA CuOPT, a GPU-accelerated solver for the Pickup-and-Delivery Problem with Time Windows (PDPTW). The service time model supplies service times as solver input (pre-optimisation), and the TT models with and without weather features are used to predict travel times and estimated time of arrival (ETA) after routing (post-optimisation). The results directly explain the effect of ML-predicted service times and travel times in the KPI comparison. The initial manual planning assumes 5 minutes per stop. However the mined data show a median service time of ~10 minutes. Therefore, closing the planning gaps leads to changes in the results relative to simulated baseline. The travel-time model with weather shows no difference compared with the travel time model without weather in both the model evaluation and the VRP results. Rain was also scarce during the dataset window. Because the travel-time model is applied only after routing, it re-times the route legs without altering the routing decisions or the vehicle count. All pipeline components are reproducible and run without internet access at solve time.
Degree
thesis:*- College dc:contributor.school
- School of Mechanical and Aerospace Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Dhivakar, Boopalan
- Advisor dc:contributor.supervisor
-
- Rajesh Piplani
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/235038