Warehouse logistics scheduling method based on deep reinforcement learning

By abstracting the logistics path scheduling problem into a traveling salesman model and using deep reinforcement learning methods, we construct pointer networks and graph neural networks, which solves the problem of low solution quality in large-scale logistics scheduling, improves transportation efficiency and decision-making accuracy, and achieves A better transportation route.

CN118552097AActive Publication Date: 2024-08-27ZHEJIANG UNIV +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410505795.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-08-27
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

Existing logistics path scheduling methods are difficult to ensure the quality of solutions for large-scale problems, especially when making optimal decisions in a huge decision space. The calculation complexity is high and it is difficult to meet real-time scheduling requirements.

Method used

Abstract the warehousing and logistics path scheduling problem into a traveling salesman model, build and train a neural network model, use deep reinforcement learning to optimize the solution locally and step by step, improve the quality of the solution through pointer networks and graph neural networks, and divide and conquer into small-scale problems to improve transportation efficiency.

Benefits of technology

It effectively improves the efficiency of logistics transportation. Through the high correlation of the graph neural network and the high decision-making accuracy of the pointer network, it solves the problem of far apart transportation points in the existing method and achieves a better transportation path.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552097A
    Figure CN118552097A
Patent Text Reader

Abstract

The invention discloses a warehouse logistics scheduling method based on deep reinforcement learning. The method comprises the steps of scheduling data set construction, deep neural network model construction and training and transportation path generation. The deep neural network comprises a pointer network and a graph neural network which are respectively used for outputting a transportation point probability vector and a heat map vector, constructing a first reward and punishment value according to the distance length between the transportation point probability vector and a two-dimensional coordinate, and constructing a second reward and punishment value according to the cross entropy between the heat map vector and a target two-dimensional heat map vector; and applying the two reward and punishment values to a loss function for back propagation. According to the transportation path generation, local optimality of a traveling salesman problem is utilized, and the problem that adjacent transportation points in an optimal transportation path are possibly far away from each other in a transportation path obtained by an existing neural network method is effectively solved by exchanging the positions of the transportation points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of warehousing logistics scheduling, and in particular to a warehousing logistics scheduling method based on deep reinforcement learning. Background Art

[0002] Warehousing logistics routing scheduling problems exist widely in various industries. For example, in the manufacturing industry, the warehousing, outbound and transportation of raw materials, semi-finished products and finished products are scheduled; in the logistics and distribution industry, the transportation routes and schedules of vehicles such as trucks, ships and airplanes are planned; in logistics hubs such as airports and ports, the transportation and transshipment of goods are arranged and scheduled. Therefore, efficient and accurate routing scheduling methods can achieve more reasonable resource allocation and bring greater convenience to related industries and fields.

[0003] Most of the existing logistics scheduling methods solve the logistics scheduling problem by abstracting it into a traveling salesman model (TSP model). The solutions are mainly divided into two categories: manual solution and heuristic solution. Manual solution methods include branch and bound method, cutting plane method, integer programming and dynamic programming algorithm. These algorithms usually need to manually design features for the problem and make decisions based on the manually designed features. Although they can obtain better results, the computational complexity is high and it is difficult to meet the real-time scheduling requirements. Heuristic solution methods include A* algorithm, simulated annealing algorithm, genetic algorithm, ant colony algorithm and neural network algorithm. These algorithms usually use heuristic functions and iterative optimization methods to guide the search direction through heuristic information during the search process, hoping to find a satisfactory solution in a shorter time. These methods are more versatile and real-time than manual solution methods. However, heuristic solution methods may not guarantee the quality of the solution, especially in large-scale problems, where the decision space grows exponentially and it is difficult to make better decisions in a huge decision space. Summary of the invention

[0004] The purpose of this invention is to address the shortcomings of current logistics path scheduling methods and propose a warehouse logistics path scheduling method based on deep reinforcement learning under large-scale conditions.

[0005] The present invention mainly solves the problem of large-scale warehousing logistics path scheduling through the following ways: abstracting the warehousing logistics path scheduling problem into a traveling salesman model, constructing and training a neural network model, and based on local optimality, using the neural network model to gradually optimize the solution from the local level, thereby effectively improving the quality of the solution.

[0006] The objective of the present invention is achieved through the following technical solutions:

[0007] A warehouse logistics scheduling method based on deep reinforcement learning, the method comprising:

