Discrete Optimization
The discrete time window assignment vehicle routing problem

https://doi.org/10.1016/j.ejor.2015.01.020Get rights and content

Highlights

  • We provide a time window assignment model in a VRP setting with demand uncertainty.

  • We develop a state-of-the-art exact branch-price-and-cut method.

  • We develop column generation heuristics for good solutions in large instances.

  • Numerical experiments show that using multiple demand scenarios is better than one.

Abstract

In this paper we introduce the discrete time window assignment vehicle routing problem (DTWAVRP) that can be viewed as a two-stage stochastic optimization problem. Given a set of customers that must be visited on the same day regularly within some period of time, the first-stage decisions are to assign to each customer a time window from a set of candidate time windows before demand is known. In the second stage, when demand is revealed for each day of the time period, vehicle routes satisfying vehicle capacity and the assigned time windows are constructed. The objective of the DTWAVRP is to minimize the expected total transportation cost. To solve this problem, we develop an exact branch-price-and-cut algorithm and derive from it five column generation heuristics that allow to solve larger instances than those solved by the exact algorithm. We illustrate the performance of these algorithms by means of computational experiments performed on randomly generated instances.

Introduction

In distribution networks, it is common for a supplier and a customer to agree on a time window in which a delivery will be made. This time window is often used repeatedly within some period of time in which multiple deliveries are made at regular intervals. At the moment of choosing a time window for a customer, its demand is usually unknown and may fluctuate for different deliveries. When the demands of all customers become known for a given day, a vehicle routing problem with time windows (VRPTW) must be solved to construct a delivery schedule within the agreed time windows.

The time window assignment vehicle routing problem (TWAVRP) was recently introduced by Spliet and Gabor (2014). This problem can be viewed as a two-stage stochastic optimization problem (see Birge and Louveaux, 1997). Given a set of customers to be visited on the same day regularly during some period of time (e.g., a season), the TWAVRP consists of assigning in the first stage a time window to each customer before customer demand is known. In the second stage, when demand is revealed for each day of the time period, vehicle routes that respect the assigned time windows are constructed. The assigned time windows have a predetermined width and can start at any time within an exogenous time window that can be customer-dependent. The objective of the TWAVRP is to minimize the expected total transportation cost over the whole time period that is equivalent to minimizing the expected cost for a single day.

In this paper, we study the discrete TWAVRP (DTWAVRP) that differs from the TWAVRP by considering for each customer a finite set of candidate time windows from which one has to be selected. For example, a customer might divide the day in blocks of 2 hours commencing on the hour and require one of these blocks to be the assigned time window. We have encountered such time window assignment problems (discrete or not) while collaborating with Dutch retail chains, and believe they are common in this industry. Here, the retailers (customers) are heavily dependent on the time window to be fixed in advance and kept for some time. For instance, a retailer might receive all its deliveries on the same day of the week and more or less the same hour of the day for an entire year. This is crucial for many operational purposes like inventory management and the scheduling of personnel. Considering a discrete set of time windows is often more practical for the retailers, especially to ease the personnel scheduling process which must take into account various regulations. Furthermore, it can give them the opportunity to express preferences for the time windows. Maximizing the satisfaction of these preferences might be taken into account as a secondary objective during the optimization process, an option that is not considered in this paper.

As is common for two-stage stochastic optimization problems, we suggest to approximate the probability distributions of the customer demands by a finite set of possible scenarios of demand realizations. In this framework, the DTWAVRP is clearly NP-hard as, in the case of one scenario and one candidate time window per customer, it reduces to the VRPTW. When it involves several scenarios, the DTWAVRP corresponds to solving several VRPTWs (one per scenario) that are linked together by the choice of the time windows. The VRPTW is a well-studied problem for which many exact and heuristic algorithms have been developed (see, e.g., the surveys of Baldacci, Mingozzi, Roberti, 2012, Bräysy, Gendreau, 2005a, Bräysy, Gendreau, 2005b, Kallehauge, Larsen, Madsen, Solomon, 2005).

