A method for dividing logistics distribution areas considering complex road networks
Through the reverse k-growing multi-scale network model and hybrid genetic-beam search algorithm, the inefficiency problem caused by complex road networks in large-scale urban logistics distribution area division is solved, and more efficient logistics distribution area division and vehicle route optimization are achieved. , significantly reducing distribution costs.
Patent Information
- Application Number
- CN202110330424.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-19
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-03-19
AI Technical Summary
The existing technology fails to effectively optimize vehicle routing and scheduling due to inefficiency caused by complex road networks when dividing large-scale urban logistics distribution areas, resulting in low distribution efficiency.
Using the reverse k-growth multi-scale network model combined with the hybrid genetic-beam search algorithm, the urban logistics distribution area is divided into grids, and the objective function is constructed and optimized through steps such as chromosome encoding, fitness function, beam search, and cross mutation. Vehicle routing and zoning.
It improves the accuracy and efficiency of logistics distribution area division, reduces distribution costs, and significantly improves the efficiency of large-scale urban logistics distribution.
Smart Images

Figure CN112926800B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for dividing a logistics distribution area taking into account a complex road network, and belongs to the field of transportation science and technology. Background Art
[0002] With the rapid development of online shopping and modern logistics, logistics distribution has become an important link between producers and consumers, playing an increasingly important role in the entire supply chain. The division of urban logistics distribution areas is of great significance for reducing logistics operating costs and improving customer service satisfaction. The division of logistics distribution areas is considered to be an effective strategy to alleviate urban congestion, improve mobility, and reduce pollution. It can reduce the computational burden of large-scale logistics distribution network optimization and provide convenience for metropolitan logistics city planning.
[0003] The problem of regional division of logistics distribution is a combinatorial optimization problem with multiple constraints and multi-objective decisions. It is to divide all customer distribution points with distribution needs into different areas, and the distribution of customer distribution points in each area is completed by the same distribution center. When carrying out logistics distribution, the urban road network is complex and affects the operation of the entire distribution system. The complex road network basically reflects the road network structure of the real city. It is of great practical significance to study the strategy of regional division of large-scale distribution facing the actual road network constraints and solving it.
[0004] The division of logistics distribution areas is to divide the entire logistics network into several smaller areas. In each sub-area, the vehicle routing problem of logistics distribution is further studied, so that the vehicle routing problem of the entire logistics distribution network can be solved and optimized. The problem of logistics distribution area division has always been a hot topic for scholars at home and abroad, involving issues such as area division, vehicle scheduling, vehicle combination optimization, facility scale, delivery time and delivery costs. These issues directly affect the efficiency, cost, capacity and service level of logistics distribution area planning. The commonly used distribution area division methods are mainly combined with the site selection of logistics distribution facilities or vehicle routing problems to establish a cost-minimizing objective function to optimize the model, mainly including Thiessen polygon theory, cluster analysis, grid division, etc. However, in previous studies, the impact of multiple factors on the division of logistics distribution areas has been rarely considered. In addition, how to further optimize vehicle scheduling in each divided area has not been well solved.
[0005] Wang Yong et al. proposed an extended particle swarm optimization genetic algorithm (EPSO-GA), which established a two-echelon logistics distribution region cost minimization model and used EPSO-GA to optimize the model (Yong Wang, Ma Xiaolei, Xu Maozeng, et al. (2015) Two-echelon logistics distribution region partitioning problem based on a hybrid particle swarm optimization-genetic algorithm. Expert Systems with Applications An International Journal, 42 (12): 5019-5031.). These algorithms have solved the problem of urban logistics distribution region partitioning to a certain extent, but when dividing large-scale urban logistics distribution areas, these methods still lead to the problem of low logistics distribution efficiency due to the restrictions of intersections and road sections on urban roads. How to effectively divide large-scale urban logistics distribution areas and thus improve the efficiency of large-scale urban logistics distribution has become an urgent problem to be solved. Summary of the invention
[0006] In order to solve the problem of inefficient logistics distribution area division in large-scale logistics distribution caused by complex urban road networks, the present invention provides a logistics distribution area division method considering complex road networks. The method grids the urban logistics distribution area by considering the complex road network structure of the city, and combines the multi-scale network model to construct a reverse k-growth multi-scale network model considering the complex road network. On the basis of the reverse k-growth multi-scale network model, a hybrid genetic-beam search algorithm is used to realize the division of urban logistics distribution areas.
[0007] Optionally, the method comprises:
[0008] (1) Gridding urban logistics distribution areas;
[0009] (2) Modeling the complex urban road network:
[0010] G=(V(G),A(G),P(G))
[0011] The urban complex road network G consists of a point set V(G), a directed path set A(G), and a road congestion description P(G);
[0012] V(G) is the set of all path nodes, V(G) = {v1,v2,...,v n},v1,v2,...,vn Represents n path nodes;
[0013] A(G) is composed of the path matrix R(v i ,v j ),A(G)={R(v i ,v j )|R(v i ,v j )=1,i,j=1,2,3,...,n},path matrix R(v i ,v j ) is the path node v i to v j The matrix composed of the paths;
[0014] P(G) is a description of road congestion;
[0015] In the urban logistics distribution area, the set of customer distribution nodes J = {J1, J2, ..., J d ...,J s}, S is the total number of customer distribution points, d = 1, 2, 3, ..., S;
[0016] The customer distribution node demand information is C = {c1, c2, ..., c d ,...,c S}, c d The d-th customer distribution node J d Demand information:
[0017]
[0018] in, and Indicates the d-th customer distribution node J d The coordinates of R(v u ,v p )=1 indicates customer distribution node J d In v u Point to v p The traffic side; q d Indicates the d-th customer distribution node J d The quantity of deliveries required by all customers; definition represents the sum of the demand for delivery of goods by users at all customer distribution nodes; v u represents the average speed of all path nodes, v p represents the average fuel consumption of all path nodes;
[0019] (3) Construct the objective function, namely the total cost GD, which consists of three parts: driving cost, vehicle fixed cost and time delay cost:
[0020]
[0021] Among them, F is the fixed cost of the vehicle, l is the time delay cost;
[0022] Let D = (v0, J1, J2, ..., J S ) is a set of S+1 points, point v0 represents the distribution center, and the remaining point set V′=D\{v0} represents S customer distribution nodes; A is a set of paths, which is composed of the shortest path between any two points in D. For the traffic obstacle paths that must be avoided in A, they are put into the set NC, NC∈A;
[0023] Each customer distribution node J d The delivery quantity of all customers is e d , responsible for the transportation task are m vehicles with a rated loading capacity of Q, and the vehicle set M = (1,2,...,k',...,m) represents that each path a vi,vj ∈A corresponding to the cost fy vi,vj ∈FY, forming the cost matrix FY;
[0024] Assume that the customer distribution node set J is divided into S′ distribution areas: J = (JF1, JF2, ..., JF S′ ), S′≤S, where JF k ∈J represents the kth distribution area after division, k=1,2,...,S′;
[0025] represents the decision variable, when When the k'th vehicle has visited the customer distribution node J d Then visit the customer distribution node J d' , otherwise it is 0;
[0026] (4) Building a reverse k-growth multi-scale network model on a complex road network
[0027] Assume that the boundary of the urban logistics distribution network Z is L, the center is O, and the longitude and latitude coordinates of the center O are (x0, y0); the initial edge length of the reverse k-growth multi-scale network is h, and the initial grid is r×r; the distance of the p-th grid expansion division to expand outward is S p , S p is an integer multiple of h, is a division of the p-th outward expansion area; and For rectangular area The upper left and lower right fixed points have coordinates respectively
[0028] (5) Chromosome encoding
[0029] Chromosome code the path information and the delivery information, adopting a two-dimensional chromosome coding method.
[0030] The first dimension is a natural number sequence: 1, 2, 3,..., S', where S' is the number of delivery areas;
[0031] The second dimension is the position of the chromosome;
[0032] The chromosome position is represented as the serial number of the customer points assigned to each distribution center; y fd represents the distribution center assigned to the d-th customer collection and distribution node in the f-th chromosome;
[0033] (6) Set the fitness function
[0034]
[0035] Among them, QZ is the penalty weight, and S′ d is the number of chromosomes that violate the maximum transportation distance. Add 1 to the number of unqualified chromosomes, that is, S' d = S' d + 1, initial S' d = 0;
[0036] (7) Chromosome selection
[0037] Adopt the Monte Carlo method to select the operator. The greater the individual fitness, the higher the probability of being selected;
[0038] (8) Determine the topological structure of the beam search, that is, generate a set of dividable customer points;
[0039] (9) Initialize the search beam width and weight.
[0040] Judge whether the number N of initial nodes is greater than bw. If N > bw, continue; if N < bw, branch the initial nodes;
[0041] Among them, bw is the beam width of the beam search.
[0042] (10) Introduce the penalty function
[0043] max GD ≥ QZ
[0044] (11) Crossover and mutation
[0045] Randomly select two individuals w r and w l Randomly and independently select connection values for exchange. Its crossover operation at the b-th bit is:
[0046] w rb = wrb (1-β)+w lb β
[0047] w lb =w lb (1-β)+w rb β
[0048] Where β is a random number between [0,1];
[0049] Complete uniform mutation with a predetermined probability to make the individual fitness higher and approach the optimal solution from a local perspective; the new gene value after mutation is:
[0050] w'=γ(w max -w min )+w min
[0051] where w max ,w min are the maximum and minimum values of the initial individuals, respectively, and γ is a random number between [0,1];
[0052] After multiple cross-mutations, the optimal path of the urban logistics distribution area is obtained, and the optimal result of the logistics distribution area division is obtained.
[0053] Optionally, the (4) constructing a reverse k-growth multi-scale network model on a complex road network includes:
[0054] (4.1) Determine the center point O
[0055] (4.2) Initial grid division
[0056] Determine r×r initial grids around the center point O, where r=g l' , g, l' is a positive integer, which is called the p = 0th step division;
[0057] Input: center point coordinates O(x0,y0), number of grids r×r;
[0058] Output: initial grid coordinates GRID p′q′ (a p′q′ ,b p′q′ ), p′,q′=1,2,...,r;
[0059] Step 1: According to the center point O(x0, y0) and the initial expansion distance S0 = r × h / 2, calculate the overall area range z0[A0(x0-S0, y0+S0), B0(x0+S0, y0-S0)] of the initial grid division;
[0060] Step 2: Within the overall area of the initial mesh division, calculate the coordinates of each mesh vertex from left to right and from top to bottom:
[0061] GRID p′q′ [a p′q′ (x0-S0+(q′-1)h,y0+S0-(p′-1)h),b p′q′ (x0-S0+q′h,y0+S0-p′h)], save the initial grid coordinate information and set the grid identifier;
[0062] (4.3) Grid expansion and division
[0063] The p-th step of mesh expansion is performed based on the p-1-th step of mesh expansion, where P max is the maximum number of grid expansions, p = 1, 2, ..., p max ;
[0064] Input: center point coordinates O(x0,y0), mesh expansion result at step p-1, mesh expansion distance S at step p p ;
[0065] Output: PGRID(a,b) the grid extension result of step p.
[0066] Optionally, the road congestion description P(G) is used to evaluate the impact of natural conditions and road grades on road capacity, and the formula P=(P1×U2) / (P2×U1) is introduced, where p1 and U1 are respectively the average fuel consumption and speed of national highways in plain areas; P2 and U2 are respectively the corresponding parameters of a certain grade of highway in a certain place;
[0067] P(G) = {p(v i ,v j )|P(v i ,v j )=(P1×U2) / (P2×U1)and(v i ,v j )=1,i,j=1,2,3,...,n}
[0068] Indicates that when starting from path node v i to v j When it is passable, it contains the road congestion information P(v i ,v j ) exists; for the path node itself R(v i ,v j )=0.
[0069] Optionally, the time delay cost l is calculated as follows:
[0070]
[0071] Among them, ω represents the time delay cost corresponding to unit distance.
[0072] Optionally, the predetermined probability of the uniform mutation is 0.02.
[0073] Optional, QZ is the penalty weight, and its value is $3800.
[0074] Optionally, in the constructed objective function, if there are traffic obstacles in the actual delivery route that cannot be directly crossed and need to be detoured, it is determined whether the detour cost generated thereby exceeds the delivery tolerance range. If it exceeds the delivery tolerance range, it is avoided in the route planning; traffic obstacles that cannot be directly crossed and need to be detoured include railways and rivers.
[0075] The present application also provides a vehicle dispatching method, which is particularly characterized in that the method uses the above-mentioned logistics distribution area division method considering complex road networks to divide the vehicle dispatching range into regions, and then determines the vehicle dispatching plan based on the regional division.
[0076] The beneficial effects of the present invention are:
[0077] (1) The present invention grids the complex road network in the city and integrates it with the reverse k-growth multi-scale network model to divide the urban logistics distribution area with the determined logistics distribution center as the center point. The combination of the two can better describe the road information passed by the urban logistics distribution and model the complex road network in the city.
[0078] (2) A hybrid genetic-beam search algorithm is proposed, which encodes road information and distribution information into chromosomes, and then prunes unqualified chromosomes according to the search conditions of the beam search, ensuring the optimality of the parent generation and making the offspring optimal after crossover mutation. The fusion of the two algorithms not only avoids the drawbacks of local search, but also exerts the global search capability, so that the path planning for urban logistics distribution can be better carried out and the accuracy of distribution area division can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0080] Figure 1 It is a flowchart of a method for dividing logistics distribution areas taking into account complex road networks provided in one embodiment of the present invention.
[0081] Figure 2It is a schematic diagram of the reverse k - growth multi - scale network model in an embodiment of the present invention. Detailed implementation manners
[0082] To make the objectives, technical solutions and advantages of the present invention clearer, the following will further describe the embodiments of the present invention in detail with reference to the accompanying drawings.
[0083] First, the basic theory related to this application is introduced as follows:
[0084] 1. The running steps of the beam search algorithm are as follows:
[0085] (1) Generate a set of customer distribution points that can be partitioned;
[0086] (2) Determine whether the number N of initial nodes is greater than bw. If N > bw, go to (3); if N < bw, branch the initial nodes;
[0087] (3) Transform the incomplete assignment into a complete assignment through a certain distribution rule;
[0088] (4) Compare the objective values of the complete assignments and select the optimal bw as the initial customer point positions;
[0089] (5) Branch the beam nodes, calculate the objective values of the nodes, and select the optimal customer point positions;
[0090] (6) Select the optimal searched best customer point positions from the bw complete assignment schemes that will finally be generated.
[0091] 2. Monte Carlo method
[0092] When using the Monte Carlo method to select operators, the greater the individual fitness, the higher the probability of being selected. Let the population size be m', and the fitness value of individual n' be F. Then the probability of selecting individual a is:
[0093]
[0094] Embodiment 1
[0095] This embodiment provides a method for partitioning a logistics distribution area considering a complex road network. Please refer to Figure 1 , the method includes:
[0096] (1) Grid the urban logistics distribution area.
[0097] (2) Model the urban complex road network:
[0098] G=(V(G), A(G), P(G))
[0099] The road network G consists of a point set V(G), a directed path set A(G), and a road congestion description P(G).
[0100] Where: V(G) is the set of all path nodes, V(G) = {v1,v2,...,v n},v1,v2,...,v n represents n path nodes; the elements of A(G) are represented by the path matrix R(v i ,v j ),A(G)={R(v i ,v j )|R(v i ,v j )=1,i,j=1,2,3,...,n};P(G) is the description of road congestion: the influence of natural conditions and road grade on road capacity is evaluated, and the formula P=(P1×U2) / (P2×U1) is introduced, where P1 and U1 are the average fuel consumption and speed of national highways in plain areas, respectively, and P2 and U2 are the corresponding parameters of a certain grade of highway in a certain place:
[0101] P(G)={P(v i ,v j )|P(v i ,v j )=(P1×U2) / (P2×U1)and(v i ,v j )=1,i,j=1,2,3,...,n}
[0102] Indicates that when starting from path node v i to v j When it is passable, it contains the road congestion information P(v i ,v j ) exists; for the path node itself R(v i ,v j )=0, path node v i The coordinates of v i =v i (x,y).v i is the i-th path node, and n is the number of path nodes.
[0103] The set of customer distribution nodes J = {J1, J2, ..., J d ...,J S}, S is the total number of customer distribution points, d = 1, 2, 3, ..., S.
[0104] The customer distribution point demand information is C = {c1,c2,...,c d ,...,c S}, c d The d-th customer distribution node J d Demand information:
[0105]
[0106] in, and Indicates the d-th customer distribution node J d The coordinates of R(v u ,v p )=1 and represents the customer distribution node J d In v u Point to v p The pass side (that is, there is a path between any two path nodes); q d Indicates the d-th customer distribution node J d The delivery demand of all customers. represents the sum of the delivery demands of all users; v u represents the average speed of all path nodes, v p Represents the average fuel consumption of all path nodes.
[0107] (3) Constructing the objective function
[0108] The objective function adopted in the present invention takes into account the capacity constraints of distribution sites in the distribution area division. For the problem of distribution area division of complex road networks, it is assumed that any two points in the path are connected. In actual distribution routes, traffic obstacles such as railways and rivers cannot be directly crossed. If the distribution route passes through the above obstacles, the vehicle needs to detour, which will incur detour costs. Obstacles whose detour costs exceed the distribution tolerance range must be avoided in route planning.
[0109] The total cost GD consists of three parts: driving cost, vehicle fixed cost and time delay cost:
[0110]
[0111] Among them, the fixed cost of the vehicle is F, and the time delay cost is l:
[0112]
[0113] Represents the number of all customer points in all urban logistics distribution areas.
[0114] The time delay cost l is proportional to the sum of the distances from all customers within the line to the geographical center. The time delay cost here is only used to compare the advantages and disadvantages between plans, and the value of a single plan has no practical operational significance.
[0115] D=(v0,J1,J2,...,J S ) is a set of S+1 points, point v0 represents the distribution center, and the remaining point set V′=D\{v0} represents S customer distribution nodes; A is a set of paths, which is composed of the shortest path between any two points in D. For the traffic obstacle paths that must be avoided in A, they are put into the set NC, NC∈A.
[0116] Each customer distribution node J d The delivery quantity of all customers is e d , responsible for the transportation task are m vehicles with a rated loading capacity of Q, and the vehicle set M = (1,2,...,k',...,m) represents that each path a vi,vj ∈A corresponding to the cost fy vi,vj ∈FY, forming the cost matrix FY.
[0117] Assume that the customer distribution node set J is divided into S′ distribution areas: J = (JF1, JF2, ..., JF S′ ), S′≤S, where JF k ∈J represents the kth distribution area after division (k=1,2,...,S′), each distribution area contains several customer distribution nodes; the time delay cost corresponding to unit distance is represented by ω.
[0118] represents the decision variable, when When the k'th vehicle has visited the customer distribution node J d Then visit the customer distribution node J d' , otherwise it is 0.
[0119] (4) Building a reverse k-growth multi-scale network model on a complex road network
[0120] When establishing a reverse k-growth multi-scale grid model, it is necessary to first determine the center point of the grid and use it as the base point for initial grid division, that is, first divide the grid with the smallest granularity; then increase the grid division granularity and perform extended grid division; finally, establish a reverse k-growth multi-scale grid model.
[0121] Please refer to Figure 2 , assuming that the boundary of the urban logistics distribution network Z is L, the center is O, and the longitude and latitude coordinates of the center O are (x0, y0); the initial edge length of the reverse k-growth multi-scale network is h, and the initial grid is r×r; the distance of the p-th grid expansion division to expand outward is S p (S p is an integer multiple of h), is a division of the p-th outward expansion area; and For rectangular area The coordinates of the upper left and lower right fixed points are
[0122] (4.1) Determine the center point.
[0123] The division of logistics distribution areas is based on the location of the distribution center of the urban logistics distribution road network Z (i.e., the center point O) as the basic point for regional selection. In the urban logistics distribution road network, the center point O is fixed.
[0124] (4.2) Initial grid division
[0125] Determine r×r initial grids around the center point, where r=g l' (g, l' are positive integers), which is called the p=0th step division.
[0126] Input: center point coordinates O(x0,y0), number of grids r×r.
[0127] Output: initial grid coordinates GRID p'q' (a p'q' ,b p'q' )(p',q'=1,2,...,r).
[0128] Step 1: Based on the center point O(x0, y0) and the initial expansion distance S0=r×h / 2, calculate the overall area range Z0[A0(x0-S0, y0+S0), B0(x0+S0, y0-S0)] of the initial grid division.
[0129] Step 2: Within the overall area of the initial mesh division, calculate the coordinates of each mesh vertex from left to right and from top to bottom:
[0130] GRID p′q′ [a p′q′ (x0-S0+(q′-1)h,y0+S0-(p′-1)h),b p′q′ (x0-S0+q′h,y0+S0-p′h)], save the initial grid coordinate information and set the grid identifier.
[0131] (4.3) Grid expansion and division
[0132] In the p-1th (p=1,2,...,p max ) step grid expansion division results (where P max is the maximum number of grid expansions), the p-th step of grid expansion division can be performed.
[0133] Input: center point coordinates O(x0,y0), p-1(p=1,2,...,p max)Step grid expansion division result, the grid expansion distance S at the p-th step p .
[0134] Output: The p-th step grid expansion division result PGRID(a, b).
[0135] After modeling the complex urban road network and establishing a reverse k-growth multi-scale model for preliminary division, it is necessary to optimize the paths within the region to verify the rationality of the distribution area division.
[0136] (5) Chromosome encoding
[0137] Encode the path information and distribution information into chromosomes, adopting a two-dimensional chromosome encoding method.
[0138] The first dimension is a natural number sequence: 1, 2, 3,..., S', where S' is the number of distribution areas;
[0139] The second dimension is the position of the chromosome.
[0140] The chromosome position can be expressed as the serial number of the customer points assigned to each distribution center. y fd represents the distribution center assigned to the d-th customer collection and distribution node in the f-th chromosome.
[0141] (6) Set the fitness function
[0142]
[0143] Among them, QZ is the penalty weight, which can be predefined as a large number according to the range of the objective function, and S′ d is the number of chromosomes that violate the maximum transportation distance. Add 1 to the number of unqualified chromosomes, that is, S' d = S' d + 1 (initial S' d = 0).
[0144] (7) Chromosome selection
[0145] Adopt the Monte Carlo method to select the operator. The greater the individual fitness, the higher the probability of being selected.
[0146] (8) Determine the topological structure of the beam search, that is, generate a set of dividable customer points.
[0147] (9) Initialize the beam width and weight of the search.
[0148] Judge whether the number N of initial nodes is greater than bw. If N > bw, continue; if N < bw, branch the initial nodes.
[0149] Among them, bw is the beam width of the beam search.
[0150] (10) Introducing penalty function
[0151] max GD ≥ QZ
[0152] (11) Crossover and mutation
[0153] Randomly select two individuals w from the parent generation r and w l Randomly and independently select the connection value to exchange, and the crossover operation at position b is:
[0154] w rb =w rb (1-β)+w lb β
[0155] w lb =w lb (1-β)+w rb β
[0156] Where β is a random number between [0,1].
[0157] Complete uniform mutation with a small probability to make the individual fitness higher and approach the optimal solution from a local perspective. The new gene value after mutation is:
[0158] w'=γ(w max -w min )+w min
[0159] where w max ,w min are the maximum and minimum values of the initial individuals respectively, and γ is a random number between [0,1].
[0160] After multiple cross-mutations, the optimal path of the urban logistics distribution area is obtained, thereby verifying the effectiveness of the regional division and obtaining the optimal result of the logistics distribution area division.
[0161] The effect of the present invention can be further illustrated by the following experiments.
[0162] 1. Simulation conditions
[0163] This embodiment uses MATLAB 2020a for simulation experiments, and the experimental equipment is a computer with an i7-7500 2.90GHz CPU. Since each customer distribution point usually contains more than 20 customers, and the demand in the Solomon data set or the extended Solomon data set is collected for each customer. In order to better reflect the actual delivery demand of each customer point, in this embodiment, the customer delivery demand of RC1_2_1 in the Solomon data set (for details, please refer to: http: / / download.csdn.net / tagalbum / 12619) is multiplied by 20 as the delivery demand, that is, the data set is expanded to achieve the purpose of matching the actual delivery demand.
[0164] This embodiment compares the method of the present application with eight existing algorithms, namely HPSO, GA, ACO, EPSO-GA, 2MPSO, IPSO, TS-MOEA, and HPSO-HGA. The eight algorithms can be referred to as follows:
[0165] HPSO, please refer to "Yin PY, Yu SS, Wang PP, et al. A hybrid particle swarmoptimization algorithm for optimal task assignment in distributed systems [J]. Computer Standards&Interfaces, 2006, 28(4): 441-450."
[0166] GA, please refer to "Shima T, Rasmussen SJ, Sparks AG, et al. Multiple taskassignments for cooperating uninhabited aerial vehicles using genetic algorithms[J]. Computers&Operations Research, 2006, 33(11):3252-3269."
[0167] For ACO, refer to "HuaChen, Albert Mo KimCheng, Ying-Wei Kuo. Assigning real-time tasks to heterogeneous processors by applying ant colony optimization[J]. Journal of Parallel and Distributed Computing. 2011, 71(1): 132-142."
[0168] For EPSO-GA, refer to "Yong Wang, Ma Xiaolei, Xu Maozeng, et al. Two-echelon logistics distribution region partitioning problem based on a hybrid particle swarm optimization-genetic algorithm[J]. Expert Systems with Applications An International Journal, 2015, 42(12): 5019-5031."
[0169] For 2MPSO, refer to "Okulewicz M, Madziuk J. The impact of particular components of the pso-based algorithm solving the dynamic vehicle routing problem[J]. Applied Soft Computing, 2017, 58(9): 586-604."
[0170] For IPSO, refer to "Hannan M A, Akhtar M, Begum R A, et al. Capacitated vehicle-routing problem model for scheduled solid waste collection and route optimization using PSO algorithm[J]. Waste Management, 2018, 71: 31 - 41."
[0171] TS-MOEA, please refer to "Wang J, Weng T, Zhang QA Two-Stage MultiobjectiveEvolutionary Algorithm for Multiobjective Multidepot Vehicle Routing ProblemWith Time Windows[J]. IEEE Transactions on Cybernetics, 2018:1-12."
[0172] HPSO-HGA, please refer to "Lu Zhen, Chengngle Ma, Kai Wang, et al.Multi-depot multi-trip vehicle routing problem with time windows and release dates[J].Transportation Research Part E, 2020,135:1-21."
[0173] 2. Simulation results
[0174] In order to better reflect the actual delivery demand of each distribution unit, the customer delivery demand of RC1_2_1 in the extended Solomon data set is multiplied by 20 (because each customer distribution point generally includes 20 customers) as the delivery demand. Experimental simulation is performed on this data set, that is, the same logistics distribution network is divided into regions using the method proposed in this application and the above eight algorithms, so as to calculate the total cost data under various division conditions and the number of algorithm iterations required to obtain the optimal result of the division area. The simulation results are compared as shown in Tables 1 and 2 below.
[0175] Table 1 Comparison of results under different methods (total cost, unit: $)
[0176]
[0177]
[0178] Table 2 Comparison of results under different methods (total number of algorithm iterations).
[0179]
[0180] It can be seen from Table 1 and Table 2 that the optimal cost of the entire logistics distribution network is that the minimum cost under the HPSO method is GD=$31577, the minimum cost under the GA method is GD=$32693, the minimum cost under the ACO method is GD=$34672, the minimum cost under the EPSO-GA method is GD=$29993, the minimum cost under the 2MPSO method is GD=$31106, the minimum cost under the IPSO method is GD=$29653, the minimum cost under the TS-MOEA method is GD=$28906, and the minimum cost under the HPSO-HGA method is GD=$30017.
[0181] Taking the results obtained by the algorithm proposed in the present invention as a benchmark, the statistical method of t-test is used to test whether the method of the present application is superior to other methods. If the value of P of the test result is less than 0.01, it indicates that there is an extremely significant difference between the two groups of data. The smaller the P value, the more obvious the difference, and the greater the difference with the benchmark data.
[0182] Based on the results of the t-test, the daily allocation cost and number of iterations are significantly different from other methods. Compared with the genetic algorithm, the total cost of the method of the present application is reduced by 14.1%, and the number of iterations required to reach the optimal solution is reduced by 152 times, which means that the method proposed by the present invention is more likely to find the optimal solution than other methods, that is, the method proposed by the present invention can better capture the partitioning scheme, optimal cost and number of iterations, and demonstrates its ability to solve the complex distribution area partitioning problem in the urban logistics distribution network.
[0183] Some steps in the embodiments of the present invention may be implemented using software, and the corresponding software program may be stored in a readable storage medium, such as a CD or a hard disk.
[0184] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for dividing logistics distribution areas considering complex road networks, characterized in that: The method grids the urban logistics distribution area by considering the complex road network structure of the city, and constructs a reverse k-growth multi-scale network model considering the complex road network in combination with a multi-scale network model. Based on the reverse k-growth multi-scale network model, a hybrid genetic-beam search algorithm is used to realize the division of the urban logistics distribution area; The method includes: (1) Grid the urban logistics distribution area; (2) Model the complex road network of the city: G=(V(G),A(G),P(G)) The complex road network G of the city consists of a point set V(G), a directed path set A(G), and a road congestion description P(G); V(G) is the set of all path nodes, V(G) = {v1,v2,...,v n },v1,v2,...,v n Represents n path nodes; A(G) is composed of the path matrix R(v i ,v j ),A(G)={R(v i ,v j )|R(v i ,v j )=1,i,j=1,2,3,...,n},path matrix R(v i ,v j ) is the path node v i to v j The matrix composed of the paths; P(G) is the road congestion description; In the urban logistics distribution area, the set of customer distribution nodes J = {J1, J2, ..., J d ...,J s }, S is the total number of customer distribution points, d = 1, 2, 3, ..., S; The customer distribution node demand information is C = {c1, c2, ..., c d ,...,c S }, c d The d-th customer distribution node J d Demand information: in, and Indicates the d-th customer distribution node J d The coordinates of R(v u ,v p )=1 indicates customer distribution node J d In v u Point to v p The traffic side; q d Indicates the d-th customer distribution node J d The quantity of deliveries required by all customers; definition represents the sum of the demand for delivery of goods by users at all customer distribution nodes; v u represents the average speed of all path nodes, v p represents the average fuel consumption of all path nodes; (3) Construct an objective function, that is, the total cost GD, which consists of three parts: driving cost, vehicle fixed cost, and time delay cost: Among them, F is the fixed cost of the vehicle, and l is the time delay cost; Let D = (v0, J1, J2, ..., J S ) is a set of S+1 points, point v0 represents the distribution center, and the remaining point set V′=D\{v0} represents S customer distribution nodes; A is a set of paths, which is composed of the shortest path between any two points in D. For the traffic obstacle paths that must be avoided in A, they are put into the set NC, NC∈A; Each customer distribution node J d The delivery quantity of all customers is e d , responsible for the transportation task are m vehicles with a rated loading capacity of Q, and the vehicle set M = (1,2,...,k',...,m) represents that each path a vi,vj ∈A corresponding to the cost fy vi,vj ∈FY, forming the cost matrix FY; Assume that the customer distribution node set J is divided into S′ distribution areas: J = (JF1, JF2, ..., JF S′ ), S′≤S, where JF k ∈J represents the kth distribution area after division, k=1,2,...,S′; represents the decision variable, when When the k'th vehicle has visited the customer distribution node J d Then visit the customer distribution node J d' , otherwise it is 0; (4) Build a reverse k-growth multi-scale network model on the complex road network Assume that the boundary of the urban logistics distribution network Z is L, the center is O, and the longitude and latitude coordinates of the center O are (x0, y0); the initial edge length of the reverse k-growth multi-scale network is h, and the initial grid is r×r; the distance of the p-th grid expansion division to expand outward is S p , S p is an integer multiple of h, is a division of the p-th outward expansion area; and For rectangular area The upper left and lower right fixed points have coordinates respectively (5) Chromosome encoding Encode the path information and distribution information into chromosomes, and adopt a two-dimensional chromosome encoding method; The first dimension is a natural number sequence: 1, 2, 3,..., S', where S' is the number of distribution areas; The second dimension is the position of the chromosome; The chromosome position is represented as the serial number of the customer point assigned to each distribution center; y fd represents the distribution center assigned to the dth customer distribution node in the fth chromosome; (6) Set the fitness function Among them, QZ is the penalty weight, S′ d The number of chromosomes that violate the maximum transport distance is calculated by adding 1 to the number of unqualified chromosomes, i.e. S' d =S' d +1, initial S' d =0; (7) Chromosome selection Adopt the Monte Carlo method to select the operator. The greater the individual fitness, the higher the probability of being selected; (8) Determine the topological structure of the beam search, that is, generate a set of customer points that can be divided; (9) Initialize the beam width and weight of the search; Judge whether the number N of initial nodes is greater than bw. If N>bw, continue; if N<bw, branch the initial nodes; Among them, bw is the beam width of the beam search; (10) Introduce a penalty function maxGD≥QZ (11) Crossover and mutation Randomly select two individuals w from the parent generation r and w l Randomly and independently select the connection value to exchange, and the crossover operation at position b is: w rb =w rb (1-b)+w lb b w lb =w lb (1-b)+w rb b Among them, β is a random number between [0, 1]; Perform uniform mutation with a predetermined probability to make the individual fitness higher and approach the optimal solution from a local perspective; the new gene value after mutation is: w'=γ(w max -w min )+w min where w max ,w min are the maximum and minimum values of the initial individuals, respectively, and γ is a random number between [0,1]; After multiple crossovers and mutations, the optimal path of the urban logistics distribution area is obtained, and the optimal result of the logistics distribution area division is obtained.
2. The method according to claim 1, characterized in that The step (4) of building a reverse k-growth multi-scale network model on the complex road network includes: (4.1) Determine the center point O (4.2) Initial grid division Determine r×r initial grids around the center point O, where r=g l' , g, l' is a positive integer, which is called the p = 0th step division; Input: center point coordinates O(x0, y0), number of grids r×r; Output: initial grid coordinates GRID p′q′ (a p′q′ ,b p′q′ ), p′,q′=1,2,...,r; Step1: According to the center point O(x0, y0) and the initial expansion distance S0=r×h / 2, calculate the overall area range Z0[A0(x0 - S0, y0 + S0), B0(x0 + S0, y0 - S0)] of the initial grid division; Step2: Within the overall area range of the initial grid division, calculate the vertex coordinates of each grid in the order from left to right and from top to bottom as: GRID p′q′ [a p′q′ (x0-S0+(q′-1)h,y0+S0-(p′-1)h),b p′q′ (x0-S0+q′h,y0+S0-p′h)], save the initial grid coordinate information and set the grid identifier; (4.3) Grid expansion division The p-th step of mesh expansion is performed based on the p-1-th step of mesh expansion, where P max is the maximum number of grid expansions, p = 1, 2, ..., p max ; Input: center point coordinates O(x0,y0), mesh expansion result at step p-1, mesh expansion distance S at step p p ; Output: the grid expansion division result PGRID(a, b) at the p-th step.
3. The method according to claim 2, characterized in that The road congestion description P(G) evaluates the impact of natural conditions and road grades on road capacity, and introduces the formula P=(P1×U2) / (P2×U1), where P1 and U1 are the average fuel consumption and speed of national highways in plain areas, respectively; P2 and U2 are the corresponding parameters of a certain grade of highway in a certain place, respectively; P(G)={P(v i ,v j )|P(v i ,v j )=(P1×U2) / (P2×U1)and(v i ,v j )=1,i,j=1,2,3,...,n} Indicates that when starting from path node v i to v j When it is passable, it contains the road congestion information P(v i ,v j ) exists; for the path node itself 4. The method according to claim 3, characterized in that The time delay cost l is calculated as follows: Among them, ω represents the time delay cost corresponding to unit distance.
5. The method according to claim 4, characterized in that The predetermined probability of the uniform mutation is 0.
02.
6. The method according to claim 5, characterized in that QZ is the penalty weight, which is $3800.
7. The method according to claim 6, characterized in that In the constructed objective function, if there are traffic obstacles in the actual delivery route that cannot be directly crossed and need to be detoured, it is determined whether the detour cost generated thereby exceeds the delivery tolerance range. If it exceeds the delivery tolerance range, it is avoided in the route planning; traffic obstacles that cannot be directly crossed and need to be detoured include railways and rivers.
8. A vehicle dispatching method, characterized in that: The method adopts the logistics distribution area division method considering complex road networks as described in any one of claims 1-7 to divide the vehicle scheduling range into regions, and then determines the vehicle scheduling plan based on the regional division.