[0008] S1. Construction of scheduling dataset: Use the traveling salesman problem solver to construct a scheduling dataset including a target two-dimensional coordinate vector and a target two-dimensional heat map vector;

[0009] S2. Construction of deep neural network model, including:

[0010] S2.1. Constructing the first reward and penalty value based on the transport point probability vector and the two-dimensional coordinate distance length;

[0011] S2.2, construct a pointer network whose input is a two-dimensional coordinate vector and a transportation point probability vector and whose output is a transportation point probability vector, use the output of the pointer network as the input of the next round, repeat N times, and construct a loss function in combination with the first reward and punishment value to train the pointer network, and obtain a decision model;

[0012] S2.3, constructing a second reward and punishment value according to the cross entropy between the heat map vector and the target two-dimensional heat map vector;

[0013] S2.4, construct a graph neural network whose input is a two-dimensional coordinate vector and whose output is a two-dimensional heat map vector, and construct a loss function based on the second reward and punishment value to train the pointer network to obtain an association model;

[0014] S3. Construct a two-dimensional coordinate vector according to the location of the transportation point in the warehousing and transportation task, and input it into the trained decision model and association model to obtain the initial path vector and heat map vector.

[0015] The initial path vector is adjusted according to the transport point set in the heat map vector and the convex hull vector of the two-dimensional coordinate vector to obtain the transport path vector to be corrected, and the transport path vector to be corrected is input into the decision model to obtain the corrected transport path vector, which is compared with the initial path vector to save the shortest transport path;

[0016] The transportation path vector to be corrected is reconstructed according to the shortest transportation path, and after the cycle is repeated for a preset number of times, the shortest path is retained as the transportation path.

[0017] Furthermore, the scheduling data set is constructed as follows: randomly generate an Nx2 two-dimensional coordinate vector, input the two-dimensional coordinate vector into the traveling salesman problem solver concorde to obtain an Nx1 target transportation path vector, and generate an NxN two-dimensional heat map vector according to the front and back connection sequence of the transportation points of the target transportation path vector.

[0018] Furthermore, the constructing of the first reward and punishment value specifically includes:

[0019]

[0020] where a i Refers to the transport point with the largest probability value in the transport point probability vector output by the neural network, P1(a i\a0...a i-1 ) refers to the probability of the i-1th transport point to the i-th transport point output by the decision model, Dist(a i-1 , a i )The Euclidean distance from the i-1th transport point to the i-th transport point.

[0021] Furthermore, the constructing of the second reward and punishment value specifically includes:

[0022]

[0023] Where heatmap target two-dimensional heatmap vector, p2 ij A two-dimensional heat map vector output by the association model.

[0024] Furthermore, the pointer network is an attention model, and the training of the attention model is specifically as follows: combining the two-dimensional coordinate vector, taking the first reward and punishment value as the loss function, and using the Adam algorithm to perform back propagation to update the parameters.

[0025] Furthermore, the graph neural network is a graph attention neural network, and the training of the graph attention neural network is specifically as follows: combining the target heat map vector in the scheduling data set, taking the second reward and punishment value as the loss function, and using the Adam algorithm for back propagation to update the parameters.

[0026] Furthermore, the initial path vector is obtained by constructing a two-dimensional coordinate vector, inputting it into a decision model, obtaining N transport point probability vectors, and taking the transport point with the largest probability value in each vector as the initial transport path.

[0027] Furthermore, the acquisition of the transport path vector to be corrected specifically includes: firstly calculating the convex hull vector of the two-dimensional coordinate vector, and then screening the N largest elements p2 in the heat map vector ij , merge the corresponding i-th transportation point and j-th transportation point into the same transportation point set, delete the transportation points in the transportation point set in the initial transportation path, and then add the transportation point set to the position corresponding to any transportation point in the convex hull vector in the initial transportation path; the number of transportation paths to be corrected is the same as the number of transportation points in the convex hull vector.

[0028] According to the second aspect of this specification, a warehouse logistics scheduling device based on deep reinforcement learning is provided, including a memory and one or more processors, wherein the memory stores executable code, and when the processor executes the executable code, the warehouse logistics scheduling method based on deep reinforcement learning is implemented.

[0029] According to a third aspect of the present specification, a computer-readable storage medium is provided, on which a program is stored. When the program is executed by a processor, the warehouse logistics scheduling method based on deep reinforcement learning is implemented.

