a bucket graph based labelling algorithm for the resource
play

A Bucket Graph Based Labelling Algorithm for the Resource - PowerPoint PPT Presentation

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 2 3 Inria Bordeaux, Universit Bordeaux, Universidade


  1. 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 2 3 Inria Bordeaux, Université Bordeaux, Universidade Federal France France Fluminense, Brazil IFORS 2017 Quebec city, Canada, July 20 1 / 23

  2. Computatonal results for classic VRPTW instances 14 hardest [Solomon, 1987] instances with 100 customers 60 [Gehring and Homberger, 2002] instances with 200 customers 65 instances solved by both Algorithm Solved 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 [Pecin et al., 2017a] 20 Our BCP algorithm 0 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. 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. 3 / 23

  4. 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 4 / 23

  5. 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. 5 / 23

  6. 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. 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. 7 / 23

  8. 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 8 / 23

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

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

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

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

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

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

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

  16. 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 11 / 23

  17. 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 12 / 23

  18. Using bounds to reduce dominance checks between buckets b — minimum reduced cost of labels in buckets b ′ � b (area ¯ c best ) b 13 / 23

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

  20. Bi-directional variant ◮ Pick a global resource (f.e. capacity) and a threshold w ∗ L with w � L ≤ w ∗ ◮ In the forward labelling, keep only labels � � L > w ∗ � ◮ In the backward labelling, keep only labels L with w ◮ Perform the concatenation step: a forward label � L and a L can be concatenated along arc ( v � � � L , v L ) backward label ◮ Concatenation is accelerated using bounds ¯ c best : if � b L + ¯ � c best ¯ b ) + ¯ ≥ UB (¯ c ∗ ) c c ( v � � L , v b � b ′ � � � then we can skip backward buckets 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 14 / 23

  21. 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 2 = u depot − l depot d 1 = W ˜ ˜ √ √ , (two global resources) θ θ d = u depot − l depot ˜ (one global resource) θ ◮ θ = 1 — standard label-correcting algorithm 15 / 23

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

  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 best static θ for each instance best fixed static θ = 200 dynamic adjustment of θ 0 1 1 . 5 2 2 . 5 Variant is at most X times slower than the best 17 / 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend