A Bucket Graph Based Labelling Algorithm for the Resource Constrained Shortest Path Problem with Applications to Vehicle Routing

Similar documents
Branch-Cut-and-Price solver for Vehicle Routing Problems

Limited Memory Rank-1 Cuts for Vehicle Routing Problems

CADERNOS DO LOGIS. Volume 2017, Number 7. A Bucket Graph Based Labeling Algorithm with Application to Vehicle Routing

Solution Methods for the Multi-trip Elementary Shortest Path Problem with Resource Constraints

Dynamic programming for the orienteering problem with time windows

Enhanced Branch-Cut-and-Price Algorithm for Heterogeneous Fleet Vehicle Routing Problems

A Column Generation Approach for a Multi-Attribute Vehicle Routing Problem

Asymmetry Helps: Dynamic Half-Way Points for Solving Shortest Path Problems with Resource Constraints Faster

Branch-price-and-cut for vehicle routing. Guy Desaulniers

A Bi-directional Resource-bounded Dynamic Programming Approach for the Traveling Salesman Problem with Time Windows

Tour splitting algorithms for vehicle routing problems

Disjunctive cuts in branch-and-but-and-price algorithms Application to the capacitated vehicle routing problem

epub WU Institutional Repository

Branch-and-price algorithms for the Bi-Objective Vehicle Routing Problem with Time Windows

An exact solution framework for a broad class of vehicle routing problems

Hybrid Solution Methodology: Heuristic- Metaheuristic-Implicit Enumeration 1-0 for the Capacitated Vehicle Routing Problem (Cvrp)

A Computational Study of Bi-directional Dynamic Programming for the Traveling Salesman Problem with Time Windows

Recursive column generation for the Tactical Berth Allocation Problem

Two models of the capacitated vehicle routing problem

Column Generation Based Primal Heuristics

Multiple Depot Vehicle Routing Problems on Clustering Algorithms

A column generation algorithm for the team orienteering problem with time windows

Branch-and-Price-and-Cut for the Periodic Vehicle Routing Problem with Flexible Schedule Structures

CADERNOS DO LOGIS. Volume 2017, Number 4. A branch-and-price algorithm for the Minimum Latency Problem

Rich Vehicle Routing Problems Challenges and Prospects in Exploring the Power of Parallelism. Andreas Reinholz. 1 st COLLAB Workshop

arxiv: v2 [cs.ds] 4 Oct 2016

Facility Location-Routing-Scheduling Problem: LRS

CADERNOS DO LOGIS. Volume 2017, Number 6. Comparative Analysis of Capacitated Arc Routing Formulations for Branch-Cut-and-Price Algorithms

Research Article Exact Algorithm for the Capacitated Team Orienteering Problem with Time Windows

Computational Complexity CSC Professor: Tom Altman. Capacitated Problem

Building Ride-sharing and Routing Engine for Autonomous Vehicles: A State-space-time Network Modeling Approach

Improving on the initial solution heuristic for the Vehicle Routing Problem with multiple constraints

A branch-and-price algorithm for the multi-depot heterogeneous-fleet pickup and delivery problem with soft time windows

Vehicle Routing Heuristic Methods

A sequential insertion heuristic for the initial solution to a constrained vehicle routing problem

DETERMINISTIC OPERATIONS RESEARCH

Modeling and Solving Location Routing and Scheduling Problems

Solving the Capacitated Vehicle Routing Problem and the Split Delivery Using GRASP Metaheuristic

Branch-and-Cut and GRASP with Hybrid Local Search for the Multi-Level Capacitated Minimum Spanning Tree Problem

Shortest Path Based Column Generation on Large Networks with Many Resource Constraints

A Guided Cooperative Search for the Vehicle Routing Problem with Time Windows

Adjusted Clustering Clarke-Wright Saving Algorithm for Two Depots-N Vehicles

A Firework Algorithm for Solving Capacitated Vehicle Routing Problem