[0030] Beneficial effects of the present invention:

[0031] 1. The present invention provides a framework for solving the large-scale traveling salesman problem by dividing the large-scale traveling salesman problem into small-scale traveling salesman problems, thereby effectively improving the efficiency of logistics transportation.

[0032] 2. Based on the characteristics of high correlation accuracy of graph neural network and high decision-making accuracy of pointer network, the present invention uses pointer network to sort the set of high-correlation transportation points under the set of high-correlation transportation points aggregated by graph neural network, and combines the two types of neural networks to effectively play their respective advantages.

[0033] 3. By utilizing the local optimality of the traveling salesman problem and exchanging the positions of transportation points, the problem that adjacent transportation points in the optimal transportation path may be far apart in the transportation path obtained by the existing neural network method can be effectively solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A flow chart of a deep reinforcement learning warehouse logistics scheduling method provided by an example of the present invention;

[0035] Figure 2 An implementation block diagram provided for an example of the present invention;

[0036] Figure 3 A block diagram for realizing the generation of a transport path provided by an example of the present invention;

[0037] Figure 4 A schematic diagram of a deep reinforcement learning warehouse logistics scheduling device provided for an example of the present invention. DETAILED DESCRIPTION

[0038] The specific implementation modes of the present invention are further described in detail below with reference to the accompanying drawings.

[0039] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0040] like Figure 1 As shown, in order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below with reference to the accompanying drawings.

[0041] This embodiment provides a method for warehousing logistics path scheduling, the steps are as follows:

[0042] Step 1: Construction of the scheduling data set. Use Python to randomly generate an Nx2 two-dimensional coordinate vector, input the two-dimensional coordinate vector into concorde to obtain an Nx1 target transportation path vector, and generate an NxN two-dimensional heat map vector based on the front and back connection sequence of the transportation points of the target transportation path vector.

[0043] For example: the two-dimensional coordinate vector is {{x0, y0}, {x1, y1}, ..., {x N-1 ,y N-1}}, the target transport path vector is {a0, a1, ..., a N-1}, heatmap in two-dimensional heatmap vector 0,1 , heatmap 1,2 , ..., heatmap N-2,N-1 elements are 1 and the rest are 0.

[0044] Step 2: Deep neural network model construction and training, including the following sub-steps

[0045] 2.1 Establishing the pointer network model and reward and punishment mechanism 1. Constructing the reward and punishment value R1 based on the transport point probability vector and the two-dimensional coordinate distance length

[0046] 2.2 Take the two-dimensional coordinate vector in step 1 and the transportation point probability vector output by the pointer network in step 2.1 as input, and the transportation point probability vector as output, and repeat N times. Use the reward and punishment mechanism in step 2.1 to construct a loss function, train the pointer network, and obtain a decision model.

[0047] 2.3 Establishing a graph neural network and reward and punishment mechanism 2. Constructing the reward and punishment value R2 based on the cross entropy of the output heat map vector and the target heat map vector

[0048] 2.4 Take the two-dimensional coordinate vector in step 1 as input and the heat map vector as output, use the reward and punishment mechanism 2 in step 2.3 to construct the loss function, train the graph neural network described in step 2.3, and obtain the association model.

[0049] The specific implementation details are as follows:

[0050] a) Build a pointer network, preferably an attention model. Build reward and punishment values

[0051] where a i Refers to the transport point with the largest probability value in the transport point probability vector output by the pointer network in step 2.1, P1(a i \a0...ai-1 ) refers to the probability of the i-1th transport point to the i-th transport point output by the decision model, Dist(a i-1 , a i )The Euclidean distance from the i-1th transport point to the i-th transport point.

[0052] For example:

[0053] The probability vector of N transport points is

[0054] {{P1(a0\a0), P1(a1\a0),..., P1(a N-1 \a0)},

[0055] {P1(a0\a0a1), P1(a1\a0a1),..., P1(a N-1 \a0a1)},

[0056] ...,

[0057] {P1(a0\a0...a N-1 ), P1(a1\a0...a N-1 ), ..., P1(a N-1 \a0...a N-1 )}}

[0058] For each transport point probability vector

[0059] {P1(a0\a0...a K-1 ), P1(a1\a0...a K-1 ), ..., P1(a N-1 \a0...a K-1 )}}

