Intelligent transportation management method and system
By constructing particle heterogeneity and optimizing the singularity index, and adaptively adjusting the inertia factor, the problem of the particle swarm optimization algorithm falling into a local optimum in urban express transportation is solved, achieving more accurate express delivery time management, improving transportation efficiency and quality.
Patent Information
- Application Number
- CN202411025394.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The particle swarm optimization algorithm is prone to falling into local optimal solutions in urban express transportation management, resulting in the inability to accurately obtain the optimal delivery time of express delivery vehicles.
By constructing the particle heterogeneity degree index and optimization singularity index in the iterative optimization process, combined with the optimization error degree of the particle cluster, the inertia factor is adaptively adjusted, and the particle swarm optimization algorithm is used to obtain the optimal delivery time of each express delivery vehicle.
It effectively prevents the particle swarm optimization algorithm from falling into local optimality, improves the accuracy of the delivery time of express delivery vehicles, and ensures the efficiency and quality of express transportation.
Smart Images

Figure CN118569757B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of transportation management, and in particular to an intelligent transportation management method and system. Background Art
[0002] In recent years, with the rapid growth of express delivery volume, the express logistics industry has entered a peak period of development. At present, urban express delivery faces huge challenges. Due to urban traffic congestion and excessive express delivery volume, express delivery often cannot be delivered to the delivery point on time, resulting in a decline in the quality of the express service industry. In order to improve the efficiency of express delivery and thus improve the quality of express delivery services, it is necessary to manage express delivery more effectively.
[0003] When the express delivery volume in a city is large, how to manage the express delivery time becomes one of the important tasks for efficient express delivery. At present, with the development of data processing technology, optimization algorithms are mostly used to optimize the management of urban express delivery. For example, genetic optimization algorithms and particle swarm optimization algorithms are widely used in the fields of express logistics and transportation management. However, in the process of finding the optimal solution to a variety of problems, genetic optimization algorithms often require a large number of samples to obtain a more accurate optimal solution; particle swarm optimization algorithms are prone to fall into local optimality during the optimization process, and often require reasonable determination of algorithm parameters to obtain better global optimal results. Summary of the invention
[0004] The present invention provides an intelligent transportation management method and system to solve the problem that a single inertia weight in a particle swarm optimization algorithm causes the optimization result to fall into a local optimal solution. The technical solution adopted is as follows:
[0005] In a first aspect, an embodiment of the present invention provides an intelligent transportation management method, the method comprising the following steps:
[0006] Acquire actual delivery information of the express delivery vehicle, the actual delivery information including the number of express deliveries required at the express point, the actual stay time at the express point, the average speed of transportation between adjacent express points, the waiting time for traffic lights when transporting between adjacent express points, and the actual distance when transporting between adjacent express points;
[0007] According to the actual delivery information of the express delivery vehicle, the neighbor particle set of each particle after each iteration is obtained, and the variation law index sequence of the particle swarm after each iteration is obtained according to the neighbor particle set of each particle after each iteration; according to the variation law index sequence of the particle swarm after each iteration, the particle heterogeneity degree index of the particle swarm after each iteration is obtained; according to the particle heterogeneity degree index of the particle swarm after each iteration, the optimized singular index of the particle swarm after each iteration is obtained; according to the optimization characteristics of the particles in the corresponding multidimensional optimization space in the express delivery process, the optimization error probability of each particle after each iteration is obtained; according to the optimization error probability of each particle after each iteration, the optimization deviation index of the particle swarm after each iteration is obtained; according to the optimization deviation index and optimization singular index of the particle swarm after each iteration, the cluster exploration ability index of the particle swarm after each iteration is obtained; according to the cluster exploration ability index of the particle swarm after each iteration, the inertia factor of the particle swarm after each iteration is obtained, and the optimal delivery time of each express delivery vehicle is obtained based on the inertia factor using the particle swarm optimization algorithm;
[0008] Obtain the express transportation time management plan based on the optimal delivery time of all express delivery vehicles, and manage express transportation according to the express transportation time management plan.
[0009] Preferably, the method of obtaining the neighbor particle set of each particle after each iteration according to the actual delivery information of the express delivery vehicle, and obtaining the exponential sequence of the variation rule of the particle group after each iteration according to the neighbor particle set of each particle after each iteration is:
[0010] For each particle after each iteration, the particle is taken as the target particle, and the set of the first preset parameter particles closest to the target particle is taken as the neighboring particle set of the target particle;
[0011] The iterative change law index of each particle after each iteration is obtained according to the neighbor particle set of each particle after each iteration;
[0012] The sequence composed of the iterative change law indexes of all particles after each iteration is taken as the variation law index sequence of the particle swarm after each iteration.
[0013] Preferably, the method for obtaining the iterative change law index of each particle after each iteration according to the neighbor particle set of each particle after each iteration is:
[0014] For the neighbor particle set of each particle after each iteration, each particle in the neighbor particle set is taken as a marked particle, and the Euclidean distance between the marked particle position after the current iteration and the marked particle position after the previous iteration is calculated, and the mean of the cumulative sum of the Euclidean distances on the neighbor particle set is taken as the iterative change law index of each particle after each iteration.
[0015] Preferably, the method for obtaining the particle heterogeneity index of the particle swarm after each iteration according to the exponential sequence of the variation law of the particle swarm after each iteration is:
[0016]
[0017] In the formula, represents the particle heterogeneity index of the particle swarm after the i-th iteration, represents an exponential function with a natural constant as base, Represents the coefficient of variation of all elements in the exponential sequence of the variation law after the i-th iteration, Represents the number of elements in the exponential sequence of the particle swarm’s variation law after the i-th iteration, and They respectively represent the values of the dth and (d-1)th elements in the exponential sequence of the variation law of the particle swarm after the i-th iteration.
[0018] Preferably, the method for obtaining the optimized singularity index of the particle swarm after each iteration according to the particle heterogeneity index of the particle swarm after each iteration is:
[0019]
[0020] In the formula, represents the optimized singular index of the particle swarm after the i-th iteration, represents the particle heterogeneity index of the particle swarm after the i-th iteration, Represents the number of elements in the exponential sequence of the particle swarm’s variation law after the i-th iteration, Represents the value of the dth element in the exponential sequence of the particle swarm’s variation law after the i-th iteration, is the error parameter.
[0021] Preferably, the method for obtaining the optimization error probability of each particle after each iteration according to the optimization characteristics of the particles in the corresponding multidimensional optimization space during the express delivery process is:
[0022]
[0023] In the formula, represents the optimization error probability of the jth particle after the i-th iteration, represents the Euclidean distance function, represents the current position of the jth particle after the i-th iteration, represents the historical individual optimal position of the jth particle after the i-th iteration, represents the historical global optimal position after the i-th iteration, is the error parameter.
[0024] Preferably, the method for obtaining the optimization deviation index of the particle swarm after each iteration according to the optimization error probability of each particle after each iteration is:
[0025]
[0026] In the formula, represents the optimization deviation index of the particle swarm after the i-th iteration, represents the number of particles in the particle swarm, represents an exponential function with a natural constant as base, represents the mean of the optimization error probability of all particles after the i-th iteration, represents the optimization error probability of the jth particle after the i-th iteration.
[0027] Preferably, the method for obtaining the cluster exploration capability index of the particle swarm after each iteration according to the optimized deviation index and optimized singular index of the particle swarm after each iteration is:
[0028]
[0029] In the formula, represents the cluster exploration capability index of the particle swarm after the i-th iteration, represents the optimized singular index of the particle swarm after the i-th iteration, represents an exponential function with a natural constant as base, Represents the optimization deviation index of the particle swarm after the i-th iteration.
[0030] Preferably, the method of obtaining the inertia factor of the particle swarm after each iteration according to the cluster exploration capability index of the particle swarm after each iteration, and obtaining the optimal delivery time of each express delivery vehicle based on the inertia factor using the particle swarm optimization algorithm is:
[0031]
[0032] In the formula, represents the inertia factor of the particle swarm after the i-th iteration, represents the minimum value of the inertia factor of the particle swarm optimization algorithm, represents the adjustment parameter of the inertia factor of the particle swarm optimization algorithm, Represents the cluster exploration ability index of the particle swarm after the i-th iteration;
[0033] A particle swarm optimization algorithm is used to determine the optimal delivery time of each express delivery vehicle based on the inertia factor.
[0034] In a second aspect, an embodiment of the present invention further provides an intelligent transportation management system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned methods when executing the computer program.
[0035] The beneficial effect of the present invention is that the present invention constructs a particle heterogeneity index and an optimization singularity index in the iterative optimization process according to the abnormal conditions that occur during the particle iteration process, which are used to measure the abnormal phenomenon of the particle cluster in finding the global optimum, and at the same time, the cluster exploration capability index is constructed in combination with the error degree of the particles in the particle cluster in finding the optimum, and the particle's ability to find the optimum is measured. The inertia factor is obtained according to the cluster exploration capability index, and the particle swarm optimization algorithm is used to obtain the optimal delivery time based on the inertia factor. The beneficial effect is that the abnormal phenomenon in the particle search for the optimum is considered, and at the same time, the optimization direction error in the particle search for the optimum is combined with the adaptive inertia factor, so that the particle cluster in the particle swarm optimization algorithm can quickly get rid of the local optimum and find the global optimal solution, and more accurately obtain the optimal delivery time of the express delivery vehicle during delivery. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 A schematic diagram of a flow chart of an intelligent transportation management method provided by an embodiment of the present invention;
[0038] Figure 2 A specific implementation flow chart of an intelligent transportation management method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] See also Figure 1 , which shows a flow chart of an intelligent transportation management method provided by an embodiment of the present invention, the method comprising the following steps:
[0041] Step S001, obtaining relevant data of the express delivery vehicle when delivering to the express delivery point, obtaining a data sequence according to the relevant data of the express delivery vehicle when delivering to the express delivery point, and using the data sequence as particles participating in the optimization in the particle swarm optimization algorithm.
[0042] Due to different traffic jams on different roads, express delivery is often delayed. Different geographical locations have different population densities. For example, in places with a high population density, there are often more express deliveries to be delivered. Due to the dense population and the large number of vehicles, traffic jams are prone to occur, which often requires a long delivery time, resulting in express delivery delays. Therefore, for different express delivery points, it is often necessary to specifically adjust the actual delivery time of the express delivery vehicle according to the actual express station information, so that the delivery time of the express delivery vehicle can be optimized, avoiding the express delivery peak period during holidays, Double Eleven and other special days, which causes a serious decline in express delivery efficiency due to unreasonable actual delivery time.
[0043] The present invention aims to optimize the actual delivery time of express delivery stations in express delivery and improve the efficiency of express delivery. Taking a certain area in a certain city as an example, all the express deliveries to be delivered on a certain day are obtained, and each target historical delivery route is obtained according to the express delivery points to be delivered by all the express deliveries to be delivered, and each target historical delivery route is a route composed of express delivery points to be delivered by the express deliveries to be delivered. The express delivery vehicle is equipped with a tracker, and the present invention obtains the actual delivery information of each express delivery vehicle from the express delivery platform, and the actual delivery information includes the number of express deliveries required for each express delivery point, the actual stay time of each express delivery point, the average speed during transportation between two adjacent express delivery points, the waiting time for traffic lights during transportation between two adjacent express delivery points, and the actual distance during transportation between two adjacent express delivery points. In order to avoid the influence of the dimensions between different data on the optimization results, the actual delivery information of all express delivery vehicles is Z-score normalized, and Z-score normalization is a known technology, which will not be described in detail.
[0044] According to the normalized actual delivery information of the express delivery vehicle, a data sequence of each express delivery vehicle delivering to each express delivery point is constructed, and the data sequence of each express delivery vehicle delivering to each express delivery point is used as each particle in the subsequent particle swarm optimization algorithm:
[0045]
[0046] In the formula, represents the data sequence of the a-th express delivery vehicle delivering to the b-th express delivery point, represents the normalized result of the number of express deliveries required at the bth express point in the target historical delivery route of the ath express delivery vehicle, represents the normalized result of the actual stop time of the b-th express delivery point in the target historical delivery route of the a-th express delivery vehicle, represents the normalized result of the average speed of the a-th express delivery vehicle in the process of delivering from the (b-1)-th express point to the b-th express point, represents the normalized result of the traffic light waiting time of the a-th express delivery vehicle when it is delivering from the (b-1)-th express point to the b-th express point, It represents the normalized result of the actual distance traveled by the a-th express delivery vehicle from the (b-1)-th express point to the b-th express point.
[0047] At this point, the data sequence of each express delivery vehicle delivered to each express delivery point is obtained, that is, each particle participating in the optimization in the particle swarm optimization algorithm.
[0048] Step S002, obtain the iterative change law index according to the data sequence of the express delivery vehicle sent to the express delivery point, obtain the gradual change law index sequence according to the iterative change law index, obtain the optimized singular index according to the gradual change law index sequence, obtain the optimized deviation index according to the data sequence information between the express delivery points, and obtain the cluster exploration capability index according to the optimized singular index and the optimized deviation index.
[0049] In order to obtain the optimal delivery time of the express delivery vehicle at the express delivery point, the data sequence of the express delivery vehicle's corresponding express delivery point is used as the particle participating in the optimization, and is used for the exploration of subsequent particle iterative optimization. The delivery time of the express delivery vehicle for the entire journey is limited. When the delivery time at the express delivery point that has been delivered exceeds the time limit, it is often necessary to adjust the subsequent delivery time in a timely manner under safe conditions to improve the time utilization efficiency and complete the express delivery task in a timely manner. The specific implementation flow chart of the present invention is shown in FIG. Figure 2 shown.
[0050] In the traditional particle swarm optimization algorithm, the size of the inertia weight will have a great influence on the optimization results. In the traditional particle swarm optimization algorithm, the inertia weight is set to a single fixed value, and the algorithm iteration is often prone to fall into the local optimum due to the fast convergence speed. In order to better prevent the particle swarm optimization algorithm from falling into the local optimum, it is necessary to further analyze the inertia weight of the particle swarm optimization algorithm.
[0051] Based on the above analysis, the initial parameters in the particle swarm optimization algorithm of the present invention are set as follows: the number of particles for parameter optimization is 100, the particle dimension is 5, the maximum number of iterations is 100, and the values of the individual learning factor and the group learning factor are 3, which can be selected by the implementer according to the actual situation.
[0052] Using the particle swarm optimization algorithm, we optimize the particle iteration process to find the optimal delivery time for express delivery vehicles. The particle swarm optimization algorithm is often used in logistics transportation scheduling problems, so that logistics can be delivered to various express delivery points quickly. However, when using the particle swarm optimization algorithm for optimization, the iteration process is often prone to fall into the local optimal situation, resulting in the speed of the particles in the subsequent iteration process being almost zero, and the global optimal solution cannot be improved. The optimal delivery time of express delivery vehicles at express delivery points is divided into global optimal solutions and local optimal solutions. The local optimal solution is often due to the high population density in the local area of adjacent express delivery points. The delivery time of two adjacent express delivery points cannot be changed in a timely and effective manner. Because the actual stop time of the previous express delivery point is long, the actual stop time of the next express delivery point should be shortened when considering a single dimension. This optimization result is a local optimal solution. However, due to the high population density in the local area of adjacent express delivery points, multi-dimensional features need to be considered. For example, the number of express delivery at the previous express delivery point is large, and the number of express delivery points at the next stop is still large; there are more traffic lights in the delivery route of the previous express delivery point, and there are still more traffic lights in the delivery route of the next express delivery point. At this time, the delivery time of both express delivery points should be large. Therefore, the global optimal solution is often based on the multi-dimensional information of the express delivery points in the entire delivery route. It is not only adjusted by the actual stop time of the upper and lower express delivery points, but also combined with the required number of express delivery points, the waiting time for traffic lights, and the actual distance between express delivery points.
[0053] In order to determine the optimal delivery time of express delivery vehicles, the inertia factor is improved according to the data sequence of each express delivery vehicle at each express point during the actual transportation process. The particle swarm optimization algorithm is used to obtain the global optimal solution based on the improved inertia factor, and the optimal delivery time is determined based on the global optimal solution.
[0054] Specifically, when the particle iteration falls into a local optimal solution, the express delivery vehicle may find that the population density in the local area where it is delivering to adjacent express delivery points is relatively high. During the optimization process, only the information of a single particle dimension is used, and corresponding adjustments are made through the upper and lower express delivery points. However, at this time, there are more red lights between adjacent express delivery points, and the more pedestrians there are at the intersection, that is, the waiting time for traffic lights is relatively long, and the number of express deliveries required by the express delivery points is larger. At this time, the express delivery of these two express delivery points should be allocated a longer stay time.
[0055] In order to explore the changes in the particle iteration process, for each particle in each iteration of the particle swarm, the particle is taken as the target particle, and the set of the target particle's nearest k particles is taken as the target particle's neighbor particle set, and the empirical value of k is 5.
[0056] Calculate the particle heterogeneity index of the particle swarm after each iteration:
[0057]
[0058]
[0059]
[0060] In the formula, represents the iterative change law index of the jth particle after the i-th iteration, represents the number of particles in the neighboring particle set of the jth particle after the i-th iteration, represents the Euclidean distance function, and denote the spatial position of the cth particle in the set of neighboring particles of the jth particle after the i-th and (i-1)-th iterations, respectively. represents the exponential sequence of the particle swarm’s changing rules after the i-th iteration, represents the normalization function, and Respectively represent the iterative variation law index of the 1st and mth particles after the i-th iteration, represents the particle heterogeneity index of the particle swarm after the i-th iteration, represents an exponential function with a natural constant as base, Represents the coefficient of variation of all elements in the exponential sequence of the variation law after the i-th iteration, Represents the number of elements in the exponential sequence of the particle swarm’s variation law after the i-th iteration, and They respectively represent the values of the dth and (d-1)th elements in the variation law index sequence of the particle swarm after the i-th iteration, wherein the calculation of the coefficient of variation is a well-known technique and the specific process will not be repeated here.
[0061] The Euclidean distance between the spatial positions of the cth particle in the set of neighboring particles of the jth particle after the i-th and (i-1)-th iterations The smaller it is, the smaller the change in the position of the particle before and after the jth particle iteration is, and the more likely it is to fall into a local optimal solution, that is, the adjacent express delivery stations delivered by the express delivery vehicle are in areas with a high population density, but the delivery time of the next express delivery point is adjusted only by the delivery time of the previous express delivery point. At this time, the delivery time of the two adjacent express delivery points cannot be changed in a timely and effective manner, and the iterative change law index of the jth particle after the i-th iteration is smaller. In addition, the coefficient of variation of all elements in the index sequence of the variation law of the particle group after the i-th iteration is The larger it is, and the greater the difference between the values of the d-th and (d-1)-th elements in the variation law index sequence of the particle swarm after the i-th iteration, to a certain extent, it indicates that the greater the difference in the iterative variation law index between the particles in the particle swarm at this time, the more it can be explained that some particles are trapped in the local optimal solution during the iteration process at this time, and the search ability is poor. That is, when two adjacent express delivery points are in a densely populated area, the express delivery vehicle needs to deliver more express to the two adjacent express delivery points at this time, and there are more red lights on the road and the waiting time is longer. However, only considering the delivery time of the previous express delivery point to adjust the delivery time of the next express delivery point, one of the express stations has a long delivery time and the other express station has a short delivery time. At this time, it is in the local optimal state, and the larger the particle heterogeneity index is.
[0062] Furthermore, since the iterative change law index of the particle reflects that the particle is more likely to fall into the local optimal solution during the optimization process, in order to more clearly understand the characteristics of falling into the local optimal solution, the iterative change law index is combined for analysis.
[0063] Calculate the optimized singular index of the particle swarm after each iteration:
[0064]
[0065] In the formula, represents the optimized singular index of the particle swarm after the i-th iteration, represents the particle heterogeneity index of the particle swarm after the i-th iteration, Represents the number of elements in the exponential sequence of the particle swarm’s variation law after the i-th iteration, Represents the value of the dth element in the exponential sequence of the particle swarm’s variation law after the i-th iteration, is the error parameter. To avoid the denominator being 0, the empirical value of the error parameter is 0.1.
[0066] Particle heterogeneity index of the particle swarm after the i-th iteration The larger the value is, the value of the dth element in the exponential sequence of the particle swarm after the i-th iteration. The smaller the first multiplication factor The larger it is, the greater the difference in the iterative change law index between particles is, and the more it can be explained that some particles fall into the local optimal solution after this iteration, that is, the process of particles searching for the optimal solution is based on only a single dimension, and only considers the delivery time of the previous express point to adjust the delivery time of the next express point, or only considers the average speed of the previous express point to adjust the average speed of the next express point. When two adjacent express points are in an area with a large population density, there are more traffic lights between the two express points, and the number of express deliveries is large. This adjustment method cannot obtain the global optimal result, and the larger the optimization singularity index is.
[0067] Furthermore, based on the optimization of the singularity index, the relationship between the historical global optimal solution and the historical individual optimal solution of the particle swarm is considered, the situation where the particle swarm falls into the local optimal solution is further analyzed, and the inertia weight of the particles is increased so that the particles can quickly find the global optimal solution.
[0068] Calculate the cluster exploration capability index of the particle swarm after each iteration:
[0069]
[0070]
[0071]
[0072] In the formula, represents the optimization error probability of the jth particle after the i-th iteration, represents the Euclidean distance function, represents the current position of the jth particle after the i-th iteration, represents the historical individual optimal position of the jth particle after the i-th iteration, represents the historical global optimal position after the i-th iteration, is the error parameter. To avoid the denominator being 0, the empirical value of the error parameter is 0.1. represents the optimization deviation index of the particle swarm after the i-th iteration, represents the number of particles in the particle swarm, represents an exponential function with a natural constant as base, represents the mean of the optimization error probability of all particles after the i-th iteration, represents the cluster exploration capability index of the particle swarm after the i-th iteration, It represents the optimized singular index of the particle swarm after the i-th iteration, wherein the acquisition of the historical individual optimal position and the historical global optimal position are both well-known techniques in the particle swarm optimization algorithm, and the specific process will not be repeated here.
[0073] The Euclidean distance between the current position of the jth particle after the i-th iteration and the historical individual optimal position of the jth particle after the i-th iteration The smaller the Euclidean distance between the current position of the jth particle after the i-th iteration and the historical global optimal position of the jth particle after the i-th iteration The larger it is, the weaker the search ability of the particle is at this time, and it falls into the local optimal situation. The optimal solution found is the local optimal solution rather than the global optimal solution, that is, it only considers the information of the current passing station, rather than fully considering all the information on the entire delivery route. It is easy to ignore the population density problem of the local area of the undelivered express station. If the population density of the local area of the undelivered express station is large, and the number of express deliveries to be delivered is large, then when all the information on the entire delivery route is fully considered, the delivery time of the current express point should be reduced rather than increased, and the greater the probability of optimization error of the jth particle after the i-th iteration. In addition, the difference between the optimization error probability of the jth particle after the i-th iteration and the mean of the optimization error probability of all particles The larger the value, the larger the optimized singular index of the particle swarm after the i-th iteration. The larger it is, the greater the abnormality of particle optimization in the particle swarm, the worse the search ability of the particle population, and the easier it is to fall into the local optimum, that is, only considering the information of the current passing station to adjust the delivery time. If the population density of the local area of the undelivered express station is large, and the number of express deliveries to be delivered is large, when all the information on the entire delivery route is fully considered, the delivery time of the current express point should be reduced rather than increased, then the smaller the cluster exploration ability index is.
[0074] At this point, the cluster exploration ability index of the particle swarm after each iteration is obtained.
[0075] Step S003, obtaining the inertia factor according to the cluster exploration capability index, using the particle swarm optimization algorithm to obtain the optimal delivery time of the express delivery vehicle based on the inertia factor, and obtaining the express transportation time management plan according to the optimal delivery time of the express delivery vehicle.
[0076] The value range of the inertia factor of the particle swarm optimization algorithm is However, the traditional particle swarm optimization algorithm uses a fixed inertia factor, which easily causes the optimization result to fall into the local optimum, resulting in poor results in the optimal delivery time.
[0077] Furthermore, based on the obtained cluster search capability index, the inertia factor of the particle swarm after each iteration is calculated:
[0078]
[0079] In the formula, represents the inertia factor of the particle swarm after the i-th iteration, It represents the minimum value of the inertia factor of the particle swarm optimization algorithm, and the empirical value is 0.8. It represents the adjustment parameter of the inertia factor of the particle swarm optimization algorithm, and its empirical value is 0.4. Represents the cluster exploration ability index of the particle swarm after the i-th iteration.
[0080] The smaller the cluster exploration ability index of the particle swarm after the i-th iteration, the worse the search ability of the particles is, which means that the particles are more likely to fall into the local optimal solution after this iteration, and the larger the inertia factor is.
[0081] According to the inertia factor of the particle swarm after each iteration obtained above, the inertia factor is used as the input of the inertia weight in the next iteration of the particle swarm optimization algorithm, and the improved particle swarm optimization algorithm is used to obtain the global optimal solution when the iteration number threshold is reached. The global optimal solution is used to obtain the optimal delivery time of each express delivery vehicle. The particle swarm optimization algorithm is a well-known technology and will not be described in detail.
[0082] Furthermore, the optimal delivery time of each express delivery vehicle is sent to the express management platform. The express management platform obtains an express transportation time management plan based on the optimal delivery time of each express delivery vehicle. The express transportation time management plan means that the express delivery time of each express delivery vehicle is less than or equal to the optimal delivery time of each express delivery vehicle. According to the express transportation time management plan, each express delivery person is reminded in real time to avoid delivery timeouts and delays in delivery time.
[0083] Based on the same inventive concept as the above method, an embodiment of the present invention also provides an intelligent transportation management system, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of any one of the above-mentioned intelligent transportation management methods are implemented.
[0084] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An intelligent transportation management method, characterized in that: The method comprises the following steps: Acquire actual delivery information of the express delivery vehicle, the actual delivery information including the number of express deliveries required at the express point, the actual stay time at the express point, the average speed of transportation between adjacent express points, the waiting time for traffic lights when transporting between adjacent express points, and the actual distance when transporting between adjacent express points; According to the actual delivery information of the express delivery vehicle, the neighbor particle set of each particle after each iteration is obtained, and the variation law index sequence of the particle swarm after each iteration is obtained according to the neighbor particle set of each particle after each iteration; according to the variation law index sequence of the particle swarm after each iteration, the particle heterogeneity degree index of the particle swarm after each iteration is obtained; according to the particle heterogeneity degree index of the particle swarm after each iteration, the optimized singular index of the particle swarm after each iteration is obtained; according to the optimization characteristics of the particles in the corresponding multidimensional optimization space in the express delivery process, the optimization error probability of each particle after each iteration is obtained; according to the optimization error probability of each particle after each iteration, the optimization deviation index of the particle swarm after each iteration is obtained; according to the optimization deviation index and optimization singular index of the particle swarm after each iteration, the cluster exploration ability index of the particle swarm after each iteration is obtained; according to the cluster exploration ability index of the particle swarm after each iteration, the inertia factor of the particle swarm after each iteration is obtained, and the optimal delivery time of each express delivery vehicle is obtained based on the inertia factor using the particle swarm optimization algorithm; Obtain the express transportation time management plan based on the optimal delivery time of all express delivery vehicles, and manage express transportation according to the express transportation time management plan; The method for obtaining the particle heterogeneity index of the particle swarm after each iteration according to the exponential sequence of the variation law of the particle swarm after each iteration is: In the formula, represents the particle heterogeneity index of the particle swarm after the i-th iteration, represents an exponential function with a natural constant as base, Represents the coefficient of variation of all elements in the exponential sequence of the variation law after the i-th iteration, Represents the number of elements in the exponential sequence of the particle swarm’s variation law after the i-th iteration, and They respectively represent the values of the dth and (d-1)th elements in the exponential sequence of the variation law of the particle swarm after the i-th iteration; The method for obtaining the optimized singular index of the particle swarm after each iteration according to the particle heterogeneity index of the particle swarm after each iteration is: In the formula, represents the optimized singular index of the particle swarm after the i-th iteration, represents the particle heterogeneity index of the particle swarm after the i-th iteration, Represents the number of elements in the exponential sequence of the particle swarm’s variation law after the i-th iteration, Represents the value of the dth element in the exponential sequence of the particle swarm’s variation law after the i-th iteration, is the error parameter; The method for obtaining the cluster exploration capability index of the particle swarm after each iteration according to the optimization deviation index and optimization singularity index of the particle swarm after each iteration is: In the formula, represents the cluster exploration capability index of the particle swarm after the i-th iteration, represents the optimized singular index of the particle swarm after the i-th iteration, represents an exponential function with a natural constant as base, Represents the optimization deviation index of the particle swarm after the i-th iteration; The method of obtaining the inertia factor of the particle swarm after each iteration according to the cluster exploration capability index of the particle swarm after each iteration, and obtaining the optimal delivery time of each express delivery vehicle based on the inertia factor using the particle swarm optimization algorithm is as follows: In the formula, represents the inertia factor of the particle swarm after the i-th iteration, represents the minimum value of the inertia factor of the particle swarm optimization algorithm, represents the adjustment parameter of the inertia factor of the particle swarm optimization algorithm, Represents the cluster exploration ability index of the particle swarm after the i-th iteration; A particle swarm optimization algorithm is used to determine the optimal delivery time of each express delivery vehicle based on the inertia factor.
2. The intelligent transportation management method according to claim 1, characterized in that: The method of obtaining the neighbor particle set of each particle after each iteration according to the actual delivery information of the express delivery vehicle, and obtaining the exponential sequence of the variation law of the particle group after each iteration according to the neighbor particle set of each particle after each iteration is as follows: For each particle after each iteration, the particle is taken as the target particle, and the set of the first preset parameter particles closest to the target particle is taken as the neighboring particle set of the target particle; The iterative change law index of each particle after each iteration is obtained according to the neighbor particle set of each particle after each iteration; The sequence composed of the iterative change law indexes of all particles after each iteration is taken as the variation law index sequence of the particle swarm after each iteration.
3. The intelligent transportation management method according to claim 2, characterized in that: The method for obtaining the iterative change law index of each particle after each iteration according to the neighbor particle set of each particle after each iteration is: For the neighbor particle set of each particle after each iteration, each particle in the neighbor particle set is taken as a marked particle, and the Euclidean distance between the marked particle position after the current iteration and the marked particle position after the previous iteration is calculated, and the mean of the cumulative sum of the Euclidean distances on the neighbor particle set is taken as the iterative change law index of each particle after each iteration.
4. The intelligent transportation management method according to claim 1, characterized in that: The method for obtaining the optimization error probability of each particle after each iteration according to the optimization characteristics of the particles in the corresponding multidimensional optimization space during the express delivery process is: In the formula, represents the optimization error probability of the jth particle after the i-th iteration, represents the Euclidean distance function, represents the current position of the jth particle after the i-th iteration, represents the historical individual optimal position of the jth particle after the i-th iteration, represents the historical global optimal position after the i-th iteration, is the error parameter.
5. The intelligent transportation management method according to claim 1, characterized in that: The method for obtaining the optimization deviation index of the particle swarm after each iteration according to the optimization error probability of each particle after each iteration is: In the formula, represents the optimization deviation index of the particle swarm after the i-th iteration, represents the number of particles in the particle swarm, represents an exponential function with a natural constant as base, represents the mean of the optimization error probability of all particles after the i-th iteration, represents the optimization error probability of the jth particle after the i-th iteration.
6. An intelligent transportation management system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