Multi-attribute vehicle routing : unified metaheuristics and timing sub-problems. Thibaut Vidal

Primal Heuristics for Branch-and-Price: the assets of diving methods

Primal Heuristics for Branch-and-Price

A Branch-and-Price Algorithm for Combined Location and Routing Problems Under Capacity Restrictions

A Path Relinking Algorithm for a Multi-Depot Periodic Vehicle Routing Problem

A Branch-and-Cut Algorithm for the Partition Coloring Problem

6 ROUTING PROBLEMS VEHICLE ROUTING PROBLEMS. Vehicle Routing Problem, VRP:

A Column Generation Framework for Berth Scheduling at Port Terminals

Branch-and-Price-and-Cut for the Vehicle Routing and Truck Driver Scheduling Problem

A Recovery Algorithm for a Disrupted Airline Schedule

Branch-and-bound: an example

Bin Packing with Conflicts: a Generic Branch-and-Price Algorithm

Open Vehicle Routing Problem Optimization under Realistic Assumptions

to the Traveling Salesman Problem 1 Susanne Timsj Applied Optimization and Modeling Group (TOM) Department of Mathematics and Physics

Christian H. Christiansen & Jens Lysgaard. A Column Generation Approach to the Capacitated Vehicle Routing Problem with Stochastic Demands

A robust enhancement to the Clarke-Wright savings algorithm

LAGRANGEAN DUALITY APPLIED ON VEHICLE ROUTING WITH TIME WINDOWS EXPERIMENTAL RESULTS. Brian Kallehauge Jesper Larsen Oli B.G. Madsen TECHNICAL REPORT

Crew Scheduling Problem: A Column Generation Approach Improved by a Genetic Algorithm. Santos and Mateus (2007)

Two-stage column generation

In the classical vehicle-routing problem (VRP) the objective is to service some geographically scattered customers

Solving small VRPTWs with Constraint Programming Based Column Generation

Exact Solution Methods for the Multi-Vehicle Multi-Period Vehicle Routing Problem with Due Dates

Applying Particle Swarm Optimization for Solving Team Orienteering Problem with Time Windows

An Algorithm for a 3-Level Location-Routing Problem

A hybrid Evolutionary Algorithm for the Dynamic Resource Constrained Task Scheduling Problem

A Robust Approach to the Capacitated Vehicle Routing Problem with Uncertain Costs

56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998

A Location Model for Dynamic Vehicle Routing Problems

Manpower Planning: Task Scheduling. Anders Høeg Dohn

A Hybrid Genetic Algorithm for Multi- Depot and Periodic Vehicle Routing Problems

An Exact Algorithm for the Inventory Routing Problem with Logistic Ratio

A Path Relinking Algorithm for a Multi-Depot Periodic Vehicle Routing Problem

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling

Randomized Adaptive Spatial Decoupling For Large-Scale Vehicle Routing with Time Windows

Algorithms for the Bin Packing Problem with Conflicts

Improved K-Means Algorithm for Capacitated Clustering Problem

Robust Branch-and-Cut-and-Price for the Capacitated Vehicle Routing Problem

Decision Diagrams for Solving Traveling Salesman Problems with Pickup and Delivery in Real Time

Empirical Analysis of Two Different Metaheuristics for Real-World Vehicle Routing Problems

Construction Heuristics and Local Search Methods for VRP/VRPTW

Heuristic and exact algorithms for vehicle routing problems

The Split Delivery Vehicle Routing Problem with Time Windows and Customer Inconvenience Constraints

Assignment 3b: The traveling salesman problem

COLUMN GENERATION BASED HEURISTIC FOR THE GENERALIZED ASSIGNMENT PROBLEM

Hybrid ant colony optimization algorithm for two echelon vehicle routing problem

A Recovery Algorithm for a Disrupted Airline Schedule

2 Vehicle Routing. 2.1 Introduction

Multi-Objective Vehicle Routing Problems with Time Windows: a Vector Evaluated Artificial Bee Colony Approach