[0060] The maximum P1(a i \a0...a K-1 ) and Dist(a i-1 , a i ) and add them together to get the reward and punishment value R1.

[0061] b) Input the two-dimensional coordinate vector and the transport point probability vector output by the pointer network last time (the first time is an all-zero vector), and obtain an Nx1 transport point probability vector. Repeat N times to obtain N transport point probability vectors. Combined with the two-dimensional coordinate vector, the reward and penalty values ​​obtained according to step 2.1 are used as the loss function, and the adam algorithm is used for back propagation to update the parameters.

[0062] c) Build a graph neural network, preferably a graph attention network. Build reward and punishment values

[0063]

[0064] Where heatmap is the target two-dimensional heat map vector in step 1, p2 ij It is the two-dimensional heat map vector output by the correlation model in step 2.3.

[0065] d) Input the two-dimensional coordinate vector to obtain the two-dimensional heat map vector. Combined with the target heat map vector in the scheduling data set, the reward and penalty value R2 is obtained according to step 2.3 as the loss function, and the adam algorithm is used for back propagation to update the parameters.

[0066] Step 3: Transport route generation, including the following sub-steps

[0067] 3.1 Construct the corresponding two-dimensional coordinate vector according to the location of the transportation point in the warehousing and transportation task

[0068] 3.2 Input the two-dimensional coordinate vector in step 3.1 into the decision model obtained in step 2.2 to obtain the initial transportation path vector

[0069] 3.3 Based on the scipy algorithm library, calculate the convex hull vector of the two-dimensional coordinate vector in step 3.1;

[0070] 3.4 Input the two-dimensional coordinate vector in step 3.1 into the association model obtained in step 2.4 to obtain the heat map vector

[0071] 3.5 Based on the heat map vector obtained in step 3.4, merge the transportation points into a transportation point set.

[0072] 3.6 Based on the convex hull vector obtained in step 3.3 and the transport point set obtained in step 3.5, the transport path vector to be corrected is obtained

[0073] 3.7 Input the transport path vector to be corrected obtained in step 3.6 into the decision model obtained in step 2.2 to obtain the corrected transport path vector, and compare it with the original transport path vector. If there is an improvement, replace the original transport path vector with the corrected transport path vector.

[0074] 3.8 Repeat steps 3.6 and 3.7 T times and output the final transport path vector, such as Figure 3 shown.

[0075] The specific implementation details are as follows:

[0076] a) Obtain a warehousing logistics plan, establish a two-dimensional rectangular coordinate system with the lower left corner of the warehousing logistics plan as the origin, obtain the coordinate positions of the warehouse and each transportation point in the two-dimensional rectangular coordinate system, and scale the coordinates so that the coordinate values ​​are in [0, 1].

[0077] For example: According to the warehouse logistics plan, the original coordinate vector is obtained as

[0078] {{x0,y0},{x1,y1},...,{x N-1 ,y N-1}}.

[0079] Calculate x max =max(x0, x1, ..., x N -1), y max =max(y0, y1, ..., y N-1 )

[0080] Calculate the scaled coordinate vector as {{x0 / x max ,y0 / y max},{x1 / x max , y1 / y max}, ..., {x N-1 / x max ,y N-1 / y max}}.

[0081] b) For the constructed two-dimensional coordinate vector, input the decision model to obtain N transportation point probability vectors, and take the transportation point with the largest probability value in each vector as the initial transportation path.

[0082] For example: the initial transport path is {a0, a1, ..., a N-1}

[0083] c) Use the scipy, spatial.ConvexHull function in the scipy algorithm library, input the constructed two-dimensional coordinate vector, and obtain the convex hull.

[0084] For example: the two-dimensional coordinate vector is {{x0, y0}, {x1, y1}, ..., {x N-1 ,y N-1}}

[0085] The convex hull vector is {a0, a 30 , a 37 , a 50 , a 78 ,a0}

[0086] d) For the constructed two-dimensional coordinate vector, input the association model to obtain a two-dimensional heat map vector.

[0087] e) Using the constructed heat map vector, find the N largest elements p2 ij , and merge its corresponding i-th transportation point and j-th transportation point into the same transportation point set.

[0088] f) Using the obtained transport point set, delete the transport points in the transport point set in the original transport path, and add them together to the K arbitrary transport points of the convex hull in step 3.3, to obtain K transport paths to be corrected.

