Inferensys

Glossary

Pickup and Delivery Problem (PDP)

A combinatorial optimization challenge in logistics where goods must be transported between specific pickup and delivery locations, enforcing strict pairing and precedence constraints.
Finance analyst reviewing cash flow AI optimization on laptop, charts and projections visible, home office work session.
ROUTING OPTIMIZATION

What is Pickup and Delivery Problem (PDP)?

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, enforcing pairing and precedence constraints.

The Pickup and Delivery Problem (PDP) is a combinatorial optimization challenge that generalizes the Vehicle Routing Problem by requiring that each transportation request has a specific origin and destination. Unlike standard VRP where goods flow from a single depot, PDP enforces pairing constraints—a load picked up at location A must be delivered to location B—and precedence constraints, meaning the pickup must occur before the delivery on the same vehicle's route.

PDP variants include the Dial-a-Ride Problem (DARP) for passenger transport with time windows and the Vehicle Routing Problem with Pickup and Delivery (VRPPD) for freight. Solving PDP typically requires metaheuristics like Adaptive Large Neighborhood Search (ALNS) or exact methods like Mixed Integer Programming (MIP) to minimize total travel cost while respecting capacity, time window, and pairing constraints.

Core Constraints

Key Characteristics of PDP

The Pickup and Delivery Problem (PDP) is defined by a set of strict combinatorial constraints that distinguish it from simpler routing problems. These characteristics enforce the logical pairing and sequencing of goods movement.

01

Pairing Constraint

Every pickup location is strictly paired with a specific delivery location. A vehicle must visit both nodes in the pair to complete the service. This is fundamentally different from the Vehicle Routing Problem (VRP), where nodes are independent. In PDP, a request is an indivisible pair of stops.

  • Example: A ride-hailing trip from Point A to Point B.
  • Example: A cargo container moving from a port to a warehouse.
  • Violation: Visiting a delivery node without first visiting its corresponding pickup node invalidates the solution.
02

Precedence Constraint

For any given pair, the pickup location must be visited before the delivery location in the vehicle's route sequence. This temporal ordering is non-negotiable. The constraint ensures that goods are on board the vehicle before an attempt is made to unload them.

  • Impact: This creates a directed dependency graph that solvers must respect.
  • Complexity: Precedence dramatically increases the computational difficulty compared to unconstrained routing.
03

Capacity Coupling

The load picked up at the origin must remain on the vehicle until it is dropped off at the destination. This dynamic loading profile means the vehicle's occupied capacity fluctuates along the route, not just at a single depot.

  • Constraint: The total load of all active requests on a vehicle must never exceed its maximum capacity at any point.
  • Planning: Solvers must track the on-board inventory state vector as a function of the route sequence.
04

Time Window Intersection

Both the pickup and the delivery nodes can have independent hard or soft time windows. A feasible solution requires the vehicle to arrive within the allowed interval at both locations, factoring in the travel time between them.

  • Hard Windows: The vehicle must wait if it arrives early; the solution is infeasible if it arrives late.
  • Soft Windows: Late arrivals incur a penalty cost in the objective function.
  • Coupling Effect: The pickup time window directly constrains the feasible arrival time at the delivery node.
05

Fleet Heterogeneity

In real-world PDPs, the fleet is rarely uniform. Vehicles have different capacities, equipment (e.g., refrigeration, tail lifts), and cost profiles. A valid assignment must match the physical requirements of the goods to the capabilities of the vehicle.

  • Skill Matching: A hazardous material pickup requires a certified vehicle.
  • Cost Optimization: Assigning a large truck to a small parcel is inefficient; the solver must balance fixed and variable vehicle costs.
06

Non-Immediate Delivery

Unlike the immediate transfer assumed in basic models, advanced PDP variants allow a vehicle to pick up a load and continue making other pickups or deliveries before dropping it off. This is known as interleaving.

  • Benefit: Enables higher vehicle utilization and consolidation.
  • Challenge: The state space explodes as the solver must track multiple active shipments simultaneously, making it a much harder optimization problem than the Dial-a-Ride Problem (DARP) where immediate delivery is often assumed.
PICKUP AND DELIVERY PROBLEM

Frequently Asked Questions

Explore the core concepts, constraints, and algorithmic approaches for solving the Pickup and Delivery Problem (PDP), a fundamental challenge in logistics optimization.