Evolutionary Algorithms for Vehicle Routing

Outline. Construction Heuristics for CVRP. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING

Research Article Single-Commodity Vehicle Routing Problem with Pickup and Delivery Service

Time-Window Relaxations in Vehicle Routing Heuristics

The Size Robust Multiple Knapsack Problem

Effective probabilistic stopping rules for randomized metaheuristics: GRASP implementations

Integer Programming and Network Modeis

APPLIED OPTIMIZATION WITH MATLAB PROGRAMMING

Vladimir Dimitrijevic, Milan Milosavljevic, Milan Markovic. as: nd a minimum cost cycle which includes exactly one vertex from each

Transcription:

1 / 23 A Bucket Graph Based Labelling Algorithm for the Resource Constrained Shortest Path Problem with Applications to Vehicle Routing Ruslan Sadykov 1,2 Artur Pessoa 3 Eduardo Uchoa 3 1 Inria Bordeaux, France 2 Université Bordeaux, France 3 Universidade Federal Fluminense, Brazil IFORS 2017 Quebec city, Canada, July 20

Computatonal results for classic VRPTW instances 14 hardest [Solomon, 1987] instances with 100 customers 60 [Gehring and Homberger, 2002] instances with 200 customers Algorithm Solved 65 instances solved by both Aver. time (m) Geom. time (m) [Pecin et al., 2017a] 65/74 217.8 32.6 Our BCP algorithm 70/74 72.5 8.3 Number of instances 60 40 20 0 [Pecin et al., 2017a] Our BCP algorithm 1 2 5 10 20 50 for which algorithm is at most X times slower than the best Pecin, D., Contardo, C., Desaulniers, G., and Uchoa, E. (2017). New enhancements for the exact solution of the vehicle routing problem with time windows. INFORMS Journal on Computing, 29(3):489 502. 2 / 23

3 / 23 Branch-Cut-and-Price algorithm components contributing to improvement over [Pecin et al., 2017a] New bucket graph based labelling algorithm for the Resource Constrained Shortest Path pricing problem Automatic dual price smoothing stabilization [Pessoa et al., 2017] Dynamic ng-path relaxation [Roberti and Mingozzi, 2014] Pessoa, A., Sadykov, R., Uchoa, E., and Vanderbeck, F. (2017). Automation and combination of linear-programming based stabilization techniques in column generation. INFORMS Journal on Computing, forthcoming. Roberti, R. and Mingozzi, A. (2014). Dynamic ng-path relaxation for the delivery man problem. Transportation Science, 48(3):413 424.

4 / 23 Structure of RCSPP instances we want to solve A complete directed graph G = (V, A). Unrestricted in sign reduced costs c a on arcs a A Two global (capacity and time) resources with non-negative non-integer resource consumption d a,1, d a,2 on arcs a A Resource consumption bounds [0, W ] and [l v, u v ] on vertices v V Up to 500 1000 of (more or less) local binary or (small) integer resources We want to Find a walk from the sources to the sink minimizing the total reduced cost respecting the resource constrains, as well as many other (up to 1000) different near-optimal feasible walks

5 / 23 Literature : standalone algorithms for the RCSPP Test instances with an acyclic sparse graph with global, but few resources, aim to find one optimal solution Heavy pre-processing and Lagrangian relaxation [Dumitrescu and Boland, 2003] Transformation to the shortest path problem [Zhu and Wilhelm, 2012] or the k-shortest paths problem [Santos et al., 2007] Pulse Algorithm (limited dominance and depth-first search) [Lozano and Medaglia, 2013] the best standalone algorithm fails completely for our hard instances [Pecin, 2014] Lozano, L. and Medaglia, A. L. (2013). On an exact method for the constrained shortest path problem. Computers & Operations Research, 40(1):378 384.