[0089] For example: a certain transport point set is {a3, a 38 , a 39 , a 45}, the transportation point set is added from the initial transportation path {a0, a1, ..., a N-1}, and after adding this transport point set to the a0 transport point in the convex hull vector of the initial transport path, the path to be corrected {a0, a3, a 38 , a 39 , a 45 , a1, ..., a N-1}. Add them to the convex hull vector a 30 After transporting the points, the path to be corrected {a0, a1, ..., a 30 , a3, a 38 , a 39 , a 45 , a 31 , a 32 , ...a N-1}.

[0090] g) Using the different partial transport paths among the K transport paths to be corrected, inputting into the decision model, obtaining K corrected transport paths, calculating the transport point distances between the K corrected transport paths and the original paths, and retaining the path with the shortest distance.

[0091] For example: the transport path to be modified {a0, a3, a 38 , a 39 , a 45 , a1, ..., a N-1} and the path to be corrected {a0, a1, ..., a 30 , a3, a 38 , a 39 , a 45 , a 31 , a 32 , ...a N-1}, a0, ..., a 30 with a 30 , ..., a 37 The transport paths of the two parts are different. The coordinates of the transport points corresponding to the two parts of the transport paths are input into the decision model to obtain the modified transport path, calculate the Euclidean distance of the modified transport path, and save the transport path with the shorter distance.

[0092] Based on the shortest path retained, as the initial transportation path, K paths to be corrected are reconstructed, and the cycle is repeated T times, and the final path is retained as the transportation path.

[0093] Corresponding to the aforementioned embodiment of a warehouse logistics scheduling method based on deep reinforcement learning, the present invention also provides an embodiment of a warehouse logistics scheduling device based on deep reinforcement learning.

[0094] See also Figure 4 A warehouse logistics scheduling device based on deep reinforcement learning provided in an embodiment of the present invention includes a memory and one or more processors, wherein the memory stores executable code, and when the processor executes the executable code, it is used to implement a warehouse logistics scheduling method based on deep reinforcement learning in the above embodiment.

[0095] An embodiment of a warehouse logistics scheduling device based on deep reinforcement learning provided by the present invention can be applied to any device with data processing capabilities, and the device with data processing capabilities can be a device or apparatus such as a computer. The device embodiment can be implemented through software, or through hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of any device with data processing capabilities in which it is located reading the corresponding computer program instructions in the non-volatile memory into the memory for execution. From a hardware perspective, if Figure 4 As shown, it is a hardware structure diagram of a storage logistics scheduling device based on deep reinforcement learning provided by the present invention, in which any device with data processing capability is located, except Figure 4 In addition to the processor, memory, network interface, and non-volatile memory shown, any device with data processing capabilities in which the apparatus in the embodiments is located may also include other hardware, generally based on the actual functions of the device with data processing capabilities, which will not be described in detail.

[0096] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.

[0097] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.

[0098] An embodiment of the present invention also provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a warehouse logistics scheduling method based on deep reinforcement learning in the above embodiment is implemented.

[0099] The computer-readable storage medium may be an internal storage unit of any device with data processing capability described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device of any device with data processing capability, such as a plug-in hard disk, a smart media card (SMC), an SD card, a flash card, etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit and an external storage device of any device with data processing capability. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capability, and may also be used to temporarily store data that has been output or is to be output.

[0100] The present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the warehouse logistics scheduling method based on deep reinforcement learning.

[0101] The above embodiments are used to illustrate the present invention rather than to limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims shall fall within the protection scope of the present invention.

Claims

1. A warehouse logistics scheduling method based on deep reinforcement learning, characterized in that: The method includes: S1. Construction of scheduling dataset: Use the traveling salesman problem solver to construct a scheduling dataset including a target two-dimensional coordinate vector and a target two-dimensional heat map vector; S2. Construction of deep neural network model, including: S2.