We believe that in the scientific literature, the problem of assigning time windows before knowing demand has been largely overlooked so far. It was only tackled recently by Spliet and Gabor (2014) who designed an exact branch-price-and-cut algorithm for the TWAVRP that can solve instances with up to 25 customers and three scenarios. In their solution approach, the pricing problem is modeled as an elementary shortest path problem with linear node costs (induced because the set of time windows is not discrete) and capacity and time window constraints. Due to the complexity of this problem route relaxation is required, but only basic route relaxation can be utilized efficiently: allowing all cyclic routes and eliminating 2-cycles. For the DTWAVRP we also develop a branch-price-and-cut algorithm, but in this case we are able to employ the more sophisticated ng-route relaxation introduced by Baldacci, Mingozzi, and Roberti (2011). The complexity of the pricing problem of Spliet and Gabor (2014) also prohibits the use of certain types of valid inequalities as these add to the complexity. For instance subset row inequalities, introduced by Jepsen, Petersen, Spoorendonk, and Pisinger (2008), are not used in the algorithm for the TWAVRP, whereas they are used in our algorithm for the DTWAVRP. Furthermore, as opposed to the algorithm for the TWAVRP, we add a heuristic pricing algorithm to speed up computations and develop several column generation heuristics.

Introduced by Groër, Golden, and Wasil (2009), the consistent vehicle routing problem (ConVRP) shares some similarities with the DTWAVRP when considering demand scenarios. In this deterministic problem, each customer must be visited on different days of a given horizon (not all customers must be serviced each day) following a consistent schedule, that is, the arrival times at a customer from one day to another cannot differ by more than a limited amount of time. Moreover, it is required that each customer is always visited by the same driver. Groër et al. (2009) found optimal solutions to ConVRP instances involving up to 12 customers and three scenarios using a commercial mixed integer programming solver. They reported computation times of up to several days. Furthermore, they developed a local search heuristic to solve instances with over 3700 customers.

Jabali, Leus, van Woensel, and de Kok (2013) considered another related problem that involves the assignment of time windows in a vehicle routing problem with stochastic travel times and deterministic demands. They developed a tabu search algorithm for solving it. Also, Agatz, Campbell, Fleischmann, and Savelsbergh (2011) studied a stochastic problem faced by e-tailers providing home delivery that consists of selecting which time slots to offer per zip code for making deliveries. They developed a local search heuristic.

The main contributions of this paper are as follows. First, we propose a new problem, the DTWAVRP. Second, we develop a state-of-the-art exact branch-price-and-cut algorithm to solve it and report computational results obtained on randomly generated instances to evaluate the effectiveness of some of its components. Third, from this exact algorithm, we derive several column generation heuristics that can find good solutions to the DTWAVRP in limited computation times. This allows to find solutions to instances that are larger than those solved by the exact algorithm. We report computational results to compare the performance of five such algorithms. Finally, we also provide additional results to assess the benefits of using several demand scenarios to assign time windows to the customers instead of using a single one defined by the average demands as it is usually done in practice.

In the next section, we define the DTWAVRP using demand scenarios and we present an integer programming formulation for it. In Section 3, we introduce the proposed branch-price-and-cut algorithm. In Section 4, we describe the five column generation heuristics. The results of our computational experiments are reported in Section 5. Finally, conclusions are drawn in Section 6.

Section snippets

Problem definition

Consider a complete graph G = (N, A), where N = {0, …, n + 1} is a set of locations such that 0 and n + 1 represent the depot at the start and the end of a day, respectively, and N′ = {1, …, n} the set of customers. Let cij ≥ 0 be the cost to travel along arc (i, j) and tij ≥ 0 the corresponding travel time (including, if any, the service time at i). Both the travel costs and travel times satisfy the triangle inequality. Furthermore, an unlimited number of vehicles of equal capacity Q is

Exact algorithm

In this section, we provide an exact algorithm to solve the DEP of the DTWAVRP. We first describe the column generation algorithm that we use to solve the LP relaxation of (7)–(11). In particular, we present the ng-route relaxation introduced by Baldacci et al. (2011) and discuss acceleration strategies to speed up the pricing algorithm. Next, we suggest valid inequalities to strengthen the LP bound. Finally, we describe the branch-price-and-cut algorithm.