Basic labelling algorithm L = v V L v set of non-extended labels E = v V E v set of extended labels L {(source, 0, 0, 0, {source})}, E while L do pick a label L in L, v L sink L L \ {L}, E E {L} foreach v V \ v L do extend L to L along arc (v L, v) if L is feasible and not dominated by a label in L v E v then L L {L } remove from L v E v all labels dominated by L return a label in L sink with the smallest reduced cost Label-setting if labels are picked in a total order lex such that L extends to L L lex L, L dominates L L lex L Otherwise, it is label-correcting (for example, cycling over L v ) 6 / 23

7 / 23 Literature: embedded algorithms for the RCSPP All approaches are variants of the labelling algorithm Bi-directional search [Righini and Salani, 2006] Enumeration of elementary routes using completion bounds from the ng-path relaxation [Baldacci et al., 2011] Completion bounds from dynamic state-space relaxation of the resources from non-robust cuts [Contardo and Martinelli, 2014] Limited dominance checks by discretisation of the resource consumption [Pecin et al., 2017b]. Righini, G. and Salani, M. (2006). Symmetry helps: Bounded bi-directional dynamic programming for the elementary shortest path problem with resource constraints. Discrete Optimization, 3(3):255 273. Pecin, D., Pessoa, A., Poggi, M., and Uchoa, E. (2017). Improved branch-cut-and-price for capacitated vehicle routing. Mathematical Programming Computation, 9(1):61 100.

8 / 23 Our approach to improve the labelling algorithm To our knowledge, no (published) attempts to reduce the number of dominance checks while keeping the dominance strength in a labelling algorithm

9 / 23 Original graph v = 1 v = 3 source sink v = 2 v = 4

10 / 23 The bucket graph (with two main resources) v = 1 v = 3 source sink u 2 v = 2 v = 4 time window l 2 0 capacity W

10 / 23 The bucket graph (with two main resources) bucket steps d 1 v = 1 v = 3 d 2 source sink u 2 v = 2 v = 4 time window l 2 0 capacity W

10 / 23 The bucket graph (with two main resources) bucket steps d 1 v = 1 v = 3 d 2 source sink u 2 v = 2 v = 4 time window l 2 0 capacity W

10 / 23 The bucket graph (with two main resources) bucket steps d 1 v = 1 v = 3 d 2 source sink u 2 v = 2 v = 4 time window l 2 0 capacity W

10 / 23 The bucket graph (with two main resources) bucket steps d 1 v = 1 v = 3 d 2 source sink u 2 v = 2 v = 4 time window l 2 0 capacity W

10 / 23 The bucket graph (with two main resources) bucket steps d 1 v = 1 v = 3 d 2 source A strongly connected component sink u 2 v = 2 v = 4 time window l 2 0 capacity W

11 / 23 Extension order of labels Extend labels according to a topological order of strongly connected components in the bucket graph. Impact of bucket steps Large enough bucket steps produce the standard label-correcting algorithm One bucket per vertex Bucket graph reduces to the original graph One strongly connected component (for our instances) Small enough bucket steps produce a label-setting algorithm Acyclic bucket graph Guarantee that only non-dominated labels are extended

12 / 23 Optimization of dominance checks Practical observation Higher dominance probability between labels with similar global resource consumption After the label s creation check dominance with labels in the same bucket only! Before the label s extension check dominance with labels in other buckets using bounds

13 / 23 Using bounds to reduce dominance checks between buckets b c best b minimum reduced cost of labels in buckets b b (area )

13 / 23 Using bounds to reduce dominance checks between buckets b c best b minimum reduced cost of labels in buckets b b (area ) Label L may be dominated in buckets b b only if c L c best b (only buckets in area are tested)

14 / 23 Bi-directional variant Pick a global resource (f.e. capacity) and a threshold w In the forward labelling, keep only labels L with w L w In the backward labelling, keep only labels L with w L > w Perform the concatenation step: a forward label L and a backward label L can be concatenated along arc (v L, v Concatenation is accelerated using bounds c best b : if L) c L + c (v L,v b b ) + cbest UB( c ) then we can skip backward buckets b b while searching for a concatenation pair for label L Exploiting symmetry: if all time windows are the same, the backward labelling is equivalent to the forward, we use only forward buckets and labels in concatenation