1. Constructing the first reward and penalty value based on the transport point probability vector and the two-dimensional coordinate distance length; S2.2, construct a pointer network whose input is a two-dimensional coordinate vector and a transportation point probability vector and whose output is a transportation point probability vector, use the output of the pointer network as the input of the next round, repeat N times, train the pointer network in combination with the first reward and punishment value, and obtain a decision model; S2.3, constructing a second reward and punishment value according to the cross entropy between the heat map vector and the target two-dimensional heat map vector; S2.4, construct a graph neural network whose input is a two-dimensional coordinate vector and whose output is a two-dimensional heat map vector, and train the pointer network in combination with the second reward and punishment value to obtain an association model; S3. Construct a two-dimensional coordinate vector according to the location of the transportation point in the warehousing and transportation task, and input it into the trained decision model and association model to obtain the initial path vector and heat map vector. The initial path vector is adjusted according to the transport point set in the heat map vector and the convex hull vector of the two-dimensional coordinate vector to obtain the transport path vector to be corrected, and the transport path vector to be corrected is input into the decision model to obtain the corrected transport path vector, which is compared with the initial path vector to save the shortest transport path; The transportation path vector to be corrected is reconstructed according to the shortest transportation path, and after the cycle is repeated for a preset number of times, the shortest path is retained as the transportation path.

2. According to claim 1, a warehouse logistics scheduling method based on deep reinforcement learning is characterized in that: The scheduling data set is constructed specifically as follows: randomly generate an Nx2 two-dimensional coordinate vector, input the two-dimensional coordinate vector into the traveling salesman problem solver concorde to obtain an Nx1 target transportation path vector, and generate an NxN two-dimensional heat map vector according to the front and back connection sequence of the transportation points of the target transportation path vector.

3. According to the warehousing logistics scheduling method based on deep reinforcement learning in claim 1, it is characterized in that: The constructing of the first reward and punishment value specifically includes: where a i Refers to the transport point with the largest probability value in the transport point probability vector output by the neural network, P1(a i \a0...a i-1 ) refers to the probability of the i-1th transport point to the i-th transport point output by the decision model, Dist(a i-1 , a i )The Euclidean distance from the i-1th transport point to the i-th transport point.

4. According to the warehousing logistics scheduling method based on deep reinforcement learning in claim 1, it is characterized in that: The constructing of the second reward and punishment value specifically includes: Where heatmap target two-dimensional heatmap vector, p2 ij A two-dimensional heat map vector output by the association model.

5. According to claim 3, a warehouse logistics scheduling method based on deep reinforcement learning is characterized in that: The pointer network is an attention model, and the training of the attention model is specifically as follows: combining the two-dimensional coordinate vector, taking the first reward and punishment value as the loss function, and using the Adam algorithm for back propagation to update the parameters.

6. A warehouse logistics scheduling method based on deep reinforcement learning according to claim 4, characterized in that: The graph neural network is a graph attention neural network. The training of the graph attention neural network is specifically as follows: combining the target heat map vector in the scheduling data set, taking the second reward and punishment value as the loss function, and using the Adam algorithm for back propagation to update the parameters.

7. A warehouse logistics scheduling method based on deep reinforcement learning according to claim 1, characterized in that: The initial path vector is obtained by constructing a two-dimensional coordinate vector, inputting it into a decision model, obtaining N transport point probability vectors, and taking the transport point with the largest probability value in each vector as the initial transport path.

8. The warehousing logistics scheduling method based on deep reinforcement learning according to claim 1 is characterized in that: The acquisition of the transport path vector to be corrected specifically includes: firstly calculating the convex hull vector of the two-dimensional coordinate vector, and then screening the N largest elements p2 in the heat map vector ij , merge the corresponding i-th transportation point and j-th transportation point into the same transportation point set, delete the transportation points in the transportation point set in the initial transportation path, and then add the transportation point set to the position corresponding to any transportation point in the convex hull vector in the initial transportation path; the number of transportation paths to be corrected is the same as the number of transportation points in the convex hull vector.

9. A warehousing logistics scheduling device based on deep reinforcement learning, comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that: When the processor executes the executable code, a warehouse logistics scheduling method based on deep reinforcement learning as described in any one of claims 1-8 is implemented.

10. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by the processor, a warehouse logistics scheduling method based on deep reinforcement learning as described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Reinforced learning method for dynamically optimizing logistics scheduling and path planning in machining process

    CN110443412A

  • Travel salesman problem solving method based on graph convolution and reinforcement learning algorithm

    CN116862083A

  • Path optimization solving method based on deep reinforcement learning

    CN117474183A

  • Systems, Methods, and Computer Programs for Efficiently Determining an Order of Driving Destinations and for Training a Machine-Learning Model using Distance-Based Input Data

    US20220026221A1