A method for anti-interference vehicle scheduling in multiple distribution centers
Through multi-objective evolutionary algorithms and heuristic rules, the problem of balancing benefits and efficiency in multi-distribution center vehicle dispatching is solved, a higher-quality dispatching solution is provided, and distribution efficiency and cost are significantly improved.
Patent Information
- Application Number
- CN202110732274.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-06-30
AI Technical Summary
The existing multi-distribution center vehicle scheduling method is difficult to effectively balance benefits and efficiency in an uncertain environment. Especially under the influence of uncertain factors such as COVID-19, the reliability of the third-party logistics model is insufficient, and intelligent optimization algorithms are not suitable for cost and profit optimization. There is still room for improvement.
Using a multi-objective evolutionary algorithm based on problem characteristics, by determining distribution operation parameters, setting algorithm parameters, initializing the population, performing local search and copy operator operations, and combining heuristic rules of timely point priority and minimum spanning tree priority, the system automatically calculates a balanced solution Optimal solution for total penalty cost and total travel time.
It significantly improves the logistics distribution efficiency, greatly improves the antinomy between the total penalty cost and the total travel time, provides a higher-quality vehicle scheduling solution, and is suitable for anti-interference environments of multiple distribution centers.
Smart Images

Figure CN113627716B
Abstract
Description
Technical Field
[0001] The present invention relates to a vehicle dispatching method for multiple distribution centers, and specifically to a dispatching method for multiple distribution centers in an uncertain environment, which can provide an excellent dispatching solution for distribution enterprises with multiple distribution centers and logistics departments of manufacturing enterprises. Background Art
[0002] Collaborative logistics management refers to a logistics management activity that uses the principle of synergetics self-organization, focuses on collaborative logistics tasks and target requirements, selects various logistics entities that meet the requirements of collaborative logistics from the enterprise network, and organizes them into a logistics system with self-organization capabilities, works in a coordinated manner, and jointly achieves unified logistics goals. There are three existing logistics models: self-operated logistics, third-party logistics, and collaborative logistics. Many management decision makers are aware of the shortcomings of self-operated logistics and third-party logistics. Although self-operated logistics has high reliability, the various logistics costs invested are also very high. Although the various logistics costs invested in third-party logistics are relatively low, the reliability is relatively low. The collaborative logistics distribution model can take into account the advantages of the other two logistics distribution models and can overcome the shortcomings of the other two logistics models to a certain extent. Therefore, different types of collaborative logistics distribution models are increasingly attracting the attention of different types of management decision makers.
[0003] The semi-open multi-distribution center collaborative logistics model is currently the most concerned type of distribution for various enterprises. Within the enterprise, different distribution centers are established in different regions according to the geographical distribution of the goods sold. After the vehicle serves the last customer, it returns to different distribution centers according to actual needs (for example, the principle of proximity). Considering the limitations of their own investment costs, most enterprises currently use the "third-party logistics model" to dispatch distribution vehicles. The "third-party logistics" distribution model refers to the enterprise renting all external vehicles to provide distribution services to customers. Although this method can reduce the logistics costs of the enterprise to a certain extent, it has been fully proved that the reliability of this method is not very strong during the COVID-19 epidemic. At the same time, uncertain factors have also had a certain impact on the actual distribution effect of the enterprise. Therefore, although the management decision makers of the enterprise have made some attempts on some intelligent optimization algorithms, such as genetic algorithm (GA), cultural gene algorithm (MA), particle swarm algorithm (PSO) harmony algorithm (HS) and improved harmony algorithm (HIS). These intelligent optimization algorithms have overcome the shortcomings of the difficulty in obtaining the optimal solution of the vehicle routing problem corresponding to such scenarios to a certain extent, but for manufacturing enterprises that prioritize cost and profit, there is still a lot of room for improvement in optimization. Compared with the above-mentioned algorithms, the scheduling method based on problem characteristics proposed in the present invention has the advantages of: fewer control parameters, easy encoding, and especially the ability to solve discrete application problems. Therefore, the evolutionary algorithm that considers the problem characteristics can further optimize the problem while meeting the problem requirements, which has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In view of the shortcomings of the prior art, the purpose of the present invention is to provide an anti-interference vehicle scheduling method for multiple distribution centers, an evolutionary algorithm for solving the collaborative logistics of multiple depots under uncertain environments, which can be directly applied to various types of enterprises at present, and solve the common dilemma problems in the distribution process, especially the relationship between benefits and efficiency, which are mutually exclusive.
[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0006] A method for anti-interference vehicle scheduling for multiple distribution centers includes the following steps:
[0007] Step 1: Determine the distribution operation parameters;
[0008] Step 2: Set algorithm parameters;
[0009] Step 3: Initialize the population;
[0010] Step 4: Perform local search on pop;
[0011] Step 5: Perform a copy operator on pop';
[0012] Step 6: Perform non-dominated sorting on Rpop;
[0013] Step 7: Let the new group P t+1 is an empty set;
[0014] Step 8. Calculate F i The crowding distance of each individual in and establish F i The partial order relation of
[0015] Step 9: Set the i-th classification subset F i Select individuals from the list and fill in P t+1 , until P t+1 The number of individuals in is M;
[0016] Step 10: P t+1 Perform local search operation and obtain population P' t+1 ;
[0017] Step 11: P' t+1 Perform the replication operator operation to obtain the population Q t+1 ;
[0018] Step 12: Place P t+1 and Q t+1 Updates to Rpop;
[0019] Step 13: If the current generation t does not exceed the maximum number of iterations iter, repeat steps 6-12; otherwise, output the Pareto frontier solution set.
[0020] Preferably, the present invention is used for a multi-distribution center anti-interference vehicle dispatching method, comprising the following steps:
[0021] Step 1: Determine the distribution operation parameters: According to the actual situation of distribution operation, provide the location of the warehouse, the location of the customer, the maximum travel time of the delivery route, the number of abnormal fluctuations in the travel time of the delivery route, the delivery time window specified by the customer, etc.;
[0022] The interference information of travel time is represented as follows;
[0023]
[0024] The symbols in formula (1) have the following meanings:
[0025] t i,j represents the travel time of the delivery vehicle from the i-th customer to the j-th customer; t i,j exist Any value between represents the nominal travel time from the i-th customer to the j-th customer; θi,j The nominal travel time from the i-th customer to the j-th customer is relative to The maximum offset of i,j represents the uncertainty level of travel time fluctuations; Γ represents the number of abnormal fluctuations that may occur in the travel time of the delivery path;
[0026] The optimization goals are as follows:
[0027]
[0028] Minimize∑ i∈V ∑ j∈V ∑ k∈K t i,j x i,j,k (3)
[0029] In formulas (2) and (3), x i,j,k If the kth car goes from the ith customer to the jth customer, then x i,j,k The value is 1, otherwise, the value is 0; s i,k represents the time when the kth vehicle arrives at customer i, LT i The latest arrival time allowed by customer i, ET i represents the latest arrival time allowed by customer i. w1 represents the unit positive penalty cost, represents the sum of the positive penalty costs caused by the delivery vehicle providing delivery service later than the customer's allowed arrival time. w2 represents the unit negative penalty cost. Represents the total penalty cost. TTC=∑ i∈V ∑ j∈V ∑ k∈K t i,j x i,j,k represents the total transportation cost;
[0030] Step 2: Set algorithm parameters: population size (M), initialization factor (α), scaling factor (d); travel time in U T Take the value at the endpoint of ;
[0031] Step 3: Initialize the population. In order to improve the performance of formula (2), a heuristic rule with priority to timely points (denoted as PTVH) is designed. In order to improve the performance of formula (3), a heuristic rule with priority to minimum spanning trees (denoted as PMSTH) is designed. Two heuristic rules are used to generate M feasible solutions to form the initial population. First, a constant α∈[0,1] is given, and a real number β∈[0,1] is randomly generated. If α is not less than β, a feasible solution is generated using PTVH. Otherwise, a feasible solution is generated using PMSTH. Repeat the above process until M feasible solutions are generated. Therefore, this initial solution generation strategy can effectively ensure the diversity of the population and the quality of the initial solution. This process is denoted as init_pop.
[0032] Step 4: Perform local operations on pop, which is recorded as localsearch, and obtain the population pop';
[0033] Step 5: Perform the replication operator operation on pop', which is recorded as reproduction, and obtain the population pop". Pop' and pop" are merged into a new population Rpop;
[0034] Step 6: Perform non-dominated sorting on Rpop to obtain the classification subset F = {F1, F2, ... F i …}.
[0035] Step 7: Let the new group P t+1 is an empty set, i=1;
[0036] Step 8: Calculate F i The crowding distance of each individual in and establish F i The partial order relation of
[0037] Step 9: Set the i-th classification subset F i Select individuals from the list and fill in P t+1 , until P t+1 The number of individuals in is M
[0038] Step 10: P t+1 Perform local search operation and obtain population P' t+1
[0039] Step 11: P' t+1 Perform the replication operator operation to obtain the population Q t+1 ;
[0040] Step 12: Place P t+1 and Q t+1 Updates for Rpop.
[0041] Step 13: If the current generation t does not exceed the maximum number of iterations iter, repeat steps 6-12; otherwise, output the Pareto frontier solution set.
[0042] Compared with the prior art, the present invention has the following obvious outstanding substantive features and significant advantages:
[0043] 1. The present invention automatically calculates an optimal solution that takes into account both total penalty cost and total travel time through a multi-objective evolutionary algorithm that considers the characteristics of the problem; including the order in which each vehicle serves customers, the time when each vehicle arrives at the customer, the departure and return time of each vehicle from the parking lot, and the departure and return time of each vehicle to the parking lot;
[0044] 2. Compared with some existing algorithms, due to the travel time in U T The optimal solution obtained by the algorithm is T Any implementation within the range remains feasible. Therefore, the anti-interference performance of this scheduling method is greatly improved compared with other scheduling algorithms. In addition, this scheduling method takes into account the total penalty cost and total travel time, greatly improving the contradiction between the two indicators, thereby significantly improving the efficiency of logistics distribution. In addition, the research results of this project have broad market application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flowchart of the present invention.
[0046] Figure 2 Pseudocode for create_zero_route(π).
[0047] Figure 3 Pseudocode for insert_cumstomer(π,k,R).
[0048] Figure 4 Pseudocode for ptvh(π).
[0049] Figure 5 Pseudocode for PMSTH.
[0050] Figure 6 Pseudocode for CreateRoute.
[0051] Figure 7 Pseudocode for init_pop.
[0052] Figure 8 Pseudocode for localsearch.
[0053] Fig. 9 Pseudocode for Reproduction.
[0054] Fig.10 This is the spatial layout of the optimal solution corresponding to the second embodiment.
[0055] Fig.11 This is a comparison chart of the scalability of the present invention and different algorithms.
[0056] Fig.12 This is a convergence comparison diagram between the present invention and different algorithms. DETAILED DESCRIPTION
[0057] The object of the present invention is to provide a vehicle dispatching method with anti-interference for multiple distribution centers. In order to achieve the above object, the present invention provides a vehicle dispatching method with anti-interference for multiple distribution centers. The following preferred embodiments will further illustrate the present invention in conjunction with the accompanying drawings.
[0058] Embodiment 1:
[0059] See also Figure 1 , a method for anti-interference vehicle scheduling for multiple distribution centers, comprising the following steps:
[0060] Step 1: Determine the distribution operation parameters;
[0061] Step 2: Set algorithm parameters;
[0062] Step 3: Initialize the population;
[0063] Step 4: Perform local search on pop;
[0064] Step 5: Perform a copy operator on pop';
[0065] Step 6: Perform non-dominated sorting on Rpop;
[0066] Step 7: Let the new group P t+1 is an empty set;
[0067] Step 8. Calculate F i The crowding distance of each individual in the i The partial order relation of
[0068] Step 9: Set the i-th classification subset F i Select individuals from the list and fill in P t+1 , until P t+1 The number of individuals in is M;
[0069] Step 10: P t+1 Perform local search operations and obtain the population P' t+1 ;
[0070] Step 11: P' t+1 Perform the replication operator operation to obtain the population Q t+1;
[0071] Step 12: Place P t+1 and Q t+1 Updates to Rpop;
[0072] Step 13: If the current generation t does not exceed the maximum number of iterations iter, repeat steps 6-12; otherwise, output the Pareto frontier solution set. This embodiment solves the evolutionary algorithm of multi-depot collaborative logistics in an uncertain environment, which can be directly applied to various types of enterprises at present to solve the common dilemma problem in the distribution process.
[0073] Embodiment 2:
[0074] This embodiment is basically the same as the first embodiment, with the following special features:
[0075] The step 1 determines the distribution operation parameters: according to the actual situation of the distribution operation, the warehouse location, the customer location, the maximum travel time of the delivery section, the number of abnormal fluctuations in the travel time of the delivery route, the delivery time window specified by the customer and other information are given.
[0076] The interference information of travel time is represented as follows;
[0077]
[0078] The symbols in formula (1) have the following meanings:
[0079] t i,j It represents the travel time of the delivery vehicle from customer point i to customer point j. i,j exist Any value in between. θ represents the nominal travel time between customer point i and customer point j. i,j The nominal travel time between customer point i and customer point j is relative to The maximum offset of ρ i,j It indicates the uncertainty level of travel time fluctuation. Γ indicates the number of abnormal fluctuations that may occur in the travel time of the delivery path.
[0080] The optimization goals are as follows:
[0081]
[0082] Minimize∑ i∈V ∑ j∈V ∑ k∈K t i,,j x i,,j,k (3)
[0083] In formulas (2) and (3), xi,j,k If the kth car goes from the ith customer to the jth customer, then x i,j,k The value is 1, otherwise, the value is 0; s i,k represents the time when the kth vehicle arrives at customer i, LT i The latest arrival time allowed by customer i, ET i represents the latest arrival time allowed by customer i. w1 represents the unit positive penalty cost, represents the sum of the positive penalty costs caused by the delivery vehicle providing delivery service later than the customer's allowed arrival time. w2 represents the unit negative penalty cost. Represents the total penalty cost. TTC=∑ i∈V ∑ j∈V ∑ k∈K t i,j x i,j,k represents the total transportation cost;
[0084] Step 2 sets the algorithm parameters: population size (M), initialization factor (α), scaling factor (d); travel time in U T Take the value at the endpoint of ;
[0085] In step 3, population initialization: In order to solve the common dilemma in vehicle dispatching in distribution centers, a heuristic rule of timely point priority is designed, denoted as PTVH, see Figure 2-4 , and the minimum spanning tree first heuristic rule, denoted as PMSTH, such as Figure 5-6 As shown; two heuristic rules are used to generate M feasible solutions to form an initial population; first, a constant α∈[0,1] is given, and a real number β∈[0,1] is randomly generated. If α is not less than β, a feasible solution is generated using PTVH. Otherwise, a feasible solution is generated using PMSTH. The above process is repeated until M feasible solutions are generated; therefore, this initial solution generation strategy can effectively ensure the diversity of the population and the quality of the initial solution. This process is recorded as init_pop. See Figure 7 .
[0086] like Figure 8 As shown, the local search operator in step 4 is proposed: the rows in A are arranged in descending order according to the total travel time and the corresponding rows are exchanged. The matrix after exchange is recorded as from Select any customer with the maximum total penalty cost path Extract all customer nodes corresponding to the k'th vehicle (k'≠1); without exceeding the maximum load, Exchange with all customer elements in row k'. If the newly generated individual A' can dominate A, replace A with A'. Otherwise, 1,1 ,a 1,2 ,…,a 1,H ) and repeat the above process by selecting other elements in turn until no solution that can dominate A is found. sort_tpc(A z ) The matrix A corresponding to the zth individual z Arrange the total penalty cost of each delivery path in descending order to get a new matrix The role of the local search operator is to continuously generate new neighborhood structures to improve the performance of the solution; let TTC(L k ) represents the total travel time of the delivery route of the kth vehicle before executing the point pair exchange; this process is recorded as Localsearch.
[0087] like Fig. 9 As shown, the step 5 replication operator: a replication operator is proposed. After local search, some individuals will produce a structure that is conducive to further improvement of the two optimization objectives. On this basis, according to the characteristics of the solution with better performance, the replication operator is redesigned to further improve the performance of the feasible solution. Since the two optimization objectives have a certain degree of mutual exclusivity, it is necessary to redesign the replication operator based on local search to further reduce the mutual exclusivity between the two optimization objectives and improve the performance of the solution. The replication operator is divided into two processes: ① Deconstruction process: for individual A in the population q , according to whether the customer point in the matrix is a timely point, A q Divided into two parts A' q and A″ q , where A' q The customer points are all timely points, A' q The central African time point is marked as 0, A″ q The construction method is the opposite. This process is recorded as split(A q );②Construction process from A″ q Randomly select customers form a set λ, where d∈[0,1]. Insert it into A″ q In the process, the influence of the mutual exclusivity between the two optimization objectives on the dominance of the solution should be minimized;
[0088] Extract a customer from λ and try to insert it into A' q In front of each customer in λ, calculate the function values of the two optimization objectives after the attempted insertion, select an insertion position with stronger dominance, and insert the point in front of this position; repeat the above process until all d customers in λ are inserted into A' qIt should be noted that if the reasonable location of the customer in λ in the delivery route in F' is the last node, it is replaced by the parking lot with the smallest distance from the current node. This process is recorded as Reproduction.
[0089] Embodiment three:
[0090] Step 1: According to the actual situation of distribution operation, the warehouse location, customer location, maximum travel time of the delivery route, the number of abnormal fluctuations in travel time along the delivery route, and the delivery time window specified by the customer are given. This method is applicable to multiple distribution centers, and the maximum load Q of the distribution vehicles is the same. The solution goal is to minimize the total penalty cost and total travel time. The relevant information is as follows:
[0091] Table 1U T The specific value of each road in
[0092]
[0093]
[0094] Table 2 V c The demand at each point
[0095]
[0096] Table 3 V c The time window of each point in
[0097]
[0098] Step 2: Set the algorithm parameters: population size (M=10), maximum number of iterations (iter=100), selection factor α=0.5, and scaling factor β=0.3.
[0099] Step 3: Initialize the population and obtain a set of initial solutions using the method in claim 1.
[0100] Step 4: Perform local search and replication operators on the initial solution group to obtain a new population pop'; merge the two to obtain a new population Rpop;
[0101] Step 5: Perform non-dominated sorting on Rpop to obtain the classification subset F = {F1, F2, ... F i …}.
[0102] Step 6: Let the new group P t+1 It is an empty set, let i=1;.
[0103] Step 7: Calculate F iThe crowding distance of each individual in and establish F i The partial order relation of
[0104] Step 8: Set the i-th classification subset F i Select individuals from the list and fill in P t+1 , until P t+1 The number of individuals in is M
[0105] Step 9: P t+1 Perform local search operation and obtain population P' t+1
[0106] Step 10: P' t+1 Perform the replication operator operation to obtain the population Q t+1 ;
[0107] Step 11: Place P t+1 and Q t+1 Merge updates to Rpop.
[0108] Step 12: If the current generation t does not exceed the maximum number of iterations 100, repeat steps 5-11; otherwise, output the Pareto frontier solution set.
[0109] The scheduling scheme obtained by using the anti-interference scheduling method proposed by the present invention is:
[0110]
[0111] The spatial layout of the scheme is as follows Fig.10 Shown
[0112] Five algorithms with good performance in solving such problems are selected as comparative algorithms, including adaptive genetic algorithm (AGA), cultural algorithm (MA), neighborhood search algorithm (INS), multi-objective genetic algorithm (MGA), and multi-objective ant colony algorithm (MACO), and the scalability and convergence are analyzed in two parts. MPGI represents the anti-interference scheduling algorithm proposed in this paper. Fig.11 and Fig.12 As shown, the proposed algorithm is better than the existing algorithms in terms of convergence and scalability.
[0113] The technical effect of the above embodiment is that, compared with some existing algorithms, the present invention can provide a higher quality solution for the vehicle scheduling problem of multiple distribution centers, which also shows that the proposed anti-interference scheduling method is currently more suitable for the anti-interference vehicle scheduling problem of multiple distribution centers. The above embodiment is used for the anti-interference vehicle scheduling method of multiple distribution centers. In the vehicle scheduling of multiple distribution centers, the vehicle starts from the distribution center, provides distribution service to the last customer, and then returns to a distribution center according to actual needs. In order to solve the common dilemma problem in the vehicle scheduling of multiple distribution centers, the present invention proposes a hybrid anti-interference multi-objective evolutionary algorithm. The algorithm design is mainly reflected in: proposing an initial solution that takes into account both the timely point and the shortest edge to generate a set of high-quality initial solutions; designing replication and local search operators to improve the exploration and development capabilities of the algorithm. Compared with some existing algorithms, the present invention obtains a higher-quality vehicle scheduling solution for multiple distribution centers.
[0114] The above describes the embodiments of the present invention in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Various changes can be made according to the purpose of the invention of the present invention. Any changes, modifications, substitutions, combinations or simplifications made according to the spirit and principle of the technical solution of the present invention should be equivalent replacement methods. As long as they meet the purpose of the invention of the present invention and do not deviate from the technical principles and inventive concepts of the present invention, they belong to the protection scope of the present invention.
Claims
1. A method for anti-interference vehicle scheduling for multiple distribution centers, characterized in that: The steps are as follows: Step 1: Determine the distribution operation parameters; Step 2: Set algorithm parameters; Step 3: Initialize the population; Step 4: Perform local search on pop; Step 5: Perform a copy operator on pop'; Step 6: Perform non-dominated sorting on Rpop; Step 7: Let the new group P t+1 is an empty set; Step 8. Calculate F i The crowding distance of each individual in the i The partial order relation of Step 9: Set the i-th classification subset F i Select individuals from the list and fill in P t+1 , until P t+1 The number of individuals in is M; Step 10: P t+1 Perform local search operations and obtain the population P' t+1 ; Step 11: P' t+1 Perform the replication operator operation to obtain the population Q t+1 ; Step 12: Place P t+1 and Q t+1 Updates to Rpop; Step 13: If the current generation t does not exceed the maximum number of iterations iter, repeat steps 6-12; otherwise, output the Pareto frontier solution set; The step 1 determines the distribution operation parameters: according to the actual situation of the distribution operation, the location of the warehouse, the location of the customer, the maximum travel time of the delivery route, the number of abnormal fluctuations in the travel time of the delivery route, the delivery time window specified by the customer, and other information are given; The interference information of travel time is expressed as follows: The symbols in formula (1) have the following meanings: t i,j represents the travel time of the delivery vehicle from the i-th customer to the j-th customer; t i,j exist Any value between represents the nominal travel time from the i-th customer to the j-th customer; θ i,j The nominal travel time from the i-th customer to the j-th customer is relative to The maximum offset of i,j It indicates the uncertainty level of travel time fluctuation; Γ indicates the number of abnormal fluctuations that may occur in the travel time of the delivery path; The optimization goals are as follows: Minimize∑ i∈V ∑ j∈V ∑ k∈K t i,j x i,j,k (3) In formulas (2) and (3), x i,j,k If the kth car goes from the ith customer to the jth customer, then x i,j,k The value is 1, otherwise, the value is 0; s i,k represents the time when the kth vehicle arrives at the ith customer, LT i The latest arrival time allowed for the i-th customer, ET i represents the earliest allowed arrival time of the i-th customer; w1 represents the unit positive penalty cost, represents the sum of positive penalty costs caused by the delivery vehicle providing delivery service later than the customer's allowed arrival time; w2 represents the unit negative penalty cost; let Represents the total penalty cost; TTC = ∑ i∈V ∑ j∈V ∑ k∈K t i,j x i,j,k represents the total transportation cost; Step 2 sets the algorithm parameters: population size (M), initialization factor (α), scaling factor (d); travel time in U T Take the value at the endpoint of ; The step 3 population initialization: In order to solve the common dilemma in vehicle dispatching in distribution centers, a heuristic rule of timely point priority, denoted as PTVH, and a heuristic rule of minimum spanning tree priority, denoted as PMSTH, are designed respectively; For the heuristic rule of timely priority, the pseudo code of create_zero_route(π) is used. The pseudocode of insert_cumstomer(π,k,R) and the pseudocode program implementation of ptvh(π) are shown in the figure below. The pseudo code program of create_zero_route(π) is as follows: The pseudo code of insert_cumstomer(π,k,R) is as follows: Among them, the pseudo code program of ptvh(π) is as follows: The minimum spanning tree priority heuristic rule is implemented by the pseudo code of PMSTH and the pseudo code program of CreateRoute, where the pseudo code program of PMSTH is as follows: Among them, the pseudo code program of CreateRoute is as follows: Two heuristic rules are used to generate M feasible solutions to form an initial population. First, a constant α∈[0,1] is given and a real number β∈[0,1] is randomly generated. If α is not less than β, a feasible solution is generated using PTVH. Otherwise, a feasible solution is generated using PMSTH. The above process is repeated until M feasible solutions are generated. Therefore, this initial solution generation strategy can effectively ensure the diversity of the population and the quality of the initial solution. This process is recorded as init_pop. The local search operator in step 4 is proposed: a local search operator is proposed: the rows in A are arranged in descending order according to the total travel time and the corresponding rows are exchanged; the matrix after the exchange is recorded as |K| represents the total number of vehicles in the parking lot, h represents the hth customer served by a vehicle, and H represents the maximum number of customers that a vehicle can serve; Select any customer with the maximum total penalty cost path Extract all customer nodes corresponding to the k'th vehicle (k'≠1); without exceeding the maximum load, Exchange with all customer elements in row k'; if the newly generated individual A' can dominate A, replace A with A'; otherwise, 1,1 ,a 1,2 ,…,a 1,H ) and repeat the above process by selecting other elements in turn until no solution that can dominate A is found; sort_tpc(A z ) The matrix A corresponding to the zth individual z Arrange the total penalty cost of each delivery path in descending order to get a new matrix The role of the local search operator is to continuously generate new neighborhood structures to improve the performance of the solution; let TTC(L k ) represents the total travel time of the delivery route of the kth vehicle before executing the point pair exchange; this process is recorded as Localsearch; The step 5 replication operator: a replication operator is proposed. After local search, some individuals will produce structures that are conducive to further improvement of the two optimization objectives. On this basis, according to the characteristics of the solution with better performance, the replication operator is redesigned to further improve the performance of the feasible solution. Since the two optimization objectives have a certain degree of mutual exclusivity, the replication operator is redesigned on the basis of local search to further reduce the mutual exclusivity between the two optimization objectives and improve the performance of the solution. The replication operator is divided into two processes: ①Deconstruction process: For individual A in the population z , according to whether the customer point in the matrix is a timely point, A z Divided into two parts A' z and A” z , where A' z The customer points are all timely points, A' z The central African time point is marked as 0, A" z The construction method is the opposite; this process is recorded as split(A z ); ②Construction process: From A” z Randomly select customers form a set λ, where d∈[0,1]; insert it into A' z In the process, the influence of mutual exclusivity between two optimization objectives on the dominance of the solution is reduced; Extract a customer from λ and try to insert it into A' z In front of each customer in λ, calculate the function values of the two optimization objectives after the attempted insertion, select an insertion position with stronger dominance, and insert the point in front of this position; repeat the above process until all d customers in λ are inserted into A' z If the reasonable location of the customer in λ in the delivery route in F' is the last node, it is replaced by the parking lot with the smallest distance to the current node; this process is recorded as Reproduction.