15 / 23 Computational impact of buckets steps Same VRPTW instances A full-blown state-of-the-art column-and-cut generation at the root (stop when the target lower bound is reached) We test the parameter θ the maximum number of buckets per vertex: d 1 = W θ, d2 = u depot l depot θ (two global resources) d = u depot l depot θ (one global resource) θ = 1 standard label-correcting algorithm

Computational impact of buckets steps Instance R203 Instance RC1_2_5 Instance RC204 10 20 15 10 5 10 5 1 θ =1 10 100 1000 5 1 1 10 100 1000 1 1 10 100 1000 5 4 3 Average 2 1 θ =1 10 100 1000 20 15 10 5 1 Maximum 1 10 100 1000 Pricing time ratio to best θ Total time ratio to best θ 16 / 23

17 / 23 Dynamic adjustment of bucket steps Start with θ = 25 Multiply θ by 2 each time this ratio is above a threshold # of dominance checks inside buckets # of non-dominated labels 80 Y = number of instances for which 60 40 20 0 best static θ for each instance best fixed static θ = 200 dynamic adjustment of θ 1 1.5 2 2.5 Variant is at most X times slower than the best

Fixing of bucket arcs by reduced cost A sufficient condition to fix a bucket arc ( b, (v 1, v 2 ), No pair of labels ( L, b producing a path by concatenation along arc (v 1, v 2 ) with reduced cost smaller than the current primal-dual gap. L), v L = v1, v L = v2, b L b, v 2 L b, b) b sink time v 1 bucket arc source b capacity 18 / 23

Computational impact of fixing bucket arcs by reduced cost (the root node only) Y = number of instances for which fixing of bucket arcs fixing of original arcs 1 1.2 1.4 1.6 1.8 2 Variant is at most X times slower than the best 19 / 23

20 / 23 Computatonal results for the MDVRP instances Classic distance constrained multi-depot instances by [Cordeau et al., 1997] with up to 288 customers. Algorithm Solved 10 inst. solved by both Aver. time Geom. time [Contardo and Martinelli, 2014] 10/13 269.8 8.4 Our algorithm 22/22 2.5 0.5 One improved BKS (instance pr10 ) over [Vidal et al., 2012] Contardo, C. and Martinelli, R. (2014). A new exact algorithm for the multi-depot vehicle routing problem under capacity and route length constraints. Discrete Optimization, 12:129 146. Vidal, T., Crainic, T. G., Gendreau, M., Lahrichi, N., and Rei, W. (2012). A hybrid genetic algorithm for multidepot and periodic vehicle routing problems. Operations Research, 60(3):611 624.

21 / 23 Computatonal results for the MDVRP instances: performance profile Y = number of instances 10 5 0 1 3 10 30 100 300 1000 for which algorithm is at most X times slower than the best [Contardo and Martinelli, 2014] Our algorithm

22 / 23 Computatonal results for other problems First exact algorithm for these vehicle routing variants DCVRP Classic distance-constrained CVRP instances [Christofides et al., 1979] SDVRP Standard distance-constrained site-dependent instances [Cordeau and Laporte, 2001] HFVRP Nightmare heterogeneous fleet VRP instances (very large capacities) [Duhamel et al., 2011] Class Solved Largest Smallest Geomean Improv. solved n unsolved n time BKS DCVRP 6/7 200 120 16m44s 0/7 SDVRP 7/10 216 240 11m26s 4/10 HFVRP 56/96 186 107 23m07s 43/96 Christofides, N., Mingozzi, A., and Toth, P. (1979). Combinatorial Optimization, chapter The vehicle routing problem, p. 315 338. Wiley, Chichester.

