What is Pickup and Delivery Problem with Time Windows (PDPTW)? [Definition and Key Constraints]

Home > Glossary > Route Optimization > What is Pickup and Delivery Problem with Time Windows (PDPTW)? [Definition and Key Constraints]

What is pickup and delivery problem with time windows

What is Pickup and Delivery Problem with Time Windows (PDPTW)?

The Pickup and Delivery Problem with Time Windows (PDPTW) is the effective scheduling of vehicles to pick up and deliver things to various locations within a specific time window.

PDPTW organizes the vehicle routes to meet all the client requirements while cutting overall transportation costs or time. The problem usually occurs due to the availability of limited resources such as time and vehicle capacity, and the complexity of the task involved in determining the optimal solution. 

PDPTW is a type of Vehicle Routing Problem (VRP) with several real-world applications in logistics, transportation, and distribution systems, such as postal and courier services, home delivery, and emergency services. Businesses can lower expenses, boost productivity, and raise customer satisfaction, by strategically planning deliveries and pickups. 

Therefore, for companies aiming to enhance their logistics and transportation operations, it is essential to comprehend the principles of the Pickup and Delivery Problem with Time Windows.

Components of Pickup and Delivery Problem with Time Windows

PDPTW  has several components that define the problem. Below is the list of components:

  1. Customers: PDPTW receives pickup and delivery orders from a group of customers. Each client has a time limit within which they must be attended to, as well as a set quantity of goods or items that must be picked up or delivered.
  2. Vehicles: A fleet of vehicles with a restricted carrying capacity and journey time is provided to satisfy client needs. 
  3. Time Windows: Time windows can be either hard or soft, meaning that the customer must be served within a certain time range, which is defined. 
  4. Distance Matrix: The distance matrix shows the travel lengths or times between every potential location for the vehicles’ pickup and delivery.
  5. Constraints: PDPTW is subject to several restrictions, including limitations on time windows, precedence, and vehicle capacity. Time window limitations ensure that each customer is served within their time window, while vehicle capacity constraints ensure that the products picked up by the vehicle do not exceed their capacity. 

These elements interact with one another and influence how complex the PDPTW is. Finding the best routes to satisfy the client’s demands while reducing the overall cost or duration of transportation is necessary to solve the PDPTW. 

Constraints in the Pickup and Delivery Problem with Time Windows

When solving the Pickup and Delivery Problem with Time Windows, constraints are essential. Following are a few constraints to take into account to find effective solutions:

1. Time windows

The key restriction in the Pickup and Delivery Problem with Time Windows (PDPTW) is the time window. It outlines a time frame within which the pickup or delivery must be performed. 

The time window can significantly reduce the quality of the solution especially when there are several pickups and deliveries to be made. Additionally, any type of violation of the time window can increase the expenses or fines. 

2. Vehicle capacity

The capacity of the delivery vehicle is another constraint that must be taken into account. It determines the amount of goods that can be transported at a given point in time. The capacity of the vehicle cannot be exceeded by the combined demand of all pickups and deliveries.

When resolving the PDPTW, the vehicle capacity limitation must be considered as a hard constraint. Any type of violation of  this restriction may result in extra expenses, fines, and even delivery delays.

3. Time-dependent travel times

Depending on the time of day, travel times between destinations can change. For instance, the travel time can be high or longer in situations like traffic congestion. The quality of the solution may be considerably impacted by this constraint.

This problem can be resolved by creating models that take into account the time of day and traffic patterns. However, violating this constraint can result in delays and extra costs. 

4. Pickup-delivery pairing constraints

This constraint determines which pickups and deliveries can be served simultaneously. This restriction makes sure that deliveries do not take place before pickups and that the vehicle does not make delivery before picking up the matching products.

This is how understanding these constraints and using proper algorithms can help businesses to improve customer satisfaction, cut costs, and optimize delivery processes.

Solving the Pickup and Delivery Problem with Time Windows 

To effectively solve the Pickup and Delivery Problem with Time Windows, numerous algorithms have been created. These algorithms can be classified as Exact, Heuristic, and Metaheuristic algorithms. 

1. Exact Algorithms

Exact algorithms ensure optimal solutions for the smaller instances of the problem. For example, branch and bound algorithms and dynamic programming solutions.

2. Heuristic Algorithms

Heuristic algorithms solve bigger instances of the problem with near-optimal results and are faster than exact algorithms. For example, genetic algorithm and tabu search algorithm.

3. Metaheuristic Algorithms

Metaheuristic algorithms are problem-solving general approaches to solve a variety of optimization issues, including the PDPTW. For example, simulated annealing and ant colony optimization algorithm.

To conclude, the size of the issue, the amount of time available, and the desired level of precision all influence the choice of algorithm of choose for solving the vehicle routing problem, PDPTW.


To conclude, the Pickup and Delivery Problem with Time Windows is an alarming and challenging vehicle routing problem. Despite the intricacy of the issue, resolving it can boost productivity, reduce costs, and improve customer service. Further, as technology develops, there is a lot of room for more research and development in this area to improve algorithms and discover solutions to this problem.

Author Bio
Rakesh Patel
Rakesh Patel

Rakesh Patel, author of two defining books on reverse geotagging, is a trusted authority in routing and logistics. His innovative solutions at Upper Route Planner have simplified logistics for businesses across the board. A thought leader in the field, Rakesh's insights are shaping the future of modern-day logistics, making him your go-to expert for all things route optimization. Read more.