1 / 51

Integer Linear Programming Refining Procedures for Vehicle Routing Problems Paolo Toth DEIS, University of Bologna, Ita

Integer Linear Programming Refining Procedures for Vehicle Routing Problems Paolo Toth DEIS, University of Bologna, Italy. IASI - CNR, Roma, March 9, 2010. Outline. The Distance-Constrained Capacitated Vehicle Routing Problem (DCVRP). The Open Vehicle Routing Problem (OVRP).

jules
Télécharger la présentation

Integer Linear Programming Refining Procedures for Vehicle Routing Problems Paolo Toth DEIS, University of Bologna, Ita

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Integer Linear Programming Refining Procedures for Vehicle Routing ProblemsPaolo TothDEIS, University of Bologna, Italy.IASI - CNR, Roma, March 9, 2010

  2. Outline • The Distance-Constrained Capacitated Vehicle Routing Problem (DCVRP). • The Open Vehicle Routing Problem (OVRP). • An ILP improvement procedure for VRPs. • Computational results for OVRP. • Computational results for DCVRP. • Conclusions.

  3. Based on the papers:T., Tramontani, “An ILP Local Search for Capacitated Vehicle Routing Problems”, from The Vehicle Routing Problem: Latest Advances and New Challenges (Golden, Raghavan, Wasil, Eds.), Springer, 2008.Salari, T., Tramontani, “An ILP Improvement Procedure for the Open Vehicle Routing Problem”, Computers & Operations Research (to appear).

  4. Capacitated Vehicle Routing Problem (CVRP) Given a “depot”, a set of n “customers” (each having a positive demand), and a fleet of m identical vehicles (each having a “maximum distance” D and a “capacity” Q): Constraints: • Each customer must be visited by exactly one “route”. • Each route must start from the depot, visit a subset of customers and return to the depot. • Each vehicle can perform at most one route. • Each route must have a “global demand” not exceeding Q.

  5. Given a “depot”, a set of n “customers” (each having a positive demand), and a fleet of m identical vehicles (each having a “maximum distance” D and a “capacity” Q): Constraints: Each customer must be visited by exactly one “route”. Each route must start from the depot, visit a subset of customers and return to the depot. Each vehicle can perform at most one route. Each route must have a “global demand” not exceeding Q. Each route must have a “global cost” (distance traveled, duration) not exceeding D. Distance-Constrained Capacitated Vehicle Routing Problem (DCVRP)

  6. Objectives: Minimize the number of used vehicles as first objective, and then the global traveling cost. Minimize the global traveling cost. DCVRP is strongly NP-Hard: generalization of the Bin Packing Problem (traveling costs equal to 0) and of the Traveling Salesman Problem (m = 1). Distance-Constrained Capacitated Vehicle Routing Problem (2)

  7. n = 13, m = 3 Distance-Constrained Capacitated Vehicle Routing Problem (3) + + + + + + Depot + Customers + + + + + + +

  8. Open Vehicle Routing Problem (OVRP) A variant of the “classical” Distance-Constrained Capacitated Vehicle Routing Problem in which the vehicles are not required to return to the depot after completing their service. + + + + + Depot + + Customers + + + + Final Customers + + +

  9. Given a “depot”, a set of n “customers” (each having a positive demand), and a fleet of m identical vehicles (each having a “maximum distance” D and a “capacity” Q): Constraints: Each customer must be visited by exactly one “open route” (path). Each route must start from the depot and visit a subset of customers. Each vehicle can perform at most one route. Each route must have a “global demand” not exceedingQ. Each route must have a “global cost” (distance traveled, duration) not exceeding D. Open Vehicle Routing Problem (1)

  10. Objectives: Minimize the number of used vehicles as first objective and then the global traveling cost. Minimize the global traveling cost. OVRP is strongly NP-Hard: generalization of the Bin Packing Problem (traveling costs equal to 0) and of the Shortest Hamiltonian Path Problem (m = 1). Open Vehicle Routing Problem (2)

  11. If a directed graph is considered: OVRP is a special case of the classical DCVRP (by setting to zero the cost of each arc entering the depot). If an undirected graph is considered: DCVRP is a special case of OVRP: any DCVRP instance on n customers in a complete undirected graph can be transformed into an OVRP instance on n customers, but no transformation exists in the reverse direction (Letchford – Lysgaard - Eglese, JORS, 2007). Open Vehicle Routing Problem (3)

  12. Companies not owning a vehicle fleet: customers are served by hired vehicles which are not required to come back to the depot (Tarantilis et al., JORS 2005). Pick up and delivery applications where each vehicle starts from the depot, delivers to a set of customers and then it is required to visit the same customers in reverse order, picking up items to be back-hauled to the depot (Schrage, Networks, 1981). Planning of train services and school bus routes (Fu-Eglese-Li, JORS, 2005). Open Vehicle Routing Problem Applications

  13. OVRP Literature Exact Algorithms (no distance constraints, no empty route): - Letchford – Lysgaard – Eglese (JORS, 2007):branch-and-cut, - Pessoa – Poggi de Aragao – Uchoa (“The VRP: Latest Advances and New Challenges”, Golden, Raghavan, Wasil, eds, Springer, 2008): branch-and-cut-and-price.

  14. OVRP Literature (2) Heuristic Algorithms (distance constraints, minimize the number of routes and then the global cost): - Brandao (EJOR, 2004): tabu search heuristics, - Fu – Eglese – Li (JORS, 2005 and 2006): tabu search heuristics, - Li – Golden - Wasil (Computers & O.R., 2007): record to record travel heuristic, - Pisinger – Ropke (Computers & O.R., 2007): adaptive large neighborhood search heuristic following a destruct-and-repair paradigm, - Derigs – Reuter (JORS, 2008): tabu search heuristics, - Fleszar - Osman - Hindi (EJOR, 2009): variable neighborhood search heuristic, - Li – Tian – Leung (JORS, 2009): ant colony optimization heuristic.

  15. OVRP Literature (3) Heuristic Algorithms (no distance constraints, minimize the global cost): - Sariklis - Powell (JORS, 2000): two phase heuristic, - Tarantilis – Diakoulaki – Kiranoudis (EJOR, 2004): population based heuristic, - Tarantilis – Iannou – Kiranoudis - Prastacos (JORS, 2005): threshold accepting metaheuristic.

  16. An ILP improvement procedure for OVRP (General description of the algorithm) Given a feasible initial solution z for OVRP: 1) Selection phase: Randomly select a set F of customers. 2) Extraction phase: Extract the customers in F and build a restricted solution z(F) by short-cutting the extracted customers. Each edge in z(F) is viewed as an insertion point iwhich can allocate one or more customers in F. Denote with I the set of all the insertion points. For each restricted route, add to z(F) an insertion point(artificial arc with cost 0) connecting the last customer of the route with the depot.

  17. General description of the algorithm (2) 3) Recombination phase: For eachinsertion point iin I, generate a pool Si of sequences through the recombination of the customers in F (pool of elementary paths connecting subsets of customers in F ), by using a Column Generation Procedure. 4) Reallocation phase: Reallocate all the extracted customers to the restricted solution (through the possible insertion of a sequence of Si into insertion point i in I ) in an optimal way (i.e., by minimizing the global re-insertion cost), by solving an ILP model (Reallocation Model). The previous 4 phases are iteratively executed.

  18. Similar framework proposed for the CVRP in: • De Franceschi - Fischetti - T. (Mathematical Programming, 2006). • Presented at IASI-CNR, May 17, 2005 (Mini-Workshop in Discrete Optimization, in honor of Egon Balas). • Other heuristic algorithms based on the optimal solution of ILP models: • ... • Fischetti – Lodi (Mathematical Programming, 2004): general MIPs (“Local Branching”), • Danna – Rothberg – Le Pape (Mathematical Programming, 2005): general MIPs, • Archetti – Speranza- Savelsbergh ( Transportation Science, 2008): Split Delivery VRP, • Hewitt – Nemhauser – Savesbergh (INFORMS Journal oj Computing, 2009): Capacitated Fixed Charge Network Flow Problem. • ...

  19. Initial solution

  20. Addition of the final arcs

  21. Selection phase

  22. Extraction phase Restricted Solution

  23. Recombination phase

  24. Allocation phase 1

  25. Allocation phase 2

  26. Elimination of the final arcs

  27. Selection Criteria (choice of F) • Random-Alternate scheme: for any route, select in a random way all the customers in odd position or all the customers in even position. • Scattered scheme: each customer is selected with a probability p; this scheme allows for the removal of consecutive customers (route subsequences) • Neighborhood scheme: given a “seed” customer r, then r is selected and other customers v are selected with a probability inversely proportional to the distance of v from r (so that (p n)customers are selected on average). The seed customer is iteratively randomly chosen. Computational experiments: schemes 1) and 2) lead to strong improvements of “bad initial solutions”, scheme 3) better for “good initial solutions”.

  28. Reallocation Model Notations and definitions: - z(F): Restricted Solution obtained by extracting the customers in F from the initial solution. : set of routes in the restricted solution. I = I (z, F): set of edges in the restricted solution (set of insertion points in z(F) ). Si: subset of the sequences s which can be allocated to insertion point i (for each insertion point i in I ); Si (v): subset of Si containing customer v (for each v in F). q(s): global demand of sequence s.

  29. Reallocation Model (2) : extra cost for assigning sequence s to insertion point i. I(r): set of insertion points associated with restricted route r. and : global demand and cost, respectively, of restricted route r.

  30. Reallocation Model (3) Subject to:

  31. Recombination phase Initialization For each insertion point i I, initialize subset Si with: - the “basic” sequence extracted from i ; - the feasible singleton sequence (single customer v in F) with the minimum insertion cost; Initialize the LP Relaxation of the Reallocation Model (LRM) with the initial pool of variables corresponding to the current sequences, and solve LRM.

  32. Recombination phase:Column Generation Procedure • For each insertion point i  I, add to the pool of variables all the feasible sequences {v1, v2} (v1, v2  F ) having reduced cost less than a given threshold RCmax . • For each insertion point i  I, solve the column generation problem associated with i, adding to Si all the feasible sequences corresponding to elementary paths in F whose associated variables have a reduced cost less thanRCmax .

  33. Recombination phase:Column Generation Procedure (2) - For any insertion point i  I, the column generation problem associated with iin LRM is a “Resource Constrained Elementary Shortest Path Problem” (RCESPP), which usually arises in the Set Partitioning formulation of CVRP. - For each insertion point i  I, we solve the corresponding RCESPP through a greedy heuristic, with the aim of finding as many variables with small reduced cost as possible.

  34. Recombination phase:Column generation (Heuristic Algorithm) Given an insertion point i = (a,b) and a starting feasible path P = {a,v,b}, with vF, s.t. the insertion ofv between a and b has theminimum reduced cost. • Evaluate all the 1-1 feasible exchanges between each extracted customer and each customer vP, and select the best one (minimum reduced cost); if such an exchange leads to an improvement, perform it and repeat 1. • Evaluate the feasible insertion of each extracted customer in each edge (v1,v2)P, and select the best one. Force such an insertion even if it leads to a worsening of the current path, and repeat from Step 1). If no feasible insertion exists then stop. At any time a new path (sequence) is generated, the corresponding variable is added to the pool of variables if its reduced cost is smaller thanRCmax .

  35. Overall Improvement Procedure 1. (Initialization) Set kt := 0 and kp := 0. Take the starting solution Z0 as the incumbent solution, and initialize the current solution Zc as Zc:= Z0 . 2. (Customer selection) Build the set Fby selecting each customer with a probability p. 3. (Customer extraction) Extract the customers of F from the current solution Zc and build the corresponding restricted OVRP solution Zc(F), obtained by shortcutting the extracted customers (I = corresponding insertion point set). 4. (Reallocation) Define the sequence sets Si (i I) as previously described (column generation on LRM). Build the corresponding Reallocation Model and solve it by using a general-purpose ILP solver. Once an optimal (or near-optimal) ILP solution has been found, build the corresponding new OVRP solution and possibly update Zc and Z0 . . 5. (Termination) Set kt := kt + 1. If kt = Ktmax then Stop. 6. (Perturbation) If Zc has been improved in the last iteration, set kp := 0; otherwise set kp := kp + 1. If kp = Kpmax,“perturb” the current solution Zc and setkp := 0. In any case, repeat from Step 2.

  36. Perturbation Procedure • If the current solution is not improved after a given number Kpmax of consecutive iterations, a random perturbation is performed. • Randomly extract np customers from the current solution Zc (with np randomly generated in a given interval). • Reinsert each extracted customer, in turn, in its best feasible position different from the original one. • If a customer cannot be inserted in any currently non-empty route (due to the capacity and/or distance constraints), a new route is created to allocate the customer.

  37. 24 Benchmark instances from the literature, taken from: - Christofides – Mingozzi – T. (“Combinatorial Optimization”, Christofides – Mingozzi – T. - Sandi, eds, Wiley, 1979; instances C1-C14, n: 50 - 199); - Fisher (Operations Res., 1994; instances F11-F12, n: 71 - 134); - Li – Golden – Wasil (Computers & O.R., 2007; large instances O1-O8, n: 200 - 480). C1-C5, C11-C12, F11-F12 and O1-O8 instances have only capacity constraints; C6-C10 and C13-C14 are the same instances as C1-C5 and C11-C12, respectively, but with both capacity and distance constraints (modified for OVRP: D = 0.9 (original duration)) , and a larger number of vehicles. Computational Results for OVRP

  38. Algorithm coded in C. Test on a Pentium IV, 3.4 GHz with 1 GByte RAM. Times expressed in seconds. ILOG Cplex 10.0 as LP and ILP solver. 5 runs executed for each instance (with 5 different random number generator seeds). Parameters: RCmax = 1 (threshold for the reduced costs) , p = 0.5 (probability for a customer to be extracted), Ktmax = 5000 (max. number of main iterations), Kpmax = 50 (max. number of iterations without improvement), np randomly generated between 15 and 25 (number of customers extracted for the perturbation). Computational Results for OVRP (2)

  39. Computational Results for OVRP (3) Very good solutions (sometimes the best known solution!) considered as “Initial Solutions”. Provided by: Fu – Eglese – Li (JORS, 2005 and 2006), Pisinger – Ropke (Computers & O.R., 2007), Derigs – Reuter (JORS, 2008), Fleszar – Osman - Hindi (EJOR, 2009).

  40. Computational results on the 16 “classical” instances, starting from the solutions by Fu-Eglese-Li Provably optimal solutions. Initial solutions optimal for C1 and F11.

  41. Computational results on the 16 “classical” instances, starting from the solutions by Fu-Eglese-Li Provably optimal solutions. Final solution cost equal to the previous best known one. 3new best solutions. Initial solutions optimal for C1 and F11.

  42. Computational results on the 16 “classical” instances, starting from the best available solutions 6new best solutions(over 12). Initial solutions optimal for C1, C3, C12, F11

  43. Computational results on the 8 “large-size” instances, starting from the solutions by Derigs-Reuter (JORS, 2008) 4 new best solutions (over 8)

  44. Computational results on the 16 “classical” instances, starting from “bad quality” initial solutions Provably optimal solutions. Final solution cost equal to the previous best known one (6 over 16).

  45. Current best known solutions for OVRP 10 new best solutions (over 30 instances for which the current best known solution is not proved to be optimal).

  46. Computational Results for DCVRP 28 Benchmark instances from the literature proposed by: -Christofides – Mingozzi – T. (“Combinatorial Optimization”, Christofides – Mingozzi – T. - Sandi, eds, Wiley, 1979; instances C1-C14, n: 50 – 199, rounded integer costs); - Golden – Wasil – Kelly - Chao (“Fleet Management and Logistics”, Crainic - Laporte, eds, Kluwer, 1998; instances G1-G12, n: 241 – 484, real costs); - Vigo (Vigo web page; instance V1, n: 100, integer costs); - Taillard (Taillard web page; instance T1, n: 385, real costs). C1-C5, C11-C12, G1-G12, V1, T1 instances have only capacity constraints; C6-C10 and C13-C14 are the same instances as C1-C5 and C11-C12, respectively, but with both capacity and distance constraints (and a larger number of vehicles).

  47. Algorithm coded in C. Test on a Pentium M, 1.86 GHz with 1 GByte RAM. Times expressed in seconds. ILOG Cplex 10.0 as LP and ILP solver. Parameters: RCmax = 1 (threshold for the reduced costs) , p = 0.5 (probability for a customer to be extracted), Ktmax = 5000 (max. number of main iterations). Computational Results for DCVRP

  48. Computational Results for DCVRP Very good solutions considered as “Initial Solutions”, provided by: Taillard (Networks, 1993),, Gendreau - Hertz - Laporte (Man. Science, 1999), T. - Vigo (INFORMS Journal on Computing, 2003). Mester - Braysy (Computers & O.R., 2007). Other Best Solutions: Rochat – Taillard (Journal of Heuristics, 1995), Xu – Kelly (Transportation Science, 1996). Prins (Computers & Operations Research, 2004), Wassan (Journal of the Operational Research Society, 2006), De Franceschi - Fischetti - T. (Mathematical Programming, 2006). Pisinger –Ropke (Computers & Operations Research, 2007),

  49. 14 “classical” instances, starting from the best available solutions, Rounded integer costs Provably optimal solutions. Final solution cost equal to the previous best known one. 4new best solutions.

  50. 14 “large” instances, starting from the best available solutions, Real costs Provably optimal solutions. Final solution cost equal to the previous best known one. 7new best solutions.

More Related