| Literature DB >> 26343655 |
Sheng-Hua Xu1, Ji-Ping Liu2, Fu-Hao Zhang3, Liang Wang4, Li-Jian Sun5.
Abstract
A combination of genetic algorithm and particle swarm optimization (PSO) for vehicle routing problems with time windows (VRPTW) is proposed in this paper. The improvements of the proposed algorithm include: using the particle real number encoding method to decode the route to alleviate the computation burden, applying a linear decreasing function based on the number of the iterations to provide balance between global and local exploration abilities, and integrating with the crossover operator of genetic algorithm to avoid the premature convergence and the local minimum. The experimental results show that the proposed algorithm is not only more efficient and competitive with other published results but can also obtain more optimal solutions for solving the VRPTW issue. One new well-known solution for this benchmark problem is also outlined in the following.Entities:
Keywords: VRPTW; genetic; particle swarm optimization; vehicle routing problem
Year: 2015 PMID: 26343655 PMCID: PMC4610459 DOI: 10.3390/s150921033
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Main approaches for solving VRPs.
| Algorithms | Remarks | ||
|---|---|---|---|
| The exact algorithms | Branch and bound method [ | The Efficiency depends on the depth of the branch and bound tree. | |
| Set segmentation method [ | Hard to determine the minimum cost for each solutions. | ||
| Dynamic programming method [ | Effective to limited-size problems, hard to consider the concrete demands such as time windows. | ||
| Integer programming algorithm [ | High precision, time consuming, complex. | ||
| The heuristic algorithms | The traditional heuristic algorithms | Savings algorithm [ | Computes rapidly, hard to get the optimal solution. |
| Sweep algorithm [ | Suitable to the same number of customers for each route with few routes. | ||
| Two-phase algorithm [ | Hard to get the optimal solution. | ||
| The meta-heuristic algorithms | Tabu search algorithm [ | Has the good ability of local search, but is time consuming, and depends on the initial solution. | |
| Genetic algorithm [ | Has the good ability of global search, computes rapidly, hard to obtain the global optimal solution. | ||
| Iterated local search [ | Has the strength of fast convergence rate and low computational complexity. | ||
| Simulated annealing algorithm [ | Slow convergence rates, carefully chosen tunable parameters. | ||
| Variable neighborhood Search [ | Is suitable for large and complex optimization problems with constraints. | ||
| Ant colony algorithm [ | Has good positive feedback mechanism, but is time consuming and prone to stagnation. | ||
| Neural network algorithm [ | Computes rapidly, has slow convergence and can easily be trapped in a local optimum | ||
| Artificial bee colony algorithm [ | Achieves a fast convergence speed, is associated with the piecewise linear cost approximation. | ||
| Particle swarm optimization [ | Is robust and has fast searching speed, brings easily premature convergence. | ||
| Hybrid algorithm [ | Is simple with fast optimizing speed and less calculation. | ||
Figure 1The flow of the proposed algorithm.
The results of the total traveled distance for Solomon’s 100 customers set Problems.
| No. | Problem | Best-Known Solution | Genetic | PSO | ACO | The Proposed Algorithm | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Best | Average | Best | Average | Best | Average | Best | Average | ||||||||||||
| TD | NV | TD | NV | TD | NV | TD | NV | TD | NV | TD | NV | TD | NV | TD | NV | TD | NV | ||
| 828.94 | 10 | 828.94 | 10 | 856.26 | 10.20 | 828.94 | 10 | 842.60 | 10.10 | 828.94 | 10 | 842.60 | 10.10 | 828.94 | 10 | 842.60 | 10.10 | ||
| 828.94 | 10 | 828.94 | 10 | 828.94 | 10.00 | 828.94 | 10 | 828.94 | 10.00 | 828.94 | 10 | 857.82 | 10.10 | 828.94 | 10 | 828.94 | 10.00 | ||
| 828.06 | 10 | 828.06 | 10 | 859.88 | 10.00 | 828.06 | 10 | 828.06 | 10.00 | 828.06 | 10 | 828.06 | 10.00 | 828.06 | 10 | 828.06 | 10.00 | ||
| 824.78 | 10 | 824.78 | 10 | 824.78 | 10.00 | 824.78 | 10 | 824.78 | 10.00 | 824.78 | 10 | 849.79 | 10.10 | 824.78 | 10 | 824.78 | 10.00 | ||
| 828.94 | 10 | 828.94 | 10 | 854.25 | 10.20 | 828.94 | 10 | 866.91 | 10.30 | 828.94 | 10 | 904.88 | 10.60 | 828.94 | 10 | 841.60 | 10.10 | ||
| 828.94 | 10 | 828.94 | 10 | 851.78 | 10.10 | 828.94 | 10 | 897.46 | 10.30 | 828.94 | 10 | 943.14 | 10.50 | 828.94 | 10 | 874.62 | 10.20 | ||
| 828.94 | 10 | 828.94 | 10 | 856.47 | 10.20 | 828.94 | 10 | 842.70 | 10.10 | 828.94 | 10 | 870.23 | 10.30 | 828.94 | 10 | 842.70 | 10.10 | ||
| 828.94 | 10 | 828.94 | 10 | 865.99 | 10.00 | 828.94 | 10 | 841.29 | 10.00 | 828.94 | 10 | 853.64 | 10.00 | 828.94 | 10 | 841.29 | 10.00 | ||
| 828.94 | 10 | 828.94 | 10 | 910.27 | 10.30 | 828.94 | 10 | 856.05 | 10.10 | 828.94 | 10 | 883.16 | 10.20 | 828.94 | 10 | 828.94 | 10.00 | ||
| 591.56 | 3 | 591.56 | 3 | 602.53 | 3.30 | 591.56 | 3 | 606.18 | 3.40 | 591.56 | 3 | 609.84 | 3.50 | 591.56 | 3 | 598.87 | 3.20 | ||
| 591.56 | 3 | 591.56 | 3 | 656.01 | 3.20 | 591.56 | 3 | 623.78 | 3.10 | 591.56 | 3 | 623.78 | 3.10 | 591.56 | 3 | 591.56 | 3.00 | ||
| 591.17 | 3 | 591.17 | 3 | 606.19 | 3.00 | 591.17 | 3 | 604.69 | 3.00 | 591.17 | 3 | 618.20 | 3.00 | 591.17 | 3 | 604.69 | 3.00 | ||
| 590.60 | 3 | 590.60 | 3 | 704.28 | 3.30 | 590.60 | 3 | 666.39 | 3.20 | 590.60 | 3 | 742.17 | 3.40 | 590.60 | 3 | 628.49 | 3.10 | ||
| 588.88 | 3 | 588.88 | 3 | 619.27 | 3.30 | 588.88 | 3 | 599.01 | 3.10 | 588.88 | 3 | 609.14 | 3.20 | 588.88 | 3 | 599.01 | 3.10 | ||
| 588.49 | 3 | 588.49 | 3 | 620.28 | 3.20 | 588.49 | 3 | 604.38 | 3.10 | 588.49 | 3 | 636.17 | 3.30 | 588.49 | 3 | 588.49 | 3.00 | ||
| 588.29 | 3 | 588.29 | 3 | 610.49 | 3.00 | 588.29 | 3 | 632.69 | 3.00 | 588.29 | 3 | 621.59 | 3.00 | 588.29 | 3 | 599.39 | 3.00 | ||
| 588.32 | 3 | 588.32 | 3 | 622.73 | 3.00 | 588.32 | 3 | 599.79 | 3.00 | 588.32 | 3 | 611.26 | 3.00 | 588.32 | 3 | 599.79 | 3.00 | ||
| 1483.57 | 16 | 20 | 1645.83 | 19.50 | 20 | 1645.33 | 19.50 | 19 | 1647.29 | 19.00 | 20 | 1645.83 | 19.50 | ||||||
| 1355.93 | 14 | 18 | 1483.75 | 17.70 | 18 | 1477.95 | 17.80 | 18 | 1482.21 | 17.80 | 18 | 1477.14 | 17.80 | ||||||
| 1133.35 | 12 | 15 | 1248.88 | 14.40 | 14 | 1239.30 | 14.40 | 14 | 1247.22 | 14.30 | 14 | 1239.01 | 13.80 | ||||||
| 968.28 | 10 | 10 | 995.05 | 9.60 | 9 | 1007.30 | 9.00 | 10 | 1000.11 | 9.40 | 10 | 992.52 | 9.70 | ||||||
| 1262.53 | 12 | 15 | 1366.87 | 14.80 | 15 | 1374.14 | 14.70 | 15 | 1369.99 | 15.30 | 15 | 1366.42 | 15.00 | ||||||
| 1201.78 | 12 | 13 | 1251.48 | 12.20 | 13 | 1249.39 | 12.40 | 12 | 1252.00 | 12.00 | 13 | 1247.29 | 12.60 | ||||||
| 1051.92 | 11 | 11 | 1094.18 | 10.70 | 11 | 1094.19 | 10.50 | 11 | 1096.08 | 10.70 | 11 | 1088.49 | 10.70 | ||||||
| 948.57 | 10 | 9 | 965.42 | 9.90 | 9 | 965.10 | 9.70 | 10 | 960.92 | 9.60 | 948.57 | 10 | 955.82 | 9.60 | |||||
| 1110.40 | 12 | 13 | 1181.86 | 11.60 | 13 | 1186.15 | 11.40 | 13 | 1190.44 | 11.20 | 13 | 1164.71 | 12.40 | ||||||
| 1080.36 | 11 | 1080.36 | 11 | 1112.79 | 10.30 | 1080.36 | 11 | 1105.14 | 10.50 | 11 | 1107.72 | 10.50 | 1080.36 | 11 | 1098.14 | 10.70 | |||
| 987.80 | 10 | 12 | 1086.43 | 10.80 | 12 | 1083.13 | 11.60 | 12 | 1095.07 | 10.40 | 12 | 1069.14 | 11.60 | ||||||
| 953.63 | 10 | 9 | 995.33 | 10.80 | 953.63 | 10 | 965.03 | 10.00 | 953.63 | 10 | 987.40 | 10.60 | 10 | 968.58 | 9.90 | ||||
| 1148.48 | 9 | 1148.48 | 9 | 1208.94 | 7.70 | 9 | 1231.20 | 5.50 | 9 | 1212.51 | 7.30 | 1148.48 | 9 | 1178.39 | 8.40 | ||||
| 1049.74 | 7 | 1049.74 | 7 | 1086.62 | 5.70 | 1049.74 | 7 | 1100.68 | 5.00 | 6 | 1142.69 | 4.10 | 1049.74 | 7 | 1081.57 | 5.70 | |||
| 900.08 | 5 | 900.08 | 5 | 930.23 | 4.60 | 7 | 939.72 | 3.80 | 3 | 941.70 | 3.00 | 900.08 | 5 | 922.71 | 4.60 | ||||
| 772.33 | 4 | 4 | 828.06 | 2.40 | 772.33 | 4 | 817.42 | 2.80 | 772.33 | 4 | 823.17 | 2.80 | 772.33 | 4 | 801.47 | 3.40 | |||
| 959.74 | 4 | 6 | 982.66 | 4.50 | 6 | 980.30 | 4.80 | 6 | 989.71 | 3.60 | 6 | 977.95 | 5.10 | ||||||
| 898.91 | 5 | 898.91 | 5 | 906.06 | 3.40 | 3 | 910.24 | 3.00 | 3 | 912.29 | 3.00 | 898.91 | 5 | 903.89 | 4.00 | ||||
| 814.78 | 3 | 814.78 | 3 | 844.73 | 3.40 | 814.78 | 3 | 868.25 | 2.60 | 814.78 | 3 | 876.51 | 2.60 | 814.78 | 3 | 836.67 | 3.00 | ||
| 715.37 | 3 | 2 | 726.61 | 2.00 | 4 | 725.77 | 3.20 | 2 | 726.71 | 2.00 | 3 | 725.50 | 2.50 | ||||||
| 879.53 | 6 | 879.53 | 6 | 892.08 | 5.40 | 879.53 | 6 | 891.00 | 5.40 | 879.53 | 6 | 903.21 | 4.20 | 879.53 | 6 | 891.82 | 5.10 | ||
| 932.89 | 7 | 3 | 955.06 | 6.60 | 3 | 954.64 | 5.00 | 3 | 952.94 | 4.78 | 932.89 | 7 | 937.89 | 6.20 | |||||
| 761.10 | 4 | 2 | 892.31 | 2.30 | 2 | 889.53 | 4.40 | 5 | 867.07 | 2.90 | 4 | 824.99 | 3.90 | ||||||
| 1481.27 | 13 | 16 | 1689.57 | 14.40 | 15 | 1658.18 | 15.10 | 16 | 1687.56 | 14.40 | 15 | 1645.18 | 15.10 | ||||||
| 1395.25 | 13 | 14 | 1493.53 | 13.50 | 14 | 1497.28 | 13.60 | 13 | 1539.85 | 12.30 | 14 | 1487.10 | 13.50 | ||||||
| 1221.53 | 10 | 11 | 1263.56 | 11.00 | 11 | 1262.29 | 11.00 | 11 | 1264.17 | 11.00 | 11 | 1262.04 | 11.00 | ||||||
| 1135.48 | 10 | 1135.48 | 10 | 1135.50 | 10.00 | 1135.48 | 10 | 1135.50 | 10.00 | 1135.48 | 10 | 1135.51 | 10.00 | 1135.48 | 10 | 1135.49 | 10.00 | ||
| 1354.20 | 12 | 16 | 1601.17 | 15.40 | 16 | 1593.35 | 14.80 | 13 | 1633.29 | 13.00 | 16 | 1621.16 | 15.40 | ||||||
| 1226.62 | 11 | 13 | 1396.59 | 11.80 | 12 | 1417.25 | 11.20 | 13 | 1416.49 | 11.30 | 13 | 1392.80 | 12.30 | ||||||
| 1150.99 | 10 | 11 | 1254.98 | 12.60 | 12 | 1240.50 | 12.30 | 11 | 1258.04 | 12.80 | 12 | 1226.01 | 12.00 | ||||||
| 1076.81 | 10 | 11 | 1135.32 | 10.30 | 11 | 1127.41 | 10.90 | 11 | 1128.55 | 10.80 | 11 | 1126.40 | 10.70 | ||||||
| 1134.91 | 6 | 4 | 1391.43 | 7.20 | 4 | 1406.91 | 4.00 | 9 | 1397.23 | 6.00 | 8 | 1391.43 | 7.20 | ||||||
| 1113.53 | 8 | 4 | 1250.18 | 3.60 | 1113.53 | 8 | 1162.75 | 7.60 | 1113.53 | 8 | 1204.86 | 6.30 | 9 | 1173.34 | 7.90 | ||||
| 945.96 | 5 | 945.96 | 5 | 1034.30 | 3.40 | 945.96 | 5 | 1032.14 | 3.40 | 3 | 1052.87 | 3.00 | 945.96 | 5 | 990.67 | 4.20 | |||
| 796.11 | 4 | 3 | 798.69 | 3.20 | 3 | 799.18 | 3.60 | 3 | 799.43 | 3.80 | 3 | 798.67 | 3.20 | ||||||
| 1168.22 | 8 | 7 | 1276.08 | 6.40 | 1168.22 | 8 | 1282.01 | 4.70 | 1168.22 | 8 | 1263.14 | 6.80 | 1187.56 | 6.90 | |||||
| 1059.89 | 7 | 1059.89 | 7 | 1105.75 | 5.80 | 8 | 1139.24 | 4.00 | 1059.89 | 7 | 1135.44 | 4.00 | 7 | 1092.22 | 6.00 | ||||
| 976.40 | 7 | 6 | 1060.37 | 3.60 | 976.40 | 7 | 1011.75 | 5.70 | 6 | 1064.28 | 3.90 | 976.40 | 7 | 995.65 | 6.40 | ||||
| 785.93 | 4 | 5 | 824.93 | 3.60 | 5 | 822.41 | 4.00 | 5 | 819.64 | 4.00 | 807.27 | 4.78 | |||||||
The results of the average total traveled distance.
| Problem | Best-Known Solution | Genetic | PSO | ACO | The Proposed Algorithm | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Best | Average | Best | Average | Best | Average | Best | Average | |||
| 10.00 | 10.00 | 10.11 | 10.00 | 10.10 | 10.00 | 10.21 | 10.00 | 10.06 | ||
| 828.38 | 828.38 | 856.51 | 828.38 | 847.64 | 828.38 | 870.37 | 828.38 | 839.28 | ||
| 3.00 | 3.00 | 3.16 | 3.00 | 3.11 | 3.00 | 3.19 | 3.00 | 3.05 | ||
| 589.86 | 589.86 | 630.22 | 589.86 | 617.11 | 589.86 | 634.02 | 589.86 | 601.29 | ||
| 11.67 | 13.00 | 12.69 | 12.92 | 12.63 | 12.92 | 12.57 | 13.08 | 12.78 | ||
| 1128.18 | 1193.22 | 1202.32 | 1184.84 | 1199.35 | 1186.16 | 1203.04 | 1182.04 | 1192.76 | ||
| 5.18 | 4.73 | 4.36 | 4.91 | 4.14 | 4.55 | 3.66 | 5.36 | 4.72 | ||
| 893.90 | 912.31 | 932.12 | 915.56 | 937.16 | 914.99 | 940.77 | 899.98 | 916.62 | ||
| 11.13 | 12.75 | 12.38 | 12.63 | 12.36 | 12.25 | 11.95 | 12.75 | 12.50 | ||
| 1255.27 | 1346.01 | 1371.28 | 1342.23 | 1366.47 | 1358.73 | 1382.93 | 1351.73 | 1362.02 | ||
| 6.13 | 5.13 | 4.60 | 6.00 | 4.63 | 6.13 | 4.73 | 6.38 | 5.82 | ||
| 997.62 | 1082.85 | 1092.72 | 1038.73 | 1082.05 | 1042.13 | 1092.11 | 1034.28 | 1054.60 | ||
| 449 | 465 | 452.40 | 472 | 448.70 | 466 | 441.88 | 483 | 466.68 | ||
| 53,568.46 | 55,959.11 | 57,143.53 | 55,511.30 | 56,854.75 | 55,679.89 | 57,490.75 | 55,346.67 | 56,092.75 | ||
The results of the average CPU runtime.
| Problem | Genetic | PSO | ACO | The Proposed Algorithm |
|---|---|---|---|---|
| C1e | 98 | 85 | 111 | 62 |
| C2 | 312 | 231 | 338 | 135 |
| R1 | 112 | 81 | 124 | 60 |
| R2 | 309 | 273 | 553 | 182 |
| RC1 | 79 | 80 | 82 | 58 |
| RC2 | 297 | 257 | 333 | 149 |
The result of .
| Problem | Genetic | PSO | ACO | The Proposed Algorithm |
|---|---|---|---|---|
| C1-type | 3.39% | 2.32% | 5.07% | 1.32% |
| C2-type | 6.84% | 4.62% | 7.48% | 1.94% |
| R1-type | 6.28% | 5.98% | 6.33% | 5.36% |
| R2-type | 4.44% | 4.93% | 5.29% | 2.62% |
| RC1-type | 8.89% | 8.53% | 9.75% | 8.17% |
| RC2-type | 8.96% | 7.92% | 8.95% | 5.30% |
| All | 6.29% | 5.63% | 6.95% | 4.07% |