版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、A Memetic Algorithm for the Vehicle Routing Problem with Time Windows Jean Berger and Mohamed BarkaouiDefence Research and Development Canad 一a Valcartier, Decision Support System Section2459 Pie-XI Blvd. North, Val-Belair, PQ, Canada, G3J 1X5 email: jean.bergerdrdc-rddc.gc.ca, barkaouioricom.caAbst
2、ractSerial and parallel versions of a new memetic algorithm to address the Vehicle Routing Problem with Time Windows are presented. The underlying approach involves parallel co-evolution oftwo populations. The first population evolves individuals to minimize total traveled distancewhile the second f
3、ocuses on minimizing temporal constraint violation to generate a feasible solution. New genetic operators have been designed to incorporate key concepts emerging from recent promise techniques such as insertion heuristics, large neighborhood search and ant colony systems to further diversify and int
4、ensify the search. The parallel version of the method is based on a master- slave message-passing paradigm. The master controls the execution of the algorithm, synchronizes atomic genetic operations and handles parent selection while the slaves concurrently execute genetic operations. Results from a
5、 computational experiment show that the serial version of the proposed techniquematches or outperforms the best-known heuristic routing procedures, providing six new best-known solutions. In comparison, the method proved to be fast, cost-effective and highly competitive. Alternatively, simulation re
6、sults obtained for the parallel version show a significant improvement over the serial algorithm, matching or even improving solution quality. The parallel algorithm shows a speed-up of five in computing solution having near similar quality.1 .IntroductionVehicle routing problems are well known comb
7、inatorial considerable economic significance.The Vehicle Routing optimization Problem with problems with Time Windows(VRPTW) has8 / 8received a lot of attention in the literature recently. This is mostly due to the wide applicability of time window constraints in real-world cases. In VRPTW, customer
8、s with known demands areserviced by a homogeneous fleet of vehicles of limited capacity. Routes are ssumed to start and end at the central depot. Each customer provides a time interval during which a particular task must be completed such as loading/unloading the vehicle. It is worth noting that the
9、 time window requirement does not prevent any vehicle from arriving before the allowed start of service at a customer location. The objective is to minimize the number of tours or routes, and then for the same number of tours, to minimize the total traveled distance, such that each customer is servi
10、ced within its time window and the total load on any vehicle associated with a given route does not exceed the vehicle capacity.A variety of algorithms including exact methods and efficient heuristics have already been proposed for VRPTW. For excellent surveys on exact, heuristic and metaheuristic m
11、ethods, seeDesrosiers et al.1995, Cordeau et al.,2001 and Braysy and Gendreau, 2001a and 2001b respectively. In particular, evolutionary and genetic algorithms have been among the most suitable approaches to tackle the VRPTW, and are of particular interest to us. Genetic algorithms Holland, 1975;De
12、Jong, 1975 and Goldberg, 1989 are adaptive heuristic search methods that mimic evolution through natural selection. They work by combining selection, recombination and mutation operations. The selection pressure drives the population toward better solutions while recombination uses genes of selected
13、 parents to produce offspring that will form the next generation. Mutation is used to escape from local minima. Routing techniques based on genetic algorithms to solve VRPTW emerge from the work of Blanton and Wainwright,1993, Thangiah, 1995a and 1995b, Thangiah et al., 1995, Potvin and Bengio, 1996
14、, Berger et al., 1998, 1999, 2000 and Tan et2001.Alternatemethods using evolutionary metaheuristics have been proposed by Homberger and G1999,Gehringand Homberger, 1999 and 2001,and Braysy et al., 2000. Other recent studies on vmetaheuristicsfor VRPTW can be found in Rochat and Taillard, 1995, Taill
15、ard etal.1997, Chiang and Russell, 1997, Cordeau et al., 2001(tabu searches), Gambardella et al.,1999 (ant colony optimization),and Liu and Shen, 1999. Proposed metaheuristics so far show significant variability in performance.They often requireconsiderable computational effort and therefore fail to
16、 convincingly provide a single robust and successful technique. Recently, a new memetic or parallel hybrid genetic algorithm (PHGA) forthe VRPTW has been successfully developed Bergen Barkaoui and Braysy, 2002. Algorithms is a population-based approach for heuristic search in optimization problemsMo
17、scato, 1989. They have shown that they are orders of magnitude faster than traditional genetic algorithms for some problem domains. Basically, they combine local search heuristics with mutation and crossover operators. For this reason, some researchers have viewed them as hybrid genetic algorithms o
18、r genetic local search. Our approach is based on a new concept that combines constrained parallel co-evolution of two populations and partial temporal constraint relaxation to improve solution quality. The firspopulation evolves individuals to minimize the total traveled distance while the second fo
19、cuses on minimizing temporal constraint violation in trying to generate a feasible solution. Imposing a constant number of tours for each solution of a given population, temporal constraint relaxation allows escaping local minimawhile progressively moving toward a better solution. Populations intera
20、ct with one another whenever a new feasible solution emerges, reducing by one the number of tours imposed on future solutions. New genetic operators have been designed to maximize the number of customers served within their time intervals first, and then temporal constraint relaxation is used to ins
21、ert remaining unvisited customers. Key principles and variants emerging from recentpromising techniques are also captured to further diversify and intensify the search. As a result, even though the algorithm is more robust, efficient, stable and highly competitive, prohibitive computational cost of
22、key genetic operators and overall run-time still remain a sensitive issue to be satisfactorily addressed.The main contribution of this paper is to further improve the PHGA technique by developing an efficient parallel implementation based upon a master-slavemessage-passing paradigm(networked paralle
23、l computing) in order to significantly reduce run-time. The masterprocessing element controls the execution of the algorithm, synchronizes atomic genetic operations and handles the parent selection process while the slave processing elements concurrently executereproduction and mutation operators. C
24、urrent and new genetic operators have been designed and revisited to reduce processor starvation over each generation. The paper is outlined as follows. Section 2 introduces the basic concepts of the proposed parallel hybrid genetic algorithm. The basic principles and features of the algorithm are f
25、irst described. Details on the parallel implementation of the algorithm are then given. Section 3 presents the results of a computational experiment to assess the value of the proposed approach and reports a comparative performance analysis to alternate methods. Finally, a summary is presented in Se
26、ction 4.2. Parallel Hybrid Genetic Algorithm2.1 General DescriptionThe proposed algorithm relies upon constrained parallel co-evolution and partial constraintrelaxation.Two populations Pop, and Pope, primarily formed of non-feasible solution individuals, are evolving concurrently, each with their ow
27、n objective functions. Pop, contains at least one feasible solution and is used to minimize total traveled distance while Pope focuses on minimizing constraint violation.Constrained to a fixed number of tours over the some population, solution individualsdiffer by exactly one route across both popul
28、ations. Parallel evolution is interrupted whenever a new best feasible solution is obtained. Populations are then reinitialized and co-evolution resumed, while decreasing the number of routes associated with solution individuals by one. The number of toursimposed on solution individuals in Pop, and
29、Pope are R-,;- and R-。,; 一 1, respectively. R-,;- refersto the number of routes found in the best feasible solution obtained so far. As a new feasible solution emerges from Pope, population Pop, is replaced by Pope, R-,;- is updated and, Pope is reinitializedwith the revised number of tours (R.-。.一
30、1), using the RSS_ M mutation operator. In addition, apost-processing procedure (RC_ M) aimed at reordering customers, is applied to further improve thenew best solution. Theevolutionary process is repeated until a predefined stopping condition is met. Theproposed approach uses a steady-stategenetic
31、 algorithm thatinvolves overlapping populations. At first, new individuals are generated and added to the current population Popp. The process continues until the overlapping population outnumbers the initial population by up. Then, the up worst individuals are eliminated to maintain population size
32、 using the following individual evaluation: The proposed evaluation expression indicates that better individuals generally (but notnecessarily) include fewer routes, and smaller total traveled distance, while satisfying temporalconstraints. The general algorithm is as follows: InitializationRepeat p
33、=1Repeatevolve population Pope 一 new generation For j=1 二 n, doSelect two parents from PopeGenerate a new solution S using recombination and mutation operators associated with Pope Add S to Popeend forRemove the n, worst individuals from Pope using the evaluation function (1).P=P刊Until (all populati
34、ons Pope have been considered)if (Pops includes a new best feasible solution) theneliminate all Pop, individuals Set Pop=PopsModify Pops solutions by applying RSS_ M reduces number of routes by one.End ifApply RC_ M on the best solution customer reordering Dntil (convergence criteria or max number o
35、f generations)Feasible solutions for initial populations are first generated using a sequential insertion heuristic in which customers are inserted in random order at randomly chosen insertion positions within routes. The initialization procedure then proceeds as follows:For p=1 二 2 do revisit Pop,
36、and PopsFor j=1 二 n, doGenerate a new solution S using the EE一 M mutator (defined in Section 2.3.2)Add S in Pope End forRemove the n, worst individuals from Pope using Evczl;End forDetermine Rm;-, the minimum number of tours associated with a feasible solution in Pop, or Pops. Replicate (if needed)
37、best feasible solution (Rm;- routes) in Pop,.Replace Pop, individuals with Rm;-route solutions using the procedure RI(Rm;-).Replace Pops members with Rm;-1 route solutions using the procedure RI(Rm;-1).RI(r) is a re-initialization procedure creating an r-route solution. It first generates r one-cust
38、omer routes formed from randomly selected customers. Then, it uses the insertion procedure proposed by Liu and Shen Liu and Shen, 1999 to insert as many customers as possible without violating time window constraints. Accordingly, customer route-neighborhoods are repeatedly examined2.3 Genetic Opera
39、torsThe proposed genetic operators mostly rely on two basic principles. First, for a given number of tours, an attempt is made to construct feasible solutions with as many customer visits as possible.Second, the remaining customers are inserted into existing routes through temporal constraintrelaxat
40、ion. Constraint violation is used to restrict the total number of routes to a constant value.The proposed genetic operators incorporate some key features of the best heuristic routing techniques such as Solomons insertions heuristic Il Solomon, 1987 large neighborhood searchShaw, 1998 and the route
41、neighborhood-based two一 stage metaheuristic (RNETS) Liu andShen, 1999. Details on the recombination and mutation operators used are given in the next sections.2.3.1 RecombinationThe insertion-based IB_ X (k) recombination operator creates an offspring by combining, one at a time, k routes of parent
42、solution P, with a subset of customers, formed by nearest-neighborroutesr2in parent solution P2. The routes (ri) are selected either randomly, with a probability proportional to the relative number of customers or based on the average distance separatingconsecutive customers on the routes. A removal
43、 procedure is first carried out to remove from r, some key customers believed to be most suitably relocated within some alternate routes. More precisely, the stochastic customer removal procedure removes either randomly some customers, customers rather distant from their successors, or customers with wait
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 体育运动彩钢板安装合同模板
- 酒店厨师戒烟承诺书范文
- 医疗机构办公用品投标资料
- 酒店式农业园区租赁合同范本
- 建立清晰的人事流程计划
- 积木游戏在幼儿园学习中的应用计划
- 业务员季度工作总结范文
- 公司客服工作总结5篇
- 校园安全管理总结10篇
- DB31∕903-2015 便携式缠绕瓶定期检验与评定
- T∕ACSC 01-2022 辅助生殖医学中心建设标准(高清最新版)
- 华大基因遗传咨询认证习习题
- 部编版小学语文六年级上册期末复习课件[按单元复习]
- YY T 0466.1-2016医疗器械用于医疗器械标签、标记和提供信息的符号第1部分通用要求
- 市政工程竣工验收资料
- 糕点切片机答辩
- 《化学实验室安全与环保手册》
- 对账函格式范本
- 婚礼流程准备安排表需要彩排的
- 晋江市土地利用总体规划
- 泵站质量检查表
评论
0/150
提交评论