A synchronous cycle picking method and system for automobile parts inbound logistics
By constructing a multi-trip path planning model and an improved adaptive large-scale neighborhood search algorithm, combined with damage and repair operators, simulated annealing mechanisms and post-local search methods, the logistics of parts into the factory is optimized and solves the problems faced by new energy vehicle manufacturing enterprises. The problem of simultaneous pickup of small batches of parts of multiple varieties minimizes transportation costs and improves efficiency.
Patent Information
- Application Number
- CN202311718336.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-14
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-12-14
AI Technical Summary
Traditional direct delivery by special vehicles cannot take into account the logistics efficiency and cost requirements of new energy vehicle manufacturing enterprises for various types of small batch parts. The existing combination of circular pickup and simultaneous pickup has few results, making it difficult to optimize the logistics of parts entering the factory.
This paper proposes a synchronous cycle pickup method for auto parts inbound logistics. By constructing a multi-trip path planning model, the forward insertion heuristic method is used to construct the initial solution, and the destruction and repair operators, simulated annealing mechanism and post-local search method are combined. Optimize transportation routes to minimize transportation costs.
It effectively improves vehicle utilization efficiency, reduces the logistics cost of parts entering the factory, provides management strategies and suggestions, and is suitable for new energy vehicle manufacturing companies to simultaneously pick up multiple varieties of small batch parts.
Smart Images

