An efficient bundle-based approach for the share-a-ride problem

Ana Beatriz Herthel, Richard F. Hartl, Thibaut Vidal, Anand Subramanian · DOI

Abstract

Some of today's most significant challenges in urban environments concern individual mobility and rapid parcel delivery. With the surge of e-commerce and the ever-increasing volume of goods to be handled, new logistic solutions are in high demand. The share-a-ride problem (SARP) was proposed as one such solution, combining people and parcel transportation in taxis. This is an NP-hard problem and thus obtaining optimal solutions can be computationally costly. In this paper, we work with a variation of SARP for ride-hailing systems, which can be formulated as a multi-depot open generalised vehicle routing problem with time windows. We present and solve a mixed-integer linear programming (MILP) formulation for this problem that bundles requests together, and we compare its results to a previously proposed two-stage method. The latter solves the so-called freight insertion problem (FIP) in the second stage, for which we consider two versions, and the problem consists of inserting parcels into predefined passenger routes obtained in the first stage. We tested the methods in three sets of instances. The developed bundle-based approach outperformed both FIP versions in solution quality and in the service of parcels. Our method also compares favourably when it comes to reducing the amount of deadheading distance.

Introduction

Urban mobility faces a dual challenge: the surge of e-commerce has flooded streets with delivery vans, while ride-hailing services often operate with vehicles that are empty 42% of the time—a phenomenon known as "deadheading." The Share-a-Ride Problem (SARP) proposes a solution by utilizing empty seats and trunks to move parcels alongside passengers. However, SARP is an NP-hard problem, making it difficult to solve optimally at scale. Previous attempts often used a "two-stage" approach—first routing passengers, then inserting parcels into gaps. This method is often suboptimal as it fails to consider how slight changes in passenger routes could optimize parcel delivery.

Methodology: The Bundle-Based Approach

The authors propose a one-stage bundle-based approach using Mixed-Integer Linear Programming (MILP). The core innovation is the representation of the problem through request bundling. Instead of treating every pickup and drop-off as a separate stop, they "bundle" them into sequences, such as picking up a parcel, then a passenger, dropping off the passenger, and finally the parcel.

Illustration of merging nodes into a single bundle to simplify the routing problem.

By using these bundles, the problem is reformulated as a multi-depot open generalized vehicle routing problem with time windows (M-OGVRP-TW). To ensure service viability for humans, the model assumes passengers do not share rides with others and face zero detours. Parcels are only carried if they do not interfere with the passenger's direct route. Unlike the reactive two-stage Freight Insertion Problem (FIP), this model builds the entire route simultaneously to maximize total profit.

Experimental Evaluation

The model was evaluated on five datasets across three classes:

  • GH1: Adapted from the Grubhub meal-delivery library (TSPPDLIB).
  • SF1 & SF2: Adapted from existing SARP literature.
  • MD1 & MD2: Newly introduced multi-depot instances calibrated using real-world Uber Movement data from cities like London, São Paulo, and San Francisco to ensure realistic travel parameters.

Key Results

The bundle-based approach (BF) was compared against two versions of the two-stage FIP:

  • Service Rate: In the MD1 dataset, the BF approach serviced 67% of available parcels, compared to approximately 48% for FIP methods.
  • Revenue: BF consistently outperformed FIP. For "Class 1" instances, it improved revenue by nearly 120% over a passenger-only baseline, while FIP managed a ~95% increase.
  • Efficiency: The BF method reduced deadheading distance by approximately 25-26% across most datasets.
  • Computational Performance: While BF is more effective, it is computationally heavier. Small instances solved in under a second, but larger instances took an average of 24 minutes, whereas FIP always solved in under a second.

Conclusion and Future Work

The study demonstrates that integrated optimization significantly outperforms sequential methods. By filling empty miles with freight, the "deadheading" distance and carbon footprint per item moved drop significantly. Future work will focus on scalability through heuristic approaches for real-time city-scale problems and exploring more flexible capacity and interleaving rules.

Summary updated

Abstract

Some of today's most significant challenges in urban environments concern individual mobility and rapid parcel delivery. With the surge of e-commerce and the ever-increasing volume of goods to be handled, new logistic solutions are in high demand. The share-a-ride problem (SARP) was proposed as one such solution, combining people and parcel transportation in taxis. This is an NP-hard problem and thus obtaining optimal solutions can be computationally costly. In this paper, we work with a variation of SARP for ride-hailing systems, which can be formulated as a multi-depot open generalised vehicle routing problem with time windows. We present and solve a mixed-integer linear programming (MILP) formulation for this problem that bundles requests together, and we compare its results to a previously proposed two-stage method. The latter solves the so-called freight insertion problem (FIP) in the second stage, for which we consider two versions, and the problem consists of inserting parcels into predefined passenger routes obtained in the first stage. We tested the methods in three sets of instances. The developed bundle-based approach outperformed both FIP versions in solution quality and in the service of parcels. Our method also compares favourably when it comes to reducing the amount of deadheading distance.
BibTeX
@misc{herthel2021efficient,
  author = {Ana Beatriz Herthel and Richard F. Hartl and Thibaut Vidal and Anand Subramanian},
  title = {{An efficient bundle-based approach for the share-a-ride problem}},
  year = {2021},
  eprint = {2110.15152},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.15152},
}

Loading related content...

Figure