| Literature DB >> 35535187 |
Abstract
In order to study multimedia urban road path optimization based on genetic algorithm, a dynamic path optimization based on genetic algorithm is proposed. Firstly, for the current situation of traffic congestion, time constraints are strictly considered based on the traditional hard time window logistics distribution vehicle scheduling problem model. Then, the mathematical model is established, and the optimal solution is solved by the combination of decomposition coordination algorithm and genetic algorithm. We divide multiple customers into different customer groups and determine the service object order of each express car in each customer group, so as to obtain the most valuable scheduling scheme. Finally, in the process of solving the model, the relevant and reliable distribution basis for enterprise distribution is collected, including customer geographical coordinates, demand, delivery time window, unit cost required for loading and unloading, loading and unloading time, and penalty cost to be borne by distribution enterprises after early arrival and late arrival. Using the improved genetic algorithm, the optimal solution of each objective function is actually obtained in about 140 generations, which is faster than that before the improvement. Using the genetic algorithm based on sequence coding, a hybrid genetic algorithm is constructed to solve the model problem. Through the comparative analysis of experimental data, it is known that the algorithm has good performance, is a feasible algorithm to solve the VSP problem with time window, and can quickly obtain the vehicle routing scheduling scheme with reference value.Entities:
Mesh:
Year: 2022 PMID: 35535187 PMCID: PMC9078773 DOI: 10.1155/2022/7898871
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Optimizing urban road organization.
Figure 2Working principle block diagram of basic genetic algorithm.
Customer demand.
| Region | Customer number | Demand (kg) | Earliest arrival time | Best earliest service time | Best latest service time | Latest arrival time |
|---|---|---|---|---|---|---|
| A | 1 | 200 | 10:30 | 11:00 | 12:20 | 13:30 |
| 2 | 300 | 8:30 | 9:00 | 9:30 | 10:00 | |
| 3 | 80 | 11:00 | 11:30 | 12:00 | 12:30 | |
|
| ||||||
| B | 1 | 450 | 9:30 | 10:00 | 10:30 | 11:00 |
| 2 | 700 | 8:00 | 8:30 | 9:00 | 9:30 | |
| 3 | 350 | 12:30 | 13:00 | 13:30 | 14:00 | |
|
| ||||||
| C | 1 | 230 | 9:30 | 10:00 | 10:30 | 11:00 |
| 2 | 360 | 14:00 | 14:30 | 15:00 | 15:30 | |
| 3 | 460 | 7:00 | 7:30 | 8:00 | 8:30 | |
|
| ||||||
| D | 1 | 920 | 9:00 | 9:30 | 10:00 | 10:30 |
| 2 | 70 | 7:30 | 8:00 | 8:30 | 9:00 | |
| 3 | 150 | 12:00 | 12:30 | 13:00 | 13:30 | |
Distance between regions and road conditions.
| A | B | C | D | E | F | G | H |
|---|---|---|---|---|---|---|---|
| A | 60 | 44 | |||||
| B | 65 | 110 | 64 | 86 | 52 | ||
| C | 110 | 56 | |||||
| D | 60 | 52 | |||||
| E | 52 | 64 | 40 | 20 | |||
| F | 52 | 110 | |||||
| G | 40 | 64 | 58 | ||||
| H | 62 | 76 | 74 |
Figure 3Road traffic situation in an area.
Calculation results of hybrid genetic algorithm for example.
| Calculation order | Number of vehicles used | Total delivery time (h) | The number of iterations to search the final solution for the first time | Calculation time (s) |
|---|---|---|---|---|
| 1 | 4 | 50.3 | 97 | 2.30 |
| 2 | 4 | 51.23 | 132 | 2.30 |
| 3 | 4 | 47.56 | 185 | 2.30 |
| 4 | 4 | 46.19 | 167 | 2.30 |
| 5 | 4 | 49.58 | 121 | 2.30 |
| 6 | 4 | 42.53 | 149 | 2.30 |
| 7 | 4 | 44.69 | 163 | 2.30 |
| 8 | 4 | 42.98 | 139 | 2.30 |
| 9 | 4 | 48.63 | 175 | 2.30 |
| 10 | 4 | 47.03 | 143 | 2.30 |
Comparison of calculation results of example genetic algorithm and hybrid genetic algorithm.
| Hybrid genetic algorithm | Improved genetic algorithm | Quantum ant colony algorithm | |
|---|---|---|---|
| Average delivery time (h) | 46.35 | 47.68 | 50.01 |
| Standard deviation of solution | 4.31 | 4.71 | 4.82 |
| The final solution is found for the first time | 147 | 153 | 161 |
| Average calculation time (s) | 2.16 | 2.36 | 2.57 |
Figure 4Variation law of population mean and optimal solution with iteration times in experiment 2.