Figure CN117592898B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of automobile parts logistics planning, and in particular relates to a synchronous cycle picking method and system for automobile parts inbound logistics. Background Art
[0002] Parts inbound logistics involves the process of transportation, warehousing and management from suppliers to manufacturing companies, which is crucial for the production continuity, inventory cost control and logistics cost reduction of automobile manufacturing companies. Reasonable parts inbound logistics can make the parts arrive at the production line on time, avoiding production stoppages or production delays due to lack of parts; the timely arrival of parts can reduce inventory holding costs and reduce storage space requirements; the optimization of logistics routes can help companies reduce transportation costs. Especially in the new energy vehicle industry, there are many vehicle models and configurations, and many personalized parts. How to optimize the parts inbound logistics has become the key to improving the competitive advantage of new energy vehicle manufacturers.
[0003] At present, there have been many achievements in the research of circular pickup and synchronous pickup, but there are few achievements in combining the two. With the increasing popularity of personalized demand for new energy vehicles, the types of synchronous auto parts are on the rise, and the traditional synchronous pickup of direct delivery by special vehicles is difficult to take into account the dual needs of logistics efficiency and logistics costs. Summary of the invention
[0004] The present invention aims to solve the deficiencies of the prior art and proposes a method and system for synchronous cyclic picking of automobile parts entering the factory. It combines cyclic picking with synchronous picking to solve the problem of synchronous picking of multi-variety and small-batch parts of new energy automobile manufacturing enterprises.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] A synchronous cycle picking method for inbound logistics of automobile parts comprises the following steps:
[0007] Build a multi-trip path planning model;
[0008] Based on the multi-trip path planning model, taking the minimum transportation cost as the criterion, an initial solution is constructed using a forward insertion heuristic method;
[0009] The initial solution is destroyed by using a destruction operator, and the destroyed solution is repaired by using a repair operator to generate a new solution;
[0010] Processing the new solution based on a simulated annealing mechanism to obtain an output solution;
[0011] The output solution is optimized using a post-local search method to obtain an optimal pickup solution.
[0012] Preferably, the minimum shipping fee criteria include:
[0013]
[0014] Among them, α is the transportation cost per unit time, i and j are nodes i and j respectively, V is the set of all nodes, k is vehicle k, K is the set of vehicles, g is the gth trip, and G is the set of vehicle trips.
[0015] Preferably, the method for constructing the initial solution includes:
[0016] Construct an empty path set W1 and an empty path set W2 of vehicle k, and construct a set U1 and a set U2, wherein the set U1 is a set of parts sorted in ascending order of distance between the OEM and the supplier, and the set U2 is a set of parts sorted in ascending order of the latest allowed departure time;
[0017] Take the farthest parts from the set U1 and the set U2 respectively. and the earliest part with the latest allowed departure time And construct path set W1 and path set W2;
[0018] Traverse the set U1 and the set U2, calculate the subsequent part insertion cost, and insert the part in the path set W1 and the path set W2 and the parts
[0019] The path with the lowest transportation cost is selected from the path set W1 and the path set W2 as the initial solution.
[0020] Preferably, the damage operator includes: a random damage operator, a worst damage operator, a delivery date-related damage operator and a location-related damage operator;
[0021] The random destruction operator is used to randomly select a trip of a vehicle and randomly select a certain number of parts to remove from the current path sequence;
[0022] The worst damage operator is used to sort all parts according to distance and remove the parts with the farthest distance;
[0023] The delivery date correlation destruction operator is used to calculate the part correlation of any two parts from different suppliers, and remove the parts with higher delivery date correlation;
[0024] The position correlation destruction operator is used to calculate the position correlation of any parts and remove parts with high position correlation.
[0025] Preferably, the repair operator includes: a greedy repair operator and a regret repair operator;
[0026] The greedy repair operator is used to replace the parts removed by the destruction operator according to the post-repair objective function value increment ΔF m Arrange in ascending order and insert the parts one by one into the increment of the objective function value after repair ΔF m The smallest position;
[0027] The regret repair operator is used to calculate the objective function value increment of the optimal insertion position of the part and the increment of the objective function value of the suboptimal insertion position Based on the objective function value increment and the objective function value increment The regret value of the part is calculated based on the absolute value of the difference, and the position with the largest regret value is selected for repair.
[0028] Preferably, the simulated annealing mechanism comprises:
[0029] Set the current iteration number to ε and the total number of iterations to τ, then the probability of accepting a new solution is:
[0030]
[0031] Where ΔF is the increment of the objective function value, T ε is the temperature of the current iteration;
[0032] In the next iteration, T ε+1 The probability of cooling is:
[0033]
[0034] in, and are the target values at the beginning and end of the εth generation, respectively, and τ-ε is the remaining number of iterations.
[0035] Preferably, the optimization method comprises:
[0036] When the number of weak perturbation iterations is not met, a weak perturbation operation is performed on the output solution, and it is determined whether the strong perturbation condition is met after the perturbation;
[0037] When the strong disturbance condition is met, a strong disturbance operation is performed on the output solution to complete the optimization and obtain the optimal pickup solution.
[0038] Preferably, the weak disturbance operation includes:
[0039] Use the Or-opt operator to select any two suppliers in a trip, and insert the supplier into any node in the trip while maintaining the original order of suppliers;
[0040] Use the Exchange operator to arbitrarily exchange the positions of two suppliers in two trips;
[0041] The 2-opt operator is used to arbitrarily exchange the positions of all parts of two suppliers in a trip.
[0042] Preferably, the strong disturbance operation includes: using a strong 2-opt operator to select a supplier in the itinerary, traversing other suppliers in the itinerary, and obtaining the optimal pickup solution.
[0043] The present invention also provides a synchronous cycle pickup system for inbound logistics of automobile parts, the pickup system applies any of the above-mentioned pickup methods, including: a model building module, an initial solution building module, a new solution generation module, an annealing iteration module and a result optimization module;
[0044] The model building module is used to build a multi-trip path planning model;
[0045] The initial solution construction module is used to construct an initial solution based on the multi-trip path planning model and taking the minimum transportation cost as the criterion by using the forward insertion heuristic method;
[0046] The new solution generating module is used to destroy the initial solution using a destruction operator, and repair the destroyed solution using a repair operator to generate a new solution;
[0047] The annealing iteration module is used to process the new solution based on a simulated annealing mechanism to obtain an output solution;
[0048] The result optimization module is used to optimize the output solution using the post-local search method to obtain the optimal pickup solution.
[0049] Compared with the prior art, the present invention has the following beneficial effects:
[0050] The present invention combines cyclic pickup with synchronous pickup with the goal of minimizing transportation costs. By constructing a multi-trip path planning model and an improved adaptive large-scale neighborhood search algorithm, it effectively improves vehicle utilization efficiency and reduces the logistics cost of parts entering the factory, providing management countermeasures and suggestions for the logistics of automobile OEMs entering the factory. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in 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 paying creative labor.
[0052] Figure 1 A schematic diagram of a method flow of an embodiment of the present invention;
[0053] Figure 2is a flowchart of a method according to an embodiment of the present invention;
[0054] Figure 3 A coding schematic diagram of an embodiment of the present invention;
[0055] Figure 4 1 is a comparison of the algorithm effects of medium and large-scale examples of the embodiments of the present invention, where (a) represents the average cost of different part sizes, and (b) represents a box plot of the effects of the three algorithms. DETAILED DESCRIPTION
[0056] 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.
[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0058] Embodiment 1
[0059] In this embodiment, if Figure 1 , Figure 2 As shown, a synchronous cycle picking method for inbound logistics of automobile parts includes the following steps:
[0060] S1. Build a multi-trip path planning model.
[0061] First, we set the following assumptions: (1) All vehicles depart from and return to the automobile manufacturer; (2) The number of visits to each supplier is no greater than the number of its orders; (3) The total load of the vehicle in one trip does not exceed the vehicle capacity; and (4) Each vehicle cannot perform multiple trips at the same time.
[0062] Define symbols:
[0063] V = {i|i = 0, 1, 2, ..., n, n+1}: V is the set of all nodes, nodes 0 and n+1 represent automobile OEMs, V e ={i|i=1, 2, ..., n} represents the supplier set;
[0064] K={k|k=1,2,...,k max}: vehicle collection;
[0065] P = {m|m = 1, 2, ..., p max}: Parts collection, including parts provided by synchronized suppliers;
[0066] G={g|g=1,2,...,g max}: vehicle trip set, where g max =p max ;
[0067] α: transportation cost per unit time (yuan / km);
[0068] t ij : Transportation time from node i to node j (minutes);
[0069] set mj =1, if order m is supplied by supplier j;
[0070] q m : The capacity of part m;
[0071] d m : Delivery date of order m;
[0072] Q: Vehicle capacity limit;
[0073] M: A very large positive number.
[0074] Define the decision variables:
[0075]
[0076]
[0077] The time when vehicle k visits node i during its gth trip.
[0078] Build a multi-trip path planning model:
[0079]
[0080] The constraints are:
[0081]
[0082]
[0083] Objective (1) is to minimize the vehicle transportation cost, which is the vehicle travel time multiplied by the travel cost per unit time. Constraint (2) indicates that the number of times the vehicle enters node j in a single trip is less than or equal to 1. Constraint (3) ensures that the number of times the vehicle exits node j in a single trip is less than or equal to 1. Constraint (4) is a network flow conservation constraint, the number of times the vehicle enters and leaves the supplier node in a single trip is equal. Constraint (5) ensures that the number of times the vehicle enters and leaves the OEM is equal. Constraint (6) indicates that the total capacity of the loaded parts in a single trip does not exceed the vehicle capacity limit. Constraint (7) ensures that the vehicle visits nodes in a single trip in a sequential order. Constraint (8) ensures that the departure time of the vehicle from the OEM for the next trip is greater than the time to reach any node j in this trip. Among them, represents the time when vehicle k departs from the OEM in the gth trip. Constraints (9)-(11) determine whether the vehicle arrives at supplier j in each trip. Constraint (12) limits the delivery time of each part in each trip to be less than the specified delivery period. This constraint ensures the synchronous supply requirements of the general assembly line. Constraint (13) ensures that each part is delivered and is delivered only once. Constraints (14)-(15) define the decision variables.
[0084] Constraint (12) is a nonlinear constraint, which is linearized by introducing auxiliary variables.
[0085] Set auxiliary variable Then we have:
[0086]
[0087] Secondly, introduce auxiliary variables Then constraint (12) can be linearized as:
[0088]
[0089] The decision making of the research problem in the embodiment includes four aspects: the order in which vehicles visit suppliers, the parts loaded during the transportation process of the vehicles, the time points of visiting suppliers, and the multi-trip arrangement of the vehicles.
[0090] In order to make the chromosome sequence fully express the entire solution space, the encoding of each vehicle includes the trip layer, the path layer and the parts layer. Among them, the trip layer represents the itinerary of the vehicle, the path layer represents the order in which the vehicle visits the supplier node, and the parts layer represents the parts loaded by the vehicle in the corresponding trip and supplier. Take the problem of 10 parts, 4 suppliers and 1 vehicle as an example. Figure 3 As shown, the code represents the initial solution of vehicle 1, that is, vehicle 1 includes two trips, where trip 1 visits supplier 1 and supplier 2 successively, takes parts 1, 6, and 5 from supplier 1, and takes parts 2, 4, and 8 from supplier 2; trip 2 is the same as trip 1.
[0091] S2. Based on the multi-trip path planning model, the initial solution is constructed using the forward insertion heuristic method with the minimum transportation cost as the criterion.
[0092] The method for constructing the initial solution includes: constructing an empty path set W1 and an empty path set W2 of vehicle k, constructing a set U1 and a set U2, wherein set U1 is a set of parts sorted in ascending order of distance between the OEM and the supplier, and set U2 is a set of parts sorted in ascending order of the latest allowed departure time; taking out the parts with the longest distance from set U1 and set U2 respectively and the earliest part with the latest allowed departure time And construct path set W1 and path set W2; traverse set U1 and set U2, calculate the subsequent part insertion cost, and insert parts into path set W1 and path set W2 and parts Select the path set W1 and the path set W2 with the lowest transportation cost as the initial solution.
[0093] In this embodiment, the initial solution has an important influence on the solution speed and solution quality. The construction methods mainly include CW saving method, nearest neighbor method, insertion method, etc. Among them, the forward insertion heuristic algorithm in the insertion method is a greedy heuristic construction method, which has better performance for problems with time constraints. This embodiment uses the forward insertion heuristic method to construct the initial solution, and the specific process is as follows:
[0094] S2.1 Set the path set W1 and path set W2 of vehicle k to empty sets. Construct two sets U1 and U2, where U1 is a set of parts sorted in ascending order of distance between the OEM and the supplier and U2 is a set of parts sorted in ascending order of the latest allowed departure time. The latest allowed departure time is defined as:
[0095] t l =d m -2×t 0j (25)
[0096] The latest allowed departure time of part m is part delivery date d m Subtract twice the transportation time from the OEM to the corresponding supplier j of part m.
[0097] S2.2 For sets U1 and U2, take out the parts with the longest distance and the earliest allowed departure time respectively. and parts Insert path sets W1 and W2, and delete from U1 and U2 and Construct two path sets.
[0098] S2.3 traverses the sets U1 and U2, calculates the subsequent part insertion cost, and adds the part to the path sets W1 and W2 and Insert the parts with the lowest cost one by one and perform feasibility check. If the constraints cannot be met, create a new itinerary and execute S1.2 and S1.3.
[0099] S2.4 If the capacity of a trip of the vehicle is full, a new trip is created and S1.2 and S1.3 are executed until no parts can be inserted into the vehicle.
[0100] S2.5 If no parts can be inserted, a trip is created using a new vehicle until all parts are inserted.
[0101] S2.6 Select a path set with the lowest transportation cost from path set W1 and path set W2 as the initial solution.
[0102] S3. Use the destruction operator to destroy the initial solution, and use the repair operator to repair the destroyed solution to generate a new solution.
[0103] The destruction operators include: random destruction operator, worst destruction operator, delivery date-related destruction operator and position-related destruction operator; the random destruction operator is used to randomly select a trip of a vehicle and randomly select a certain number of parts to remove from the current path sequence; the worst destruction operator is used to sort all parts by distance and remove the parts with the farthest distance; the delivery date-related destruction operator is used to calculate the part correlation between parts from any two different suppliers and remove parts with higher delivery date correlation; the position-related destruction operator is used to calculate the position correlation between any parts and remove parts with higher position correlation.
[0104] The repair operators include: greedy repair operator and regret repair operator; the greedy repair operator is used to repair the parts removed by the destruction operator according to the increment of the objective function value after repair ΔF m Arrange in ascending order and insert the parts one by one into the increment of the objective function value after repair ΔF m Minimum position; The regret repair operator is used to calculate the increment of the objective function value of the optimal insertion position of the part and the increment of the objective function value of the suboptimal insertion position Based on the objective function value increment And the increment of objective function value The absolute value of the difference is used to calculate the regret value of the part, and the position with the largest regret value is selected for repair.
[0105] In this embodiment, in order to strictly meet the parts delivery requirements, when performing the destruction operation on each path, it is necessary to destroy the parts associated with the same supplier in the trip. The following four destruction operators are designed:
[0106] (1) Random destruction operator rdr
[0107] Randomly select a trip of a vehicle, randomly select a certain number of parts (the number varies according to the scale of the case and is proportional to the total number of parts), and remove them from the current path sequence.
[0108] (2) Worst damage operator wdr
[0109] In the current local optimal solution, all parts are sorted by distance, and the parts with the farthest distance are removed first. This operator can retain the results of the previous iteration process as much as possible. The closer the distance between the parts in the sequence, the lower the possibility of the parts being damaged. For example, if the part with the longest transportation distance is part 4, part 4 will be removed with the highest probability.
[0110] (3) Delivery time related damage operator drdr
[0111] Calculate the part relevance of any two parts from different suppliers, and remove the parts with higher delivery date relevance first. The delivery date relevance of any two parts is defined as:
[0112] l mn =1 / |d m -d n | (26)
[0113] When the delivery dates of two parts are highly correlated, when they are removed from different suppliers and repaired at the same time, they are more likely to be assigned to the same itinerary, and a better solution is obtained with a higher probability. When the delivery dates of two parts are less correlated, if the delivery date constraints cannot be met during the repair process, the removed parts are put back to their original positions to avoid invalid damage.
[0114] (4) Position-dependent destruction operator lrdr
[0115] The idea of the location-dependent damage operator lrdr is similar to that of the delivery-time-dependent damage operator drdr. It removes parts with high location correlation and then assigns them to the same trip of the same vehicle with a greater probability when repairing them, so as to achieve the effect of trip aggregation and thus reduce the transportation distance.
[0116] The following two repair operators are also designed:
[0117] (1) Greedy repair operator gfr
[0118] The part m removed by the destruction operator is incremented by the objective function value after repair ΔF m Arrange in ascending order. Insert the parts one by one to the position where the increase in the objective function value after repair is the smallest.
[0119] (2) Regret repair operator rfr
[0120] First, calculate the increment of the objective function value of the optimal insertion position Then calculate the increment of the objective function value of the suboptimal insertion position The regret value of part m is calculated based on the absolute value of the difference between the two, and the position with a larger regret value is preferentially selected for repair.
[0121] S4. Process the initial solution and the new solution based on the simulated annealing mechanism to obtain the output solution.
[0122] Accept solutions based on simulated annealing mechanism. Compare the new solution with the initial solution. If the new solution is better than the initial solution, update the initial solution to the new solution. Otherwise, accept the new solution with a certain probability according to the simulated annealing acceptance mechanism.
[0123] In this embodiment, the simulated annealing acceptance mechanism accepts inferior solutions according to probability, which helps to jump out of the local optimum and avoid local convergence. The simulated annealing mechanism includes: setting the current iteration number to ε and the total number of iterations to τ, then the probability of accepting a new solution is:
[0124]
[0125] Where ΔF is the increment of the objective function value, T ε is the temperature of the current iteration; in the next iteration, T ε+1 The probability of cooling is:
[0126]
[0127] in, and are the target values at the beginning and end of the εth generation, respectively, and τ-ε is the remaining number of iterations.
[0128] At the beginning of the iteration, T ε The objective function value decreases quickly, so the early iterative solution can converge quickly; in the middle of the iteration, the change in the objective function value decreases, and T ε The probability of increase becomes larger, so the inferior solution is accepted with a greater probability, which is conducive to escaping the local optimum; in the later stage of iteration, T ε The rising probability is reduced, and only solutions that tend to converge are accepted to avoid the deterioration of the effect in the later stage of iteration.
[0129] S5. Use the post-local search method to optimize the output solution and obtain the optimal pickup solution.
[0130] The optimization method includes: when the number of weak perturbation iterations is not met, a weak perturbation operation is performed on the output solution, and it is determined whether the strong perturbation condition is met after the perturbation; when the strong perturbation condition is met, a strong perturbation operation is performed on the output solution to complete the optimization and obtain the optimal pickup solution.
[0131] In this embodiment, according to the characteristics of the problem, two local optimization operators are designed: the Or-opt operator and the Exchange operator, and two disturbance operators: the 2-opt operator and the strong 2-opt operator. The Or-opt operator can inherit a better path and retain the original itinerary route to ensure the delivery time requirement. The exchange operator will not destroy the original itinerary structure and can further optimize the itinerary. The 2-opt operator will not be offset by the operations of the Or-opt operator and the exchange operator, and has a better search effect for delivery time. The strong 2-opt operator realizes neighborhood search of different itineraries by traversing all suppliers in a itinerary, and can search more path combinations than the 2-opt operator.
[0132] The weak perturbation operations include: using the Or-opt operator to select any two suppliers in a trip, and inserting the suppliers into any node in the trip while ensuring the original order of suppliers; using the Exchange operator to arbitrarily exchange the positions of two suppliers in two trips; using the 2-opt operator to arbitrarily exchange the positions of all parts of two suppliers in one trip.
[0133] The strong perturbation operation includes: using the strong 2-opt operator to select a supplier in the itinerary, traversing other suppliers in the itinerary, and obtaining the optimal pickup solution.
[0134] Embodiment 2
[0135] In this embodiment, a synchronous cycle picking system for inbound logistics of automobile parts includes: a model building module, an initial solution building module, a new solution generation module, an annealing iteration module and a result optimization module.
[0136] The model building module is used to build a multi-trip path planning model. Among them, the minimum transportation cost criteria include:
[0137]
[0138] Among them, α is the transportation cost per unit time, i and j are nodes i and j respectively, V is the set of all nodes, k is vehicle k, K is the set of vehicles, g is the gth trip, and G is the set of vehicle trips.
[0139] The initial solution building module is used to construct the initial solution based on the multi-trip path planning model, taking the minimum transportation cost as the criterion and using the forward insertion heuristic method.
[0140] The workflow of the initial solution construction module includes: constructing the empty path set W1 and the empty path set W2 of vehicle k, constructing the set U1 and the set U2, where the set U1 is a set of parts sorted in ascending order by the distance between the OEM and the supplier, and the set U2 is a set of parts sorted in ascending order by the latest allowed departure time; taking out the parts with the longest distance from the set U1 and the set U2 respectively and the earliest part with the latest allowed departure time And construct path set W1 and path set W2; traverse set U1 and set U2, calculate the subsequent part insertion cost, and insert parts into path set W1 and path set W2 and parts Select the path set W1 and the path set W2 with the lowest transportation cost as the initial solution.
[0141] The new solution generating module is used to destroy the initial solution using a destruction operator, and to repair the destroyed solution using a repair operator to generate a new solution.
[0142] The destruction operators include: random destruction operator, worst destruction operator, delivery date-related destruction operator and position-related destruction operator; the random destruction operator is used to randomly select a trip of a vehicle and randomly select a certain number of parts to remove from the current path sequence; the worst destruction operator is used to sort all parts by distance and remove the parts with the farthest distance; the delivery date-related destruction operator is used to calculate the part correlation between parts from any two different suppliers and remove parts with higher delivery date correlation; the position-related destruction operator is used to calculate the position correlation between any parts and remove parts with higher position correlation.
[0143] The repair operators include: greedy repair operator and regret repair operator; the greedy repair operator is used to repair the parts removed by the destruction operator according to the increment of the objective function value after repair ΔF m Arrange in ascending order and insert the parts one by one into the increment of the objective function value after repair ΔF m Minimum position; The regret repair operator is used to calculate the increment of the objective function value of the optimal insertion position of the part and the increment of the objective function value of the suboptimal insertion position Based on the objective function value increment And the increment of objective function value The absolute value of the difference is used to calculate the regret value of the part, and the position with the largest regret value is selected for repair.
[0144] The annealing iteration module is used to process the new solution based on a simulated annealing mechanism to obtain an output solution.
[0145] The annealing iteration module accepts solutions based on the simulated annealing mechanism. The new solution is compared with the initial solution. If the new solution is better than the initial solution, the initial solution is updated to the new solution. Otherwise, the new solution is accepted with a certain probability according to the simulated annealing receiving mechanism.
[0146] In this embodiment, the simulated annealing acceptance mechanism accepts inferior solutions according to probability, which helps to jump out of the local optimum and avoid local convergence. The simulated annealing mechanism includes: setting the current iteration number to ε and the total number of iterations to τ, then the probability of accepting a new solution is:
[0147]
[0148] Where ΔF is the increment of the objective function value, T ε is the temperature of the current iteration; in the next iteration, T ε+1 The probability of cooling is:
[0149]
[0150] in, and are the target values at the beginning and end of the εth generation, respectively, and τ-ε is the remaining number of iterations.
[0151] At the beginning of the iteration, T ε The objective function value decreases quickly, so the early iterative solution can converge quickly; in the middle of the iteration, the change in the objective function value decreases, and T ε The probability of increase becomes larger, so the inferior solution is accepted with a greater probability, which is conducive to escaping the local optimum; in the later stage of iteration, T ε The rising probability is reduced, and only solutions that tend to converge are accepted to avoid the deterioration of the effect in the later stage of iteration.
[0152] The result optimization module is used to optimize the output solution using the post-local search method to obtain the optimal pickup solution.
[0153] The workflow of the result optimization module includes: when the number of weak perturbation iterations is not met, a weak perturbation operation is performed on the output solution, and it is determined whether the strong perturbation condition is met after the perturbation; when the strong perturbation condition is met, a strong perturbation operation is performed on the output solution to complete the optimization and obtain the optimal pickup solution.
[0154] The weak perturbation operations include: using the Or-opt operator to select any two suppliers in a trip, and inserting the suppliers into any node in the trip while ensuring the original order of suppliers; using the Exchange operator to arbitrarily exchange the positions of two suppliers in two trips; using the 2-opt operator to arbitrarily exchange the positions of all parts of two suppliers in one trip.
[0155] The strong perturbation operation includes: using the strong 2-opt operator to select a supplier in the itinerary, traversing other suppliers in the itinerary, and obtaining the optimal pickup solution.
[0156] Embodiment 3
[0157] In this embodiment, numerical experiments are performed to verify the superiority of the present invention.
[0158] This embodiment generates a test case for experiment based on the decrypted data of a new energy vehicle company in Guangdong Province.
[0159] Three scale examples of small scale, medium scale and large scale are randomly generated. The types and parameters of examples are shown in Table 1. There are 9 small scale examples, 24 medium and large scale examples, and the total number of examples is 33. For example, the example of 5 vehicles and 20 parts is represented as "5-20".
[0160] Table 1
[0161]
[0162] The longitude and latitude and coordinates of the OEM (serial number 0) and suppliers (serial numbers 1 to 10) are shown in Table 2.
[0163] Table 2
[0164]
[0165] 1. Performance analysis
[0166] (1) Comparison between the present invention and Gurobi's optimal solution
[0167] First, the performance analysis is performed based on a small-scale example. For each problem size, the average value is taken after running 5 times. cost(Gurobi) represents the optimal solution of the model proposed by the present invention by Gurobi solver, and cost(IALNS) represents the target value obtained by the present invention. The algorithm solution time is Time(s), and Gap represents the relative error between the algorithm and the optimal solution.
[0168]
[0169] As shown in Table 3, the average relative error between the present invention and the optimal solution is 0.3%, and its average solution time is much shorter than that of Gurobi. As the scale of parts increases, the solution time of Gurobi increases greatly, while the present invention can still complete the solution in a short time, which reflects the advantages of the present invention in terms of performance and speed.
[0170] Table 3
[0171]
[0172] (2) Comparison of the present invention with other heuristic algorithms
[0173] For large-scale examples, Gurobi is difficult to obtain the optimal solution. This embodiment compares the present invention with the heuristic algorithm for large-scale examples. According to the analysis of heuristic algorithms for solving the MTVRP problem by Elshaer et al., heuristic algorithms such as ALNS algorithm, ant colony algorithm, variable neighborhood search algorithm (VNS) and genetic algorithm (GA) have better performance. This embodiment selects VNS algorithm and GA algorithm as comparison algorithms.
[0174] For medium-scale and large-scale examples, the solution time and objective function value of each algorithm are recorded, and the results of IALNS are used as the benchmark. The relative error calculation formula is:
[0175]
[0176] Wherein, cost(X) represents the target value obtained by VNS or GA algorithm, and cost(IALNS) refers to the target value obtained by the present invention. In the experiment, both VNS algorithm and GA algorithm use forward insertion heuristic initial solution generation method. Five experiments are performed for each example to take the average value, and the experimental results are shown in Table 4 and Table 5.
[0177] Table 4
[0178]
[0179] Table 5
[0180]
[0181] As can be seen from Table 4, in medium-scale examples, the solution results of the present invention in most scales are better than those of VNS and GA algorithms. Only in the "6-75" scale is the VNS algorithm slightly better than the present invention. The average value obtained by the present invention is improved by 3.8% and 9.6% on average compared with VNS and GA, and the running speed is better than other heuristic algorithms. As can be seen from Table 5, in large-scale examples, only in the "10-250" example is VNS better than the present invention. In other scales, the present invention is the best. The present invention is improved by 4.1% and 9.4% on average compared with VNS and GA, and the running speed is better than GA and VNS. Compared with VNS and GA algorithms in examples of different scales, the present invention can find the global optimal solution faster.
[0182] Figure 4 (a) shows that for different part sizes, the proposed method is superior to VNS and GA algorithms. Figure 4(b) Box plots of the three algorithms for all examples. Compared with the VNS and GA algorithms, the proposed method has a smaller median, smaller upper and lower bounds, and smaller upper and lower quartiles, indicating that the discreteness of the results is smaller.
[0183] 2. Sensitivity test
[0184] The following sensitivity experiment on part capacity and delivery time is conducted to analyze the impact of different part sizes and part delivery times on transportation costs and the number of transportation vehicles and trips required under the same part parameters.
[0185] (1) Part capacity sensitivity test
[0186] In order to study the impact of part size on transportation costs and transportation vehicles, 12 groups of examples with a number of parts ranging from 10 to 300 were selected, considering three types of parts: small parts, medium parts, and large parts. m The number of vehicles required and the transportation cost are analyzed by setting them to U(6,12), U(12,18) and U(18,24) respectively. The experimental results are shown in Table 6.
[0187] Table 6
[0188]
[0189] The experiment found that when the number of parts increases, more vehicles need to be arranged for distribution under the delivery period constraints, the number of vehicles required also gradually increases, and the total transportation distance increases, resulting in increased transportation costs.
[0190] As the part capacity q m As the number of parts increases, transportation costs and the number of vehicles used also gradually increase. This is because when the number of parts is the same, the increase in part capacity will take up more storage space in the vehicle, requiring more trips and more vehicles to meet distribution needs.
[0191] (2) Parts delivery time sensitivity test
[0192] Parts delivery time m The delivery time determines the urgency of the parts delivery, which affects the transportation cost and the number of vehicle trips. When the delivery time is very urgent, the number of vehicles is higher, but the number of vehicle trips is lower because the delivery time of the parts is urgent and the vehicle cannot load multiple parts with urgent delivery time in a single trip.
[0193] In order to fully analyze the m The impact on transportation costs and the average number of vehicle trips is as follows: Under the condition that other parameters remain unchanged, the number of parts p is selected max For different scale examples of 50, 100, 200, and 300, the part delivery period is set to U(ξ,ξ+η×p max), the experimental results are shown in Table 7.
[0194] Table 7
[0195]
[0196] As the parameters ξ and η increase, the set delivery period becomes more relaxed, and as the urgency of delivery decreases, the transportation cost decreases, and the average number of vehicle trips increases first and then gradually stabilizes.
[0197] When the delivery period is gradually relaxed, more parts will be arranged on the same vehicle or the same trip, increasing the loading rate, thereby reducing the total transportation cost, and reducing the number of vehicles and increasing the average number of trips per vehicle. When the delivery period is very relaxed, only a few vehicles are needed to complete the delivery, at this time the number of vehicle trips reaches the maximum and the transportation cost reaches the minimum.
[0198] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.
Claims
1. A synchronous circulation pickup method for incoming logistics of automobile parts, characterized in that: The following steps are involved: Build a multi-trip path planning model; Based on the multi-trip path planning model, taking the minimum transportation cost as the criterion, an initial solution is constructed using a forward insertion heuristic method; The initial solution is destroyed by using a destruction operator, and the destroyed solution is repaired by using a repair operator to generate a new solution; Processing the new solution based on a simulated annealing mechanism to obtain an output solution; Optimizing the output solution using a post-local search method to obtain an optimal pickup solution; Minimum shipping fee guidelines include: Among them, α is the transportation cost per unit time, i and j are nodes i and j respectively, V is the set of all nodes, k is vehicle k, K is the set of vehicles, g is the g-th trip, G is the set of vehicle trips, t ij is the transportation time from node i to node j, The method for constructing the initial solution includes: Construct an empty path set W1 and an empty path set W2 of vehicle k, and construct a set U1 and a set U2, wherein the set U1 is a set of parts sorted in ascending order of distance between the OEM and the supplier, and the set U2 is a set of parts sorted in ascending order of the latest allowed departure time; Take the farthest parts from the set U1 and the set U2 respectively. and the earliest part within the latest allowed departure time Add the empty path set W1 and the empty path set W2 respectively; Traverse the set U1 and the set U2, calculate the subsequent part insertion cost, and insert the parts into the path set W1 and the path set W2 in turn. and the parts Selecting the path with the lowest transportation cost from the path set W1 and the path set W2 as the initial solution; The optimization method comprises: When the number of weak perturbation iterations is not met, a weak perturbation operation is performed on the output solution, and it is determined whether the strong perturbation condition is met after the perturbation; When the strong disturbance condition is met, a strong disturbance operation is performed on the output solution to complete the optimization and obtain the optimal pickup solution; The weak disturbance operation includes: Use the Or-opt operator to select any two suppliers in a trip, and insert the supplier into any node in the trip while maintaining the original order of suppliers; Use the Exchange operator to arbitrarily exchange the positions of two suppliers in two trips; Use the 2-opt operator to arbitrarily exchange the positions of all parts of two suppliers in a trip; The strong perturbation operation includes: using a strong 2-opt operator to select a supplier in the itinerary, traversing other suppliers in the itinerary, and obtaining the optimal pickup solution.
2. According to claim 1, a synchronous circulation pickup method for incoming logistics of automobile parts is characterized in that: The damage operators include: random damage operator, worst damage operator, delivery date related damage operator and location related damage operator; The random destruction operator is used to randomly select a trip of a vehicle and randomly select a certain number of parts to remove from the current path sequence; The worst damage operator is used to sort all parts according to distance and remove the parts with the farthest distance; The delivery date correlation destruction operator is used to calculate the part correlation of any two parts from different suppliers, and remove the parts with higher delivery date correlation; The position correlation destruction operator is used to calculate the position correlation of any parts and remove parts with high position correlation.
3. According to claim 1, a synchronous circulation pickup method for incoming logistics of automobile parts is characterized in that: The repair operators include: a greedy repair operator and a regret repair operator; The greedy repair operator is used to replace the parts removed by the destruction operator according to the post-repair objective function value increment ΔF m Arrange in ascending order and insert the parts one by one into the increment of the objective function value after repair ΔF m The smallest position; The regret repair operator is used to calculate the objective function value increment of the optimal insertion position of the part and the increment of the objective function value of the suboptimal insertion position Based on the objective function value increment and the objective function value increment The regret value of the part is calculated based on the absolute value of the difference, and the position with the largest regret value is selected for repair.
4. According to claim 1, a synchronous circulation pickup method for incoming logistics of automobile parts is characterized in that: The simulated annealing mechanism includes: Set the current iteration number to ε and the total number of iterations to τ, then the probability of accepting a new solution is: Where ΔF is the increment of the objective function value, T ε is the temperature of the current iteration; In the next iteration, T ε+1 The probability of cooling is: in, and are the target values at the beginning and end of the εth generation, respectively, and τ-ε is the remaining number of iterations.
5. A synchronous circulation pickup system for incoming logistics of automobile parts, the pickup system adopts the pickup method according to any one of claims 1 to 4, characterized in that: include: Model building module, initial solution building module, new solution generation module, annealing iteration module and result optimization module; The model building module is used to build a multi-trip path planning model; The initial solution construction module is used to construct an initial solution based on the multi-trip path planning model and taking the minimum transportation cost as the criterion by using the forward insertion heuristic method; The new solution generating module is used to destroy the initial solution using a destruction operator, and repair the destroyed solution using a repair operator to generate a new solution; The annealing iteration module is used to process the new solution based on a simulated annealing mechanism to obtain an output solution; The result optimization module is used to optimize the output solution using the post-local search method to obtain the optimal pickup solution.