Column generation heuristics

In this section, we introduce five column generation heuristics for the DTWAVRP that are derived from the above branch-price-and-cut algorithm and that can be used to find good solutions in less computation time than the exact algorithm. According to the terminology used in the survey of Joncour, Michel, Sadykov, Sverdlov, and Vanderbeck (2010), we propose one restricted master heuristic, two diving heuristics, and two rounding heuristics. Our goal here is to show how the branch-price-and-cut

Computational results

In this section we present the results of our computational experiments. First, we elaborate on the instances that were used. Next, we report the results obtained with the exact branch-price-and-cut algorithm (Subsection 5.2) and with the five column generation heuristics (Subsection 5.3). Finally, we provide results to compare a multiple-scenario approach with the approach currently used in practice that considers a single scenario (Subsection 5.4).

All our tests were performed on an Intel(R)

Conclusions

In this paper, we have introduced a new problem, the DTWAVRP. We have developed an exact branch-price-and-cut algorithm to solve it. The column generation algorithm exploits the fact that columns for one scenario can be reused in another scenario. Furthermore, we use an ng-route relaxation to speed up the pricing problem while limiting the decrease of the LP value and we also generate columns using a tabu search heuristic. Finally, the branch-price-and-cut algorithm incorporates valid

References (23)

  • BaldacciR. et al.

    Recent exact algorithms for solving the vehicle routing problem under capacity and time window constraints

    European Journal of Operational Research

    (2012)
  • KallehaugeB. et al.

    Vehicle routing problem with time windows

  • AgatzN. et al.

    Time slot management in attended home delivery

    Transportation Science

    (2011)
  • BaldacciR. et al.

    New route relaxation and pricing strategies for the vehicle routing problem

    Operations Research

    (2011)
  • BirgeJ.R. et al.

    Introduction to stochastic programming

    (1997)
  • BräysyO. et al.

    Vehicle routing problem with time windows. Part I. Route construction and local search algorithms

    Transportation Science

    (2005)
  • BräysyO. et al.

    Vehicle routing problem with time windows. Part II. Metaheuristics

    Transportation Science

    (2005)
  • DantzigG.B. et al.

    Decomposition principle for linear programs

    Operations Research

    (1960)
  • DesaulniersG. et al.

    Tabu search, partial elementarity, and generalized k-path inequalities for the vehicle routing problem with time windows

    Transportation Science

    (2008)
  • Desrochers, M. (1988). An algorithm for the shortest path problem with resource constraints, (Technical report G-88-27,...
  • DesrochersM. et al.

    A new optimization algorithm for the vehicle routing problem with time windows

    Operations Research

    (1992)
  • Cited by (74)

    • Multi-period time window assignment for attended home delivery

      2024, European Journal of Operational Research
    • Adaptive appointment scheduling with periodic updates

      2024, Computers and Operations Research
    • Demand management for attended home delivery—A literature review

      2023, European Journal of Operational Research
    • Stochastic optimization models for a home service routing and appointment scheduling problem with random travel and service times

      2023, European Journal of Operational Research
      Citation Excerpt :

      Assuming deterministic travel times, they proposed a branch-price-and-cut method to solve their proposed SP model. Later, Spliet & Desaulniers (2015) considered the same problem in Spliet & Gabor (2015) but with a discrete set of time windows. Dalmeijer & Spliet (2018) developed a branch-and-cut algorithm for the single-vehicle TWAVRP with a new class of valid inequalities.

    • Emergency logistics network optimization with time window assignment

      2023, Expert Systems with Applications
      Citation Excerpt :

      For vehicles, the vS strategy is implemented under the premise of meeting the customer service time window and load capacity. Rational customer service TWA can improve the number of sharing vehicles (Spliet and Desaulniers, 2015; Dalmeijer and Spliet, 2018; Wang et al., 2021c). TWA with VRP (TWAVRP) was introduced by Spliet and Gabor (2015), who proposed a model to assign candidate time windows to customers to minimize travel costs.

    View all citing articles on Scopus
    View full text