Inferensys

Glossary

Pickup and Delivery Problem (PDP)

A combinatorial optimization challenge where vehicles must transport items between specific pickup and delivery locations, respecting pairing and precedence constraints that ensure a pickup occurs before its corresponding delivery.
Finance analyst reviewing cash flow AI optimization on laptop, charts and projections visible, home office work session.
COMBINATORIAL OPTIMIZATION

What is Pickup and Delivery Problem (PDP)?

A fundamental class of vehicle routing problems where goods or passengers must be transported between specific pickup and delivery locations, governed by precedence constraints.

The Pickup and Delivery Problem (PDP) is a combinatorial optimization challenge that generalizes the Vehicle Routing Problem by requiring every transportation request to have a specific origin and destination. The core constraint is a precedence relationship: a vehicle must visit a pickup location and load the cargo before it can subsequently visit the corresponding delivery location to unload it. This pairing couples the two stops, making the problem significantly more complex than standard node-routing variants.

PDPs are foundational to modern logistics, modeling scenarios from less-than-truckload (LTL) freight consolidation to dial-a-ride passenger services. Solving a PDP involves simultaneously assigning requests to vehicles and sequencing the stops to minimize total travel cost while respecting vehicle capacity, time windows, and maximum ride-time constraints. Exact solutions via Mixed-Integer Linear Programming (MILP) are computationally intractable for large instances, driving the widespread use of metaheuristics like Adaptive Large Neighborhood Search (ALNS) to find near-optimal routes in operational timeframes.

CORE CONCEPTS

Key Features of the Pickup and Delivery Problem

The Pickup and Delivery Problem (PDP) is a fundamental class of vehicle routing that introduces precedence constraints—a pickup must occur before its corresponding delivery—and pairing constraints—the same vehicle must handle both operations for a given request.

01

Precedence Constraints

The defining characteristic of the PDP is the temporal ordering requirement. For every request, the pickup node must be visited before the delivery node on the same route. This transforms the problem from a simple sequencing task into a complex combinatorial challenge where inserting a new request requires validating that no existing precedence relationships are violated. Violations lead to infeasible routes where a vehicle arrives to deliver goods it has not yet collected.

02

Pairing and Coupling

Each transportation request consists of a coupled pair of locations: an origin and a destination. The same vehicle must service both nodes. This pairing constraint prevents solutions where one vehicle picks up a load and another delivers it, which would be valid in a standard Vehicle Routing Problem (VRP). Mathematically, this introduces linking constraints that tightly couple decision variables, significantly increasing the problem's computational complexity.

03

Capacity Dynamics

Unlike the Capacitated VRP where load monotonically decreases, PDP vehicle loads fluctuate dynamically. A vehicle's load increases at pickup nodes and decreases at delivery nodes. This creates a non-monotonic load profile along the route. Feasibility checks must verify that the vehicle's capacity is never exceeded at any point, requiring cumulative load tracking rather than a simple sum of total demand.

04

Time Window Intersections

PDPs frequently incorporate hard time windows at both pickup and delivery locations. A request may specify a morning pickup window and an afternoon delivery window. The travel time between the paired nodes imposes a minimum time separation, while customer requirements impose a maximum ride time. Satisfying these intersecting temporal constraints while sequencing multiple requests on a single vehicle is a core algorithmic challenge.

05

Dial-a-Ride Problem (DARP)

The Dial-a-Ride Problem is the passenger-transport variant of the PDP. It introduces service quality constraints absent in freight PDPs:

  • Maximum ride time: A passenger cannot be on board longer than a multiple of the direct travel time.
  • Maximum wait time: Limits on how long a vehicle can idle before pickup. These constraints make DARP significantly more constrained than freight PDPs and are critical for paratransit and ride-sharing services.
06

Solution Approaches

PDPs are NP-hard, making exact solutions impractical for large instances. Common solution methods include:

  • Adaptive Large Neighborhood Search (ALNS): Iteratively destroys and repairs parts of the solution, adapting operator selection based on performance.
  • Mixed-Integer Linear Programming (MILP): Formulates the problem with binary decision variables for arc traversal and continuous variables for load and time tracking.
  • Column Generation: Decomposes the problem into a master problem selecting routes and a pricing subproblem generating feasible PDP routes with negative reduced cost.
COMPARATIVE ANALYSIS

PDP vs. Related Routing Problems

Key structural and constraint differences between the Pickup and Delivery Problem and its closest routing variants.

FeaturePickup and Delivery (PDP)Vehicle Routing (VRP)Dial-a-Ride (DARP)

Core objective

Transport items between paired pickup and delivery locations

Deliver goods from a depot to customer locations

Transport passengers between paired pickup and delivery locations

Precedence constraint

Depot-based

Pairing constraint

Maximum ride time constraint

Vehicle capacity constraint

Time window constraint

Primary application

Freight and courier services

Retail distribution and supply chain

Paratransit and ride-sharing

PDP ESSENTIALS

Frequently Asked Questions

Clear, technically precise answers to the most common questions about the Pickup and Delivery Problem, its constraints, and its solution methods.

The Pickup and Delivery Problem (PDP) is a class of vehicle routing problems where goods or passengers must be transported between specific pickup and delivery locations, with the fundamental constraint that a pickup must occur before its corresponding delivery. This precedence constraint is the defining characteristic that distinguishes PDP from standard Vehicle Routing Problems. The objective is typically to find a set of routes for a fleet of vehicles that services all requests at minimal total cost—measured in distance, time, or number of vehicles—while respecting vehicle capacity, time windows, and maximum ride time limits. PDP models are foundational to modern logistics, powering everything from parcel delivery and ride-hailing services to the transportation of patients in non-emergency medical services.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.