The Pickup and Delivery Problem (PDP) is a combinatorial optimization challenge that generalizes the Vehicle Routing Problem (VRP) by requiring goods to be transported between specific paired pickup and delivery locations. Unlike standard VRP where vehicles simply visit nodes, PDP enforces a strict precedence constraint: a vehicle must visit the pickup location before the corresponding delivery location for each request. Additionally, a pairing constraint ensures that the same vehicle handles both the pickup and the associated delivery. The objective is to design a set of minimum-cost routes for a fleet of vehicles such that all requests are serviced, vehicle capacities are respected, and all pairing and precedence constraints are satisfied. This problem is NP-hard, meaning exact solutions become computationally intractable for large instances, necessitating the use of advanced metaheuristics like Adaptive Large Neighborhood Search (ALNS) or exact methods like Mixed Integer Programming (MIP) for smaller, time-critical problems.

CONSTRAINT COMPARISON

PDP vs. Related Routing Problems

Key structural differences between the Pickup and Delivery Problem and other classic routing formulations

ConstraintPDPVRPTSPDARP

Paired pickup-delivery locations

Precedence constraint (pickup before delivery)

Vehicle capacity limit

Time window constraints

Single depot origin

Heterogeneous fleet support

Passenger-specific ride time limits

Multi-depot capability

INDUSTRY USE CASES

Real-World PDP Applications

The Pickup and Delivery Problem (PDP) underpins critical logistics operations across diverse sectors. These applications demonstrate how pairing and precedence constraints are enforced in practice.

01

On-Demand Ride-Hailing

Platforms like Uber and Lyft represent a massive-scale, real-time PDP where pairing (matching a specific rider to a specific driver) and precedence (pickup must occur before drop-off) are fundamental. The system must continuously solve a dynamic PDP, assigning new requests to a fleet of moving vehicles while minimizing waiting time and detours. Key constraints include vehicle capacity and real-time traffic conditions.

~19M
Daily Trips (Uber, 2023)
< 2 min
Average Matching Time
02

Medical Courier Networks

The transport of lab specimens, pharmaceuticals, and medical devices between hospitals, clinics, and labs is a critical PDP application. Time windows are rigid, and cold chain integrity must be maintained. A specimen pickup at a doctor's office is paired with a specific drop-off at a diagnostic lab, with strict precedence. Failure can lead to sample degradation and diagnostic delays.

99.9%
Required SLA Adherence
2-8°C
Cold Chain Range
03

Less-than-Truckload (LTL) Freight

LTL carriers consolidate multiple shipments from different shippers into a single trailer. This is a complex PDP where each shipment has a unique origin-destination pair. The optimization involves sequencing pickups and deliveries across a network of terminals to maximize trailer utilization while respecting individual delivery windows. A shipment picked up in Chicago for delivery in Dallas cannot be unloaded before its paired destination.

$40B+
US LTL Market Size
85%
Target Utilization Rate
04

Grocery & Meal Delivery

Services like Instacart and DoorDash operate a multi-echelon PDP. First, a shopper picks up items from a store (first pickup) and delivers them to a customer (first drop-off). In batch orders, a single driver handles multiple such paired tasks simultaneously. The system must enforce pairing (the correct groceries for the correct customer) and precedence (shop, then deliver) while managing perishable goods time constraints.

< 30 min
Target Delivery Window
3-5
Avg. Batched Orders
05

Construction Material Logistics

Delivering ready-mix concrete or steel beams to a job site is a PDP with hard physical constraints. Concrete, for example, has a limited shelf life (approx. 90 minutes) from batching (pickup) to pouring (delivery). The paired pickup at the batch plant and delivery to the specific pour site must be precisely sequenced. Delays violate the precedence constraint and result in material waste and project setbacks.

~90 min
Max Concrete Shelf Life
15%
Waste from Late Delivery
06

Waste Collection & Recycling

Municipal waste collection is a large-scale PDP where a vehicle picks up waste from a specific location (a bin) and delivers it to a paired disposal facility (a landfill or recycling center). Pairing ensures recyclables go to the correct material recovery facility, not a general landfill. Precedence dictates that collection must precede disposal. Route optimization minimizes fuel consumption and vehicle wear.

30%
Potential Fuel Savings
1,000+
Bins per Route
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.