23 / 23 Conclusions No universally best algorithm for the RCSPP, very different instances are considered in the literature Our approach is good for RCSPP instances coming from state-of-the-art Branch-Cut-and-Price algorithms for vehicle routing Bucket steps size is a critical instance-dependent parameter for the labelling algorithm Fixing bucket arcs by reduced costs is possible and may be used by default (does not hurt) Significant computational improvement over the state-of-the-art for exact solution of important vehicle routing problems

24 / 23 References I Baldacci, R., Mingozzi, A., and Roberti, R. (2011). New route relaxation and pricing strategies for the vehicle routing problem. Operations Research, 59(5):1269 1283. Christofides, N., Mingozzi, A., and Toth, P. (1979). Combinatorial Optimization, chapter The vehicle routing problem, pages 315 338. Wiley, Chichester. Contardo, C. and Martinelli, R. (2014). A new exact algorithm for the multi-depot vehicle routing problem under capacity and route length constraints. Discrete Optimization, 12:129 146. Cordeau, J.-F., Gendreau, M., and Laporte, G. (1997). A tabu search heuristic for periodic and multi-depot vehicle routing problems. Networks, 30(2):105 119.

25 / 23 References II Cordeau, J.-F. and Laporte, G. (2001). A tabu search algorithm for the site dependent vehicle routing problem with time windows. INFOR: Information Systems and Operational Research, 39(3):292 298. Duhamel, C., Lacomme, P., and Prodhon, C. (2011). Efficient frameworks for greedy split and new depth first search split procedures for routing problems. Computers and Operations Research, 38(4):723 739. Dumitrescu, I. and Boland, N. (2003). Improved preprocessing, labeling and scaling algorithms for the weight-constrained shortest path problem. Networks, 42(3):135 153. Gehring, H. and Homberger, J. (2002). Parallelization of a two-phase metaheuristic for routing problems with time windows. Journal of Heuristics, 8(3):251 276.

References III Lozano, L. and Medaglia, A. L. (2013). On an exact method for the constrained shortest path problem. Computers & Operations Research, 40(1):378 384. Pecin, D. (2014). Improved exact algorithms for the vehicle routing problem. GERAD seminar presentation. Pecin, D., Contardo, C., Desaulniers, G., and Uchoa, E. (2017a). New enhancements for the exact solution of the vehicle routing problem with time windows. INFORMS Journal on Computing, 29(3):489 502. Pecin, D., Pessoa, A., Poggi, M., and Uchoa, E. (2017b). Improved branch-cut-and-price for capacitated vehicle routing. Mathematical Programming Computation, 9(1):61 100. 26 / 23

References IV Pessoa, A., Sadykov, R., Uchoa, E., and Vanderbeck, F. (2017). Automation and combination of linear-programming based stabilization techniques in column generation. INFORMS Journal on Computing, accepted. Righini, G. and Salani, M. (2006). Symmetry helps: Bounded bi-directional dynamic programming for the elementary shortest path problem with resource constraints. Discrete Optimization, 3(3):255 273. Roberti, R. and Mingozzi, A. (2014). Dynamic ng-path relaxation for the delivery man problem. Transportation Science, 48(3):413 424. Santos, L., ao Coutinho-Rodrigues, J., and Current, J. R. (2007). An improved solution algorithm for the constrained shortest path problem. Transportation Research Part B: Methodological, 41(7):756 771. 27 / 23

References V Solomon, M. M. (1987). Algorithms for the vehicle routing and scheduling problems with time window constraints. Operations Research, 35(2):254 265. Vidal, T., Crainic, T. G., Gendreau, M., Lahrichi, N., and Rei, W. (2012). A hybrid genetic algorithm for multidepot and periodic vehicle routing problems. Operations Research, 60(3):611 624. Zhu, X. and Wilhelm, W. E. (2012). A three-stage approach for the resource-constrained shortest path as a sub-problem in column generation. Computers & Operations Research, 39(2):164 178. 28 / 23