Abstract
During the spread of the epidemic, the home delivery service (HDS) has been quickly introduced by retailers which helps customers avoid the risk of viral infection while shopping at offline stores. However, the operation cost of HDS is a huge investment for O2O retailers. How to minimize the operating costs of HDS is an urgent issue for the industry. To solve this problem, we outline those management decisions of HDS that have an impact on operating costs, including dynamic vehicle routing, driver sizing and scheduling, and propose an integrated optimization model by comprehensively considering these management decisions. Moreover, the dynamic feature of online orders and the heterogeneous workforces are also considered in this model. To solve this model, an efficient adaptive large neighborhood search (ALNS) and branch-and-cut algorithms are developed. In the case study, we collected real data from a leading O2O retailer in China to assess the effectiveness of our proposed model and algorithms. Experimental results show that our approach can effectively reduce the operating costs of HDS. Furthermore, a comprehensive analysis is conducted to reveal the changing patterns in operating costs, and some valuable management insights are provided for O2O retailers.
Introduction
In the wake of the pandemic, Online-to-Offline (O2O) retail—where customers order online from local brick-and-mortar stores for rapid home delivery—has seen explosive growth. Retailers like Hema Fresh or Costco promise delivery within narrow windows, often as short as 30 minutes. However, the "last mile" remains notoriously expensive. Retailers face three primary challenges: extreme demand volatility throughout the day, workforce complexity involving a mix of in-house and crowdsourced drivers, and the computational scale required to coordinate hundreds of orders across varying time horizons.
Methodology
To address these challenges, this research proposes a three-stage optimization framework designed to make the problem computationally tractable while accounting for heterogeneous workforces and dynamic order fluctuations.
The framework consists of the following stages:
- Multi-Period Capacity Vehicle Routing Problem with Deadline (MPVRPD): This stage focuses on minimizing transportation costs for each 30-minute period. An Adaptive Large Neighborhood Search (ALNS) algorithm is employed to handle the NP-hard nature of the problem, using "destroy and repair" operators to iteratively improve routes.
- Daily Heterogeneous Driver Sizing and Scheduling Model (DHDSSM): Using the routing requirements from Stage 1, this stage determines the optimal mix of drivers and shifts for a single day using a Branch-and-Cut algorithm.
- Monthly Heterogeneous Driver Sizing and Scheduling Model (MHDSSM): This final stage scales the daily needs to a monthly level, accounting for weekend rest breaks and labor laws.
Case Study and Results
The model was tested using real-world operational data from a leading O2O retailer in Chongqing, China, covering 2,380 orders over a typical weekday within a 3km radius.
Algorithm Performance
The proposed ALNS algorithm demonstrated clear superiority over the standard Efficient Memetic Algorithm (MA). In a high-density environment, ALNS fulfilled the day's orders using 315 driver-periods, compared to 338 required by the benchmark. This resulted in a total daily transportation cost of 316.08 CNY, outperforming the benchmark's 334.67 CNY within the same 1-minute calculation limit.
Management Insights
- The 30-Minute "Sweet Spot": The study identified a non-linear relationship between delivery deadlines and cost. While longer windows (e.g., 45 mins) reduce transportation costs, they unexpectedly increase employment costs because order volumes become too large for drivers to handle efficiently, requiring a massive surge in staffing. A 30-minute deadline was found to be the optimal balance.
- Workforce Flexibility: The model revealed that rigid weekend rest requirements significantly inflate headcount. Negotiating flexible rest days could potentially reduce the monthly driver requirement from 132 down to 45 in certain scenarios.
- Optimal Staffing: For the case study store, the minimum total daily operation cost (transport + employment) was found to be 4,643 CNY, supported by a monthly pool of 45 drivers.
Conclusion
The integrated optimization model provides a robust framework for O2O retailers to manage the high costs of home delivery services. By balancing routing efficiency with strategic driver scheduling, retailers can maintain high service levels while minimizing expenses. Future research will explore more complex salary structures, nuanced service quality metrics, and even more efficient heuristic algorithms for larger-scale operations.
Summary updated