Method and device for determining task scheduling results

By decomposing the task scheduling model and combining it with Lagrange multiplier technology, the problem of low task scheduling efficiency in the unmanned warehouse system is solved, and a method of obtaining better scheduling results within a reasonable time is realized.

CN113743795BActive Publication Date: 2024-09-20BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111048153.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-08
Publication Date
2024-09-20
Estimated Expiration
2041-09-08

AI Technical Summary

Technical Problem

In unmanned warehouse systems, it is difficult to obtain optimal task scheduling results within a specified time with existing technology, especially because the complex linear programming problem between robots, shelves and workstations is an NP-Hard optimization problem, resulting in an exponential increase in computing time. It is difficult to obtain optimal results within a reasonable time.

Method used

By obtaining the task scheduling model and adding Lagrange multipliers in the preset constraints, the task scheduling model is decomposed into a first sub-model that represents the matching between the robot and the shelf and a second sub-model that represents the matching between the shelf and the workstation. , determine the sub-results of the sub-model under preset constraints, and combine the sub-results to obtain the task scheduling results.

Benefits of technology

The efficiency of determining task scheduling results is improved, better task scheduling results can be obtained within a reasonable time, and the problem of too long calculation time in the existing technology is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113743795B
    Figure CN113743795B
Patent Text Reader

Abstract

The present application discloses a method and device for determining task scheduling results. A specific implementation of the method includes: obtaining a task scheduling model, the task scheduling model is used to characterize the first distance cost from the target robot to the target shelf matching the target robot, the second distance cost from each target shelf to the target workstation matching the target shelf, and the unmet demand for each required item at each target workstation under each feasible task scheduling situation obtained based on preset constraints; adding Lagrange multipliers related to the target conditions in the preset constraints to the task scheduling model, decomposing the task scheduling model into a first sub-model characterizing the matching situation between the robot and the shelf, and a second sub-model characterizing the matching situation between the shelf and the workstation; under the preset constraints, determining the sub-results of the first sub-model and the second sub-model to obtain the task scheduling result. The present application improves the efficiency of determining the task scheduling results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method and device for determining a task scheduling result. Background Art

[0002] In an unmanned warehouse system, when an order arrives at the warehouse, the WMS (Warehouse Management System) needs to make real-time decisions: which workstation should pick the order, which shelf should respond, and which robot should move the shelf to the workstation. The complex linear programming problems between robots, shelves, and workstations are usually NP-Hard (Non-deterministic Polynomial Hard) optimization problems. As the scale of the problem increases, the calculation time increases exponentially, and it is difficult to get the optimal result within the specified time. Existing task scheduling determination methods often cannot obtain the optimal task scheduling results within the specified time. Summary of the invention

[0003] The embodiments of the present application provide a method and device for determining a task scheduling result.

[0004] In a first aspect, an embodiment of the present application provides a method for determining a task scheduling result, comprising: obtaining a task scheduling model, wherein the task scheduling model is used to characterize, for each feasible task scheduling scenario obtained based on preset constraints, a first distance cost from a target robot in a robot set to a target shelf in a shelf set that matches the target robot, a second distance cost from each target shelf to a target workstation in a workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation; adding Lagrange multipliers related to the target conditions in the preset constraints to the task scheduling model, decomposing the task scheduling model into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation; under the preset constraints, determining the sub-results of the first sub-model and the second sub-model to obtain the task scheduling result.

[0005] In some embodiments, the above-mentioned determining the sub-results of the first sub-model and the second sub-model under preset constraints to obtain the task scheduling result includes: determining the sub-results of the second sub-model under the constraints corresponding to the second sub-model in the preset constraints; inputting the sub-results of the second sub-model into the first sub-model, and determining the sub-results of the first sub-model under the constraints corresponding to the first sub-model in the preset constraints; and combining the sub-results of the first sub-model and the sub-results of the second sub-model to obtain the task scheduling result.

[0006] In some embodiments, the above-mentioned inputting the sub-results of the second sub-model into the first sub-model, and determining the sub-results of the first sub-model under the constraints corresponding to the first sub-model in the preset constraints, includes: generating updated target conditions based on the sub-results and target conditions of the second sub-model; inputting the sub-results of the second sub-model into the first sub-model, and determining the sub-results of the first sub-model under the constraints corresponding to the first sub-model and the updated target conditions in the preset constraints.

[0007] In some embodiments, the above method further includes: in a subsequent process of determining the task scheduling result, in response to reaching an update condition of the Lagrangian multiplier, updating the Lagrangian multiplier.

[0008] In some embodiments, the task scheduling model determines, under each feasible task scheduling scenario, a first distance cost from a target robot in the robot set to a target shelf in the shelf set that matches the target robot, a second distance cost from each target shelf to a workstation in the workstation set that matches the target shelf, and the unmet demand for each required item at each target workstation through a 0-1 integer programming method.

[0009] In some embodiments, each shelf in the shelf set has at least one shelf surface for storing items, and a first distance cost is used to characterize the distance cost from a target robot in the robot set to a target shelf surface that matches the target robot, and a second distance cost is used to characterize the distance cost from each target shelf surface to a workstation in the workstation set that matches the target shelf.

[0010] In a second aspect, an embodiment of the present application provides a device for determining a task scheduling result, comprising: an acquisition unit, configured to acquire a task scheduling model, wherein the task scheduling model is used to characterize, for each feasible task scheduling scenario obtained based on preset constraints, a first distance cost from a target robot in a robot set to a target shelf in a shelf set that matches the target robot, a second distance cost from each target shelf to a target workstation in a workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation; a decomposition unit, configured to add Lagrange multipliers related to the target conditions in the preset constraints to the task scheduling model, and decompose the task scheduling model into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation; a determination unit, configured to determine the sub-results of the first sub-model and the second sub-model under the preset constraints to obtain the task scheduling result.

[0011] In some embodiments, the determination unit is further configured to: determine the sub-result of the second sub-model under the constraint conditions corresponding to the second sub-model in the preset constraint conditions; input the sub-result of the second sub-model into the first sub-model, and determine the sub-result of the first sub-model under the constraint conditions corresponding to the first sub-model in the preset constraint conditions; and obtain the task scheduling result by combining the sub-result of the first sub-model and the sub-result of the second sub-model.

[0012] In some embodiments, the determination unit is further configured to: generate updated target conditions based on the sub-results and target conditions of the second sub-model; input the sub-results of the second sub-model into the first sub-model, and determine the sub-results of the first sub-model under the preset constraints corresponding to the constraints of the first sub-model and the updated target conditions.

[0013] In some embodiments, the apparatus further comprises: an updating unit configured to update the Lagrangian multiplier in response to reaching an update condition of the Lagrangian multiplier during a subsequent determination process of the task scheduling result.

[0014] In some embodiments, the task scheduling model determines, under each feasible task scheduling scenario, a first distance cost from a target robot in the robot set to a target shelf in the shelf set that matches the target robot, a second distance cost from each target shelf to a workstation in the workstation set that matches the target shelf, and the unmet demand for each required item at each target workstation through a 0-1 integer programming method.

[0015] In some embodiments, each shelf in the shelf set has at least one shelf surface for storing items, and a first distance cost is used to characterize the distance cost from a target robot in the robot set to a target shelf surface that matches the target robot, and a second distance cost is used to characterize the distance cost from each target shelf surface to a workstation in the workstation set that matches the target shelf.

[0016] In a third aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the first aspect is implemented.

[0017] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any implementation manner of the first aspect.

[0018] The method and device for determining task scheduling results provided by the embodiments of the present application obtain a task scheduling model, wherein the task scheduling model is used to characterize, for each feasible task scheduling scenario obtained based on preset constraints, a first distance cost from a target robot in a robot set to a target shelf in a shelf set that matches the target robot, a second distance cost from each target shelf to a target workstation in a workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation; Lagrange multipliers related to the target conditions in the preset constraints are added to the task scheduling model, and the task scheduling model is decomposed into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation; under the preset constraints, the sub-results of the first sub-model and the second sub-model are determined to obtain the task scheduling results, thereby providing a method for determining task scheduling results and improving the efficiency of determining task scheduling results. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0020] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present application may be applied;

[0021] Figure 2 is a flow chart of an embodiment of a method for determining a task scheduling result according to the present application;

[0022] Figure 3 is a schematic diagram of an application scenario of the method for determining a task scheduling result according to this embodiment;

[0023] Figure 4 is a flow chart of another embodiment of a method for determining a task scheduling result according to the present application;

[0024] Figure 5 is a structural diagram of an embodiment of a device for determining a task scheduling result according to the present application;

[0025] Figure 6 It is a structural diagram of a computer system suitable for implementing the embodiments of the present application. DETAILED DESCRIPTION

[0026] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0027] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0028] Figure 1 An exemplary architecture 100 to which the method and apparatus for determining a task scheduling result of the present application can be applied is shown.

[0029] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The communication connection between the terminal devices 101, 102, 103 constitutes a topological network, and the network 104 is used to provide a medium for the communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0030] The terminal devices 101, 102, 103 interact with the server 105 through the network 104 to receive or send messages, etc. The terminal devices 101, 102, 103 can be hardware devices or software that support network connection for data interaction and data processing. When the terminal devices 101, 102, 103 are hardware, they can be various electronic devices that support network connection, information acquisition, interaction, display, processing and other functions, including but not limited to robots used in warehousing systems to transport shelves to workstations for item picking, information acquisition devices used to determine the information of items stored on each shelf in real time, information acquisition devices used to determine the information of item demand information of each workstation in real time, smart phones, tablet computers, e-book readers, laptop portable computers and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules for providing distributed services, for example, or it can be implemented as a single software or software module. No specific limitation is made here.

[0031] The server 105 may be a server that provides various services, such as a background processing server that determines the task scheduling result by comprehensively considering the matching between the robot and the shelf, the matching between the shelf and the workstation, and the unmet demand of the workstation. Optionally, the server may schedule the robot to perform the task scheduling task according to the task scheduling result. As an example, the server 105 may be a cloud server.

[0032] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0033] It should also be noted that the method for determining the task scheduling result provided in the embodiment of the present application can be executed by the server, can be executed by the terminal device, or can be executed by the server and the terminal device in cooperation with each other. Accordingly, the various parts (such as various units) included in the device for determining the task scheduling result can be all set in the server, can be all set in the terminal device, or can be set in the server and the terminal device respectively.

[0034] It should be understood that Figure 1 The number of terminal devices, networks, and servers in the system architecture is only illustrative. Depending on the implementation requirements, there may be any number of terminal devices, networks, and servers. When the electronic device on which the method for determining the task scheduling result is running does not need to transmit data with other electronic devices, the system architecture may only include the electronic device (e.g., server or terminal device) on which the method for determining the task scheduling result is running.

[0035] Continue to refer Figure 2 , a process 200 of an embodiment of a method for determining a task scheduling result is shown, comprising the following steps:

[0036] Step 201, obtaining a task scheduling model.

[0037] In this embodiment, the execution subject of the method for determining the task scheduling result (for example Figure 1 The terminal device or server in the system can obtain the task scheduling model.

[0038] Among them, the task scheduling model is used to characterize the first distance cost from the target robot in the robot set to the target shelf matching the target robot in the shelf set, the second distance cost from each target shelf to the target workstation matching the target shelf in the workstation set, and the unmet demand for each required item at each target workstation under each feasible task scheduling scenario obtained based on preset constraints.

[0039] The task scheduling representation schedules a target robot in a robot set to move a target shelf in a shelf set to a target workstation in a workstation set. The robot set includes a plurality of robots, each of which can receive the scheduling task of the above-mentioned execution subject and move the shelf matched by the robot to a designated workstation. The robot can be, for example, an AGV (Automated Guided Vehicle). The shelf set includes a plurality of shelves, each of which can store at least one item. The workstation set includes a plurality of workstations, each of which can be used to pick items on the shelf transported to the workstation by the robot. Each workstation is configured with a plurality of buffer positions for temporarily storing robots carrying shelves that match the workstation.

[0040] The preset constraint conditions can be specifically set according to actual conditions. As an example, the preset constraint conditions may be that each robot is matched to at most one shelf at the same time; each shelf is carried to at most one workstation by one robot at the same time; and the number of shelf surfaces matched to each workstation does not exceed the number of available buffer positions of the workstation.

[0041] In order to better meet the task scheduling of AGVs in warehouses, the preset constraints include at least one of the following: each robot is matched to at most one shelf surface; each shelf surface is transported to at most one workstation by one robot at the same time; the number of shelf surfaces matched to each workstation does not exceed the number of available buffer positions of the workstation; whenever a shelf surface is matched to a robot, the shelf surface continues to be matched to a workstation, otherwise, the shelf surface is not allocated to the workstation; after matching a shelf surface to a workstation, the items on the shelf surface are relaxed to meet the item needs of the workstation; an idle robot is not matched to a shelf surface that is being moved; a robot that is occupied by a shelf surface is not matched to other shelf surfaces; for a multi-sided shelf including multiple shelf surfaces, the shelf is only matched to one robot at the same time, and only one shelf surface on the shelf is matched to a workstation.

[0042] As an example, in the field of e-commerce, e-commerce companies often build unmanned warehouses based on AGVs. In an unmanned warehouse system, items are stored on special shelves. A large number of AGVs shuttle through the aisles at the bottom of the shelves. These AGVs carry the shelves to be picked and transport them in the warehouse. The shelf has at least one side (usually one or two sides) to store items, and each side has 10 to 20 storage grids, and each grid stores only one type of item. Depending on the size of the warehouse, the number of items in a warehouse ranges from hundreds to tens of thousands of types. Specifically, the types of items can be distinguished by SKU (Stock Keeping Unit). The distribution of SKUs on the shelves is specially designed so that one SKU is located on multiple different storage racks.

[0043] The layout of the entire warehouse can be set up as follows. At the edge of the warehouse are picking stations, each of which contains several AGV berths (buffers). In the one-piece-one-package production mode, the dispatch center summarizes the current order demand into SKU lines (each SKU as a line information, with the demand quantity of the SKU attached), periodically considers the currently idle AGVs, candidate shelves and idle workstations, and sends commands to one or more AGVs to move the shelves and transport them to the designated workstation for picking the target SKU. Each SKU picked is packaged to form a package to complete the warehouse production. The shelves include shelves in the storage area and shelves that the AGV is already transporting. Since the number of shelves is usually large, the dispatch center must decide how to make the best scheduling decision. If the shelf has been assigned to the workstation, when the AGV carrying the shelf arrives at the workstation, it will stop at the berths around the workstation. According to the order received, the manual picker or robot at the workstation will pick the correct number of required SKUs from the shelf. Once the required products are picked, the AGV will transport the shelf back to the storage area. If the workstation currently has no empty berths, the shelf is not assigned to the workstation.

[0044] Since there are multiple robots, shelves, and workstations, the number of feasible task scheduling situations determined is generally large.

[0045] In this embodiment, the distance between the robot and the shelf, and the distance between the shelf and the workstation are the distance costs that the robot needs to pay in the entire task scheduling process, and need to be considered. The lower the distance cost in a feasible task scheduling situation, the higher the superiority of the recognition scheduling result represented by the task scheduling situation.

[0046] In this embodiment, the above-mentioned execution entity can obtain the position information of each robot, the position information of each shelf and the position information of each workstation in real time, and then determine the first distance from the target robot in the robot set to the target shelf in the shelf set that matches the target robot, and the second distance from each target shelf to the target workstation in the workstation set that matches the target shelf.

[0047] On the basis of determining the distance cost, in order to further improve the picking efficiency, it should be possible to ensure that the required information of the items of the matched workstation can be met by moving as few shelves as possible. For example, if the demand of workstation A for SKU B is 5, when scheduling tasks, the number of shelves matching workstation A including SKU B should be no less than 5 as far as possible; if there is no shelf with SKU B no less than 5, the number of shelves matching workstation A should be as small as possible.

[0048] Based on the above considerations, the above execution entity also needs to determine the unmet demand for each required item at each target workstation in each feasible task scheduling scenario.

[0049] The execution entity may predetermine the item demand of each workstation in the workstation set and the item information stored on each shelf in the shelf set, and then determine the unmet demand of the workstation according to the item demand of each workstation and the item information stored on the shelf matching the workstation.

[0050] In some optional implementations of this embodiment, the task scheduling model determines, in each feasible task scheduling scenario, a first distance cost from a target robot in the robot set to a target shelf in the shelf set that matches the target robot, a second distance cost from each target shelf to a workstation in the workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation by a 0-1 integer programming method. In the 0-1 integer programming method, the decision variable can take only two values, 0 or 1.

[0051] In some optional implementations of the present embodiment, each shelf in the shelf set has at least one shelf surface for storing items, and a first distance cost is used to characterize the distance cost from a target robot in the robot set to a target shelf surface that matches the target robot, and a second distance cost is used to characterize the distance cost from each target shelf surface to a workstation in the workstation set that matches the target shelf.

[0052] In order to further illustrate the process of determining the task scheduling results, the following specific task scheduling model is given here:

[0053] First, for the convenience of explanation, the following symbols are given:

[0054] I=I a ∪I b , represents the set of numbers of all AGVs in the warehouse picking area. a is the set of idle AGVs, I b It is the set of AGVs currently being occupied, and the letter i is used to refer to the number of the AGV.

[0055] J=J a ∪J b , a set of numbers representing the shelf faces of the shelves in the picking area. a represents the set of all shelf faces of the stationary shelf, J b Represents the set of all shelf surfaces of the mobile shelf (that is, the shelf currently being transported by the AGV), and the letter j is used to represent the number of the shelf surface.

[0056] T represents the set of numbers of all shelves in the picking area, and t represents the shelf number. In addition, a mapping between the shelf face number and the shelf number is set. That is, given a shelf number, we should know whether it is a double-sided shelf or a single-sided shelf; on the other hand, given a shelf face number, we know the number of the shelf to which it belongs.

[0057] K represents the set of numbers of all workstations, and the letter k is used to represent the number of the workstation.

[0058] S represents the set of numbers of all SKUs, and the letter s is used to represent the SKU number.

[0059] and The cost matrix representing the walking distance. is the walking distance between AGVi∈I and shelf surface j∈J; is the walking distance between shelf face j∈J and workstation k∈K. It should be noted that a workstation can only pick one side of a shelf at a time. When AGV i is carrying shelf face j1 of shelf t and is ready for picking, we believe However, if the AGV must rotate the shelf to prepare for picking, there will be a distance cost, so if the shelf on AGV i is double-sided and the other side is j2, we have

[0060] {O ks} k∈K,s∈S Characterize the workstation's demand matrix for SKUs. ks represents the demand quantity of SKUs∈S by workstation k∈K.

[0061] {q js} j∈J,s∈S Represents the SKU inventory matrix on the shelf. js Represents the number of SKUs∈S on shelf j∈J.

[0062] {B k} k∈K Characterizes the number of available buffers for all workstations. That is, no more than B k The shelves can be matched to the kth workstation. Here, only the positive B k If B k =0, the corresponding workstation k needs to be removed from the current matching.

[0063] α1, α2, and α3 represent weight parameters, where α1 represents the total cost weight of the AGV moving to the shelf, α2 represents the total cost weight of the shelf moving to the workstation, and α3 represents the weight of the total number of unmet demands.

[0064] In addition, the following information can be obtained:

[0065] For any shelf t∈T, there is a subset J t ∈J includes the shelf face number of shelf t. For a single-sided shelf t, |J t |=1; for double-sided shelf t, |J t |=2; at the same time, |J|≤2|T|. For any AGV i∈I b , we know the shelf number t i , is the collection of shelf faces for this shelf.

[0066] Then, the following model variables are obtained:

[0067] Let X: = {x ij ∈{0, 1}} i∈I,j∈J is the matching variable between AGV and shelf surface. If AGV i∈I is assigned to shelf surface j∈J, then x ij =1, otherwise, x ij =0.

[0068] Let Y: = {y jk ∈{0, 1}} j∈J,k∈K is the matching variable between shelf face and workstation. If shelf face j∈J is assigned to workstation k∈K, then y jk =1, otherwise, y jk =0.

[0069] make is the unsatisfied demand for SKU s∈S at workstation k∈K.

[0070] Among them, the number of variables in the model is |I|×|J|+|J|×|K|+|K|×|S|.

[0071] Finally, the task scheduling model that characterizes and determines the task scheduling results is established as follows:

[0072]

[0073]

[0074]

[0075]

[0076]

[0077]

[0078]

[0079]

[0080]

[0081]

[0082]

[0083]

[0084]

[0085] The meaning of each constraint is as follows:

[0086] Constraint (1) means that each AGV can be assigned to at most one shelf surface; constraint (2) means that each shelf surface can be transported by at most one AGV at the same time; constraint (3) means that each shelf surface can be assigned to at most one workstation; constraint (4) means that the number of shelf surfaces assigned to a workstation cannot exceed the number of available buffer positions in the workstation; constraint (5) means that whenever an AGV is assigned to a shelf surface in matching, the shelf surface must also be assigned to a workstation; otherwise, if a shelf surface is not assigned to an AGV, it should not be assigned to any workstation; constraint (6) means that when assigning some shelf surfaces to a workstation, we hope that the SKUs on these shelf surfaces will satisfy the SKUs demand of the workstation after relaxation; constraint (7) means that an idle AGV should not be assigned to a moving shelf surface; constraint (8) means that an occupied AGV cannot be assigned to a shelf surface other than the shelf surface on which the AGV is currently transporting; constraint (9) means that on a double-sided shelf, when we assign an AGV to transport a shelf, only one shelf surface can be selected. Therefore, only one AGV can be assigned to a shelf, and at the same time, only one shelf face can be picked by a workstation; constraints (10), (11), and (12) define the value range of the decision variables.

[0087] Among them, constraints (5) and (9) together ensure that two different shelf surfaces on a double-sided shelf will not be assigned to a workstation at the same time.

[0088] Step 202, adding Lagrange multipliers related to the target conditions in the preset constraints to the task scheduling model, decomposing the task scheduling model into a first sub-model representing the matching situation between the robot and the shelf, and a second sub-model representing the matching situation between the shelf and the workstation.

[0089] In this embodiment, the above-mentioned execution entity can add Lagrange multipliers related to the target conditions in the preset constraints into the task scheduling model, and decompose the task scheduling model into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation.

[0090] The target condition may be, for example, a constraint condition represented by an inequality in the preset constraint condition. As an example, the target constraint condition may be the above constraint condition (5).

[0091] Continuing with constraint condition (5) as the target condition, let Λ: = {λ j ≥0, j∈J} as Lagrange multipliers. Then, we get the following local relaxation problem.

[0092]

[0093] st{X, Y, Z} satisfies constraints (1)-(12)

[0094] Based on the duality theory, for any Λ, the optimal objective value provides a lower bound for the original problem (P), namely The original problem is the problem of minimizing X, Y, and Z represented by the above task scheduling model.

[0095] In general, we can find the optimal solution of the dual decision variables To strengthen this lower world. Characterization makes Λ when the maximum value is obtained. However, finding the optimal solution for the dual decision variable Λ is also a very difficult problem. At this stage, we assume that For some known Λ, we can rewrite the problem as The objective function is as follows:

[0096]

[0097] Based on the above function model, the decision variable {x ij} and {y jk , z ks}In the question Therefore, the solution to the problem It is equivalent to solving the following two sub-problems P 1 (Λ) and P 2 (Λ):

[0098]

[0099] stX satisfies the constraints (1), (2), (7), (8), (9), (10)

[0100]

[0101] st{Y, Z} satisfies the constraints (3), (4), (6), (11), (12)

[0102] In this way, the task scheduling model is decomposed into the first sub-model P that characterizes the matching situation between the robot and the shelf. 1 (Λ), and the second sub-model P that characterizes the matching of the shelf and the workstation 2 (Λ).

[0103] It should be noted that through the duality theory, the technical problem of minimizing X, Y, and Z in the task scheduling model is transformed into maximizing the first submodel P 1 (Λ), the second sub-model P 2 (Λ) technical issues.

[0104] Step 203, under preset constraints, sub-results of the first sub-model and the second sub-model are determined to obtain a task scheduling result.

[0105] In this embodiment, the above-mentioned execution subject can determine the sub-results of the first sub-model and the second sub-model under preset constraints to obtain the task scheduling result.

[0106] As an example, the above execution subject can determine the first sub-model P by the dual simplex method respectively. 1 The sub-result of (Λ) and the second sub-model P 2 (Λ); further, combining the sub-results of the first sub-model and the second sub-model, the task scheduling result is obtained.

[0107] In some optional implementations of this embodiment, the execution subject may perform step 203 in the following manner:

[0108] First, under the constraint conditions corresponding to the second sub-model in the preset constraint conditions, the sub-results of the second sub-model are determined.

[0109] Among them, the constraints corresponding to the second sub-model in the preset constraints include constraints (3), (4), (6), (11), and (12).

[0110] Second, the sub-results of the second sub-model are input into the first sub-model, and the sub-results of the first sub-model are determined under the constraint conditions corresponding to the constraint conditions of the first sub-model in the preset constraint conditions.

[0111] Among them, the constraints corresponding to the second sub-model in the preset constraints include constraints (1), (2), (7), (8), (9), and (10).

[0112] Third, the sub-results of the first sub-model and the sub-results of the second sub-model are combined to obtain the task scheduling results.

[0113] In some optional implementations of this embodiment, the execution subject may perform the second step in the following manner:

[0114] First, based on the sub-results and target conditions of the second sub-model, updated target conditions are generated; then, the sub-results of the second sub-model are input into the first sub-model, and the sub-results of the first sub-model are determined under the preset constraints corresponding to the constraints of the first sub-model and the updated target conditions.

[0115] Solving the above two separate sub-problems may not produce a feasible solution to the original problem (P) because constraint (5) is not satisfied. Therefore, it is necessary to solve the second sub-model P first. 2 (Λ), and then use the obtained subresult As the second sub-model P 1 (Λ) as input, solve the first submodel as follows:

[0116]

[0117] X satisfies the constraints (1), (2), (7), (8), (9), (10)

[0118] in, Characterize the sub-results of the second sub-model, Characterize the updated target condition.

[0119] In some optional implementations of this embodiment, after obtaining the task scheduling result, the execution subject may schedule the robots in the robot set according to the task scheduling result.

[0120] In some optional implementations of this embodiment, the execution subject may execute steps 201-203 in a loop to determine the task scheduling result in real time. In addition, in the subsequent determination of the task scheduling result, the Lagrangian multiplier is updated in response to the update condition of the Lagrangian multiplier being met.

[0121] By solving the continuous relaxation of the original problem (P), we can obtain the dual variable solution corresponding to constraint (5): Will As a proxy for the optimal Λ. But the continuous relaxation of the original problem (P) The solution of Λ may not be obtained within a preset execution cycle (for example, 3 seconds). Fortunately, it is not necessary to update Λ in each execution cycle. Therefore, we can update Λ when necessary. For example, a preset time interval has passed since the last calculation.

[0122] When a preset time interval has passed since the last calculation of Λ, it is determined that the update condition of the Lagrange multiplier is met. The length of the preset time interval can be specifically set according to actual conditions and is not limited here.

[0123] Continue to see Figure 3 , Figure 3 FIG. 3 is a schematic diagram 300 of an application scenario of the method for determining a task scheduling result according to this embodiment. Figure 3 In the application scenario. The unmanned warehouse 301 is composed of a robot set including multiple robots 3011, a shelf set including multiple shelves 3012, and a workstation set including multiple workstations 3013. The server first determines a plurality of feasible task scheduling scenarios 1, 2, ... N based on preset constraints. Among them, the task scheduling characterizes the target robot in the scheduling robot set to move the target shelf in the shelf set to the target workstation in the workstation set. First, the server first determines the task scheduling model 302. Among them, the task scheduling model is used to characterize the first distance cost of the target robot in the robot set to the target shelf matching the target robot in the shelf set, the second distance cost of each target shelf to the target workstation matching the target shelf in the workstation set, and the unmet demand of each target workstation for each required item under each feasible task scheduling scenario obtained based on the preset constraints. Then, the Lagrange multiplier related to the target condition in the preset constraints is added to the task scheduling model, and the task scheduling model is decomposed into a first sub-model 3021 that characterizes the matching situation between the robot and the shelf, and a second sub-model 3022 that characterizes the matching situation between the shelf and the workstation. Finally, under the preset constraint conditions, the sub-result 303 of the first sub-model 3021 and the sub-result 304 of the second sub-model 3022 are determined to obtain the task scheduling result 305 .

[0124] The method provided by the above-mentioned embodiment of the present application obtains a task scheduling model, wherein the task scheduling model is used to characterize, under each feasible task scheduling scenario obtained based on preset constraints, a first distance cost from a target robot in a robot set to a target shelf in a shelf set that matches the target robot, a second distance cost from each target shelf to a target workstation in a workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation; Lagrange multipliers related to the target conditions in the preset constraints are added to the task scheduling model, and the task scheduling model is decomposed into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation; under the preset constraints, the sub-results of the first sub-model and the second sub-model are determined to obtain the task scheduling result, thereby providing a method for determining the task scheduling result and improving the efficiency of determining the task scheduling result.

[0125] Continue to refer Figure 4 , shows a schematic process 400 of an embodiment of a method for determining a task scheduling result according to the present application, comprising the following steps:

[0126] Step 401, obtaining a task scheduling model.

[0127] In this embodiment, the task scheduling model is used to characterize the first distance cost of a target robot in the robot set to a target shelf in the shelf set that matches the target robot, the second distance cost of each target shelf to a target workstation in the workstation set that matches the target shelf, and the unmet demand for each required item at each target workstation in each feasible task scheduling scenario obtained based on preset constraints.

[0128] The preset constraints include at least one of the following: each robot is matched to at most one shelf surface; each shelf surface is transported to at most one workstation by one robot at the same time; the number of shelf surfaces matched to each workstation does not exceed the number of available buffer positions of the workstation; whenever a shelf surface is matched to a robot, the shelf surface continues to be matched to a workstation, otherwise, the shelf surface is not allocated to the workstation; after a shelf surface is matched to a workstation, the items on the shelf surface are relaxed to meet the item demand of the workstation; an idle robot is not matched to a shelf surface that is being moved; a robot that is occupied by a shelf surface is not matched to other shelf surfaces; for a multi-sided shelf including multiple shelf surfaces, the shelf is only matched to one robot at the same time, and only one shelf surface on the shelf is matched to a workstation.

[0129] Step 402, adding Lagrange multipliers related to the target conditions in the preset constraints to the task scheduling model, decomposing the task scheduling model into a first sub-model representing the matching situation between the robot and the shelf, and a second sub-model representing the matching situation between the shelf and the workstation.

[0130] Step 403: determine the sub-result of the second sub-model under the constraint conditions corresponding to the second sub-model in the preset constraint conditions.

[0131] Step 404: Generate updated target conditions based on the sub-results of the second sub-model and the target conditions.

[0132] Step 405, input the sub-result of the second sub-model into the first sub-model, and determine the sub-result of the first sub-model under the preset constraints corresponding to the constraints of the first sub-model and the updated target conditions.

[0133] Step 406, combining the sub-result of the first sub-model and the sub-result of the second sub-model to obtain a task scheduling result.

[0134] It can be seen from this embodiment that Figure 2 Compared with the corresponding embodiments, the process 400 of the method for determining the task scheduling result in this embodiment specifically illustrates the process of determining the task scheduling result, further improving the efficiency and feasibility of determining the task scheduling result.

[0135] In order to further illustrate the process of determining the task scheduling results, the following specific implementation plan is given:

[0136] First, the following task scheduling model is given:

[0137] I=I a ∪I b , represents the set of numbers of all AGVs in the warehouse picking area. a is the set of idle AGVs, I b It is the set of AGVs currently being occupied, and the letter i is used to refer to the number of the AGV.

[0138] J=J a ∪J b , a set of numbers representing the shelf faces of the shelves in the picking area. a represents the set of all shelf faces of the stationary shelf, J b Represents the set of all shelf surfaces of the mobile shelf (that is, the shelf currently being transported by the AGV), and the letter j is used to represent the number of the shelf surface.

[0139] T represents the set of numbers of all shelves in the picking area, and t represents the shelf number. In addition, a mapping between the shelf face number and the shelf number is set. That is, given a shelf number, we should know whether it is a double-sided shelf or a single-sided shelf; on the other hand, given a shelf face number, we know the number of the shelf to which it belongs.

[0140] K represents the set of numbers of all workstations, and the letter k is used to represent the number of the workstation.

[0141] S represents the set of numbers of all SKUs, and the letter s is used to represent the SKU number.

[0142] and The cost matrix representing the walking distance. is the walking distance between AGVi∈I and shelf surface j∈J; is the walking distance between shelf face j∈J and workstation k∈K. It should be noted that a workstation can only pick one side of a shelf at a time. When AGV i is carrying shelf face j1 of shelf t and is ready for picking, we believe However, if the AGV must rotate the shelf to prepare for picking, there will be a distance cost, so if the shelf on AGV i is double-sided and the other side is j2, we have

[0143] {O ks} k∈K,s∈S Characterize the workstation's demand matrix for SKUs. ks represents the demand quantity of SKUs∈S by workstation k∈K.

[0144] {q js} j∈J,s∈S Represents the SKU inventory matrix on the shelf. js Represents the number of SKUs∈S on shelf j∈J.

[0145] {B k} k∈K Characterizes the number of available buffers for all workstations. That is, no more than B k The shelves can be matched to the kth workstation. Here, only the positive B k If B k =0, the corresponding workstation k needs to be removed from the current matching.

[0146] α1, α2, and α3 represent weight parameters, where α1 represents the total cost weight of the AGV moving to the shelf, α2 represents the total cost weight of the shelf moving to the workstation, and α3 represents the weight of the total number of unmet demands.

[0147] In addition, the following information can be obtained:

[0148] For any shelf t∈T, there is a subset J t ∈J includes the shelf face number of shelf t. For a single-sided shelf t, |J t |=1; for double-sided shelf t, |J t |=2; at the same time, |J|≤2|T|. For any AGV i∈I b , we know the shelf number t i , is the collection of shelf faces for this shelf.

[0149] The model variables are as follows:

[0150] Let X: = {x ij ∈{0, 1}} i∈I,j∈J is the matching variable between AGV and shelf surface. If AGV i∈I is assigned to shelf surface j∈J, then x ij =1, otherwise, x ij =0.

[0151] Let Y: = {y jk ∈{0, 1}} j∈J,k∈K is the matching variable between shelf face and workstation. If shelf face j∈J is assigned to workstation k∈K, then y jk =1, otherwise, y jk =0.

[0152] make is the unsatisfied demand for SKU s∈S at workstation k∈K.

[0153] Among them, the number of variables in the model is |I|×|J|+|J|×|K|+|K|×|S|.

[0154] The model for characterizing and determining the task scheduling results is established as follows:

[0155]

[0156]

[0157]

[0158]

[0159]

[0160]

[0161]

[0162]

[0163]

[0164]

[0165]

[0166]

[0167]

[0168] The meaning of each constraint is as follows:

[0169] Constraint (1) means that each AGV can be assigned to at most one shelf surface; constraint (2) means that each shelf surface can be transported by at most one AGV at the same time; constraint (3) means that each shelf surface can be assigned to at most one workstation; constraint (4) means that the number of shelf surfaces assigned to a workstation cannot exceed the number of available buffer positions in the workstation; constraint (5) means that whenever an AGV is assigned to a shelf surface in matching, the shelf surface must also be assigned to a workstation; otherwise, if a shelf surface is not assigned to an AGV, it should not be assigned to any workstation; constraint (6) means that when assigning some shelf surfaces to a workstation, we hope that the SKUs on these shelf surfaces will satisfy the SKUs demand of the workstation after relaxation; constraint (7) means that an idle AGV should not be assigned to a moving shelf surface; constraint (8) means that an occupied AGV cannot be assigned to a shelf surface other than the shelf surface on which the AGV is currently transporting; constraint (9) means that on a double-sided shelf, when we assign an AGV to transport a shelf, only one shelf surface can be selected. Therefore, only one AGV can be assigned to a shelf, and at the same time, only one shelf face can be picked by a workstation; constraints (10), (11), and (12) define the value range of the decision variables.

[0170] Among them, constraints (5) and (9) together ensure that two different shelf surfaces on a double-sided shelf will not be assigned to a workstation at the same time.

[0171] Second, taking constraint (5) as the target condition, let Λ: = {λ j ≥0, j∈J} as Lagrange multipliers, we get the following local relaxation problem.

[0172]

[0173] st{X, Y, Z} satisfies constraints (1)-(12)

[0174] Based on the duality theory, for any Λ, the optimal objective value provides a lower bound for the original problem (P), namely By finding the optimal solution of the dual decision variables To strengthen this lower world.

[0175] The above local relaxation problem can be transformed into:

[0176]

[0177] Furthermore, the above function model is equivalent to the following two sub-models P 1 (Λ) and P 2 (Λ):

[0178]

[0179] stX satisfies the constraints (1), (2), (7), (8), (9), (10)

[0180]

[0181] st{Y, Z} satisfies the constraints (3), (4), (6), (11), (12)

[0182] Third, solve the second sub-model P 2 (Λ), and then the obtained sub-result As the first submodel P 1 (Λ) as input, solve the first submodel as follows:

[0183]

[0184] X satisfies the constraints (1), (2), (7), (8), (9), (10)

[0185] Fourth, combine the first sub-model P 1 Subresult of (Λ) and the second sub-model P 2 Subresult of (Λ) Get the task scheduling result.

[0186] Continue to refer Figure 5 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for determining a task scheduling result. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0187] like Figure 5As shown, the device for determining the task scheduling result includes: an acquisition unit 501, configured to acquire a task scheduling model, wherein the task scheduling model is used to characterize, under each feasible task scheduling scenario obtained based on preset constraints, a first distance cost from a target robot in a robot set to a target shelf in a shelf set that matches the target robot, a second distance cost from each target shelf to a target workstation in a workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation; a decomposition unit 502, configured to add Lagrange multipliers related to the target conditions in the preset constraints to the task scheduling model, and decompose the task scheduling model into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation; a determination unit 503, configured to determine the sub-results of the first sub-model and the second sub-model under the preset constraints to obtain the task scheduling result.

[0188] In some optional implementations of this embodiment, the determination unit 503 is further configured to: determine the sub-result of the second sub-model under the constraint conditions corresponding to the second sub-model in the preset constraint conditions; input the sub-result of the second sub-model into the first sub-model, and determine the sub-result of the first sub-model under the constraint conditions corresponding to the first sub-model in the preset constraint conditions. Combine the sub-result of the first sub-model with the sub-result of the second sub-model to obtain the task scheduling result.

[0189] In some optional implementations of this embodiment, the determination unit 503 is further configured to: generate an updated target condition based on the sub-results and target conditions of the second sub-model; input the sub-results of the second sub-model into the first sub-model, and determine the sub-results of the first sub-model under the preset constraints corresponding to the constraints of the first sub-model and the updated target conditions.

[0190] In some optional implementations of this embodiment, the above-mentioned device also includes: an updating unit (not shown in the figure), which is configured to update the Lagrangian multiplier in response to the update condition of the Lagrangian multiplier being met during the subsequent determination of the task scheduling result.

[0191] In some optional implementations of this embodiment, the task scheduling model determines, under each feasible task scheduling scenario, by a 0-1 integer programming method, a first distance cost from a target robot in the robot set to a target shelf in the shelf set that matches the target robot, a second distance cost from each target shelf to a workstation in the workstation set that matches the target shelf, and the unmet demand for each required item at each target workstation.

[0192] In some optional implementations of the present embodiment, each shelf in the shelf set has at least one shelf surface for storing items, and a first distance cost is used to characterize the distance cost from a target robot in the robot set to a target shelf surface that matches the target robot, and a second distance cost is used to characterize the distance cost from each target shelf surface to a workstation in the workstation set that matches the target shelf.

[0193] In this embodiment, an acquisition unit in a device for determining a task scheduling result acquires a task scheduling model, wherein the task scheduling model is used to characterize, for each feasible task scheduling scenario obtained based on preset constraints, a first distance cost from a target robot in a robot set to a target shelf in a shelf set that matches the target robot, a second distance cost from each target shelf to a target workstation in a workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation; a decomposition unit adds Lagrange multipliers related to target conditions in preset constraints to the task scheduling model, and decomposes the task scheduling model into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation; a determination unit determines sub-results of the first sub-model and the second sub-model under preset constraints to obtain a task scheduling result, thereby providing a device for determining a task scheduling result and improving the efficiency of determining a task scheduling result.

[0194] Reference below Figure 6 , which shows a device suitable for implementing the embodiments of the present application (eg Figure 1 Schematic diagram of the structure of a computer system 600 of the devices 101, 102, 103, 105 shown. Figure 6 The device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0195] like Figure 6 As shown, the computer system 600 includes a processor (e.g., CPU, central processing unit) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the system 600 are also stored in the RAM 603. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0196] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0197] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 609, and / or installed from a removable medium 611. When the computer program is executed by the processor 601, the above-mentioned functions defined in the method of the present application are executed.

[0198] It should be noted that the computer-readable medium of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0199] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the client computer, partially on the client computer, as a separate software package, partially on the client computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the client computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0200] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the device, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0201] The units involved in the embodiments described in the present application may be implemented by software or by hardware. The described units may also be set in a processor, for example, may be described as: a processor comprising an acquisition unit, a decomposition unit and a determination unit. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances. For example, the determination unit may also be described as "a unit that determines the sub-results of the first sub-model and the second sub-model under preset constraints to obtain a task scheduling result."

[0202] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the device, the computer device: obtains a task scheduling model, wherein the task scheduling model is used to characterize the first distance cost of the target robot in the robot set to the target shelf matching the target robot in the shelf set, the second distance cost of each target shelf to the target workstation matching the target shelf in the workstation set, and the unsatisfied demand of each target workstation for each required item under each feasible task scheduling situation obtained based on the preset constraint conditions; adds the Lagrange multiplier related to the target condition in the preset constraint conditions to the task scheduling model, decomposes the task scheduling model into a first sub-model characterizing the matching situation between the robot and the shelf, and a second sub-model characterizing the matching situation between the shelf and the workstation; under the preset constraint conditions, determines the sub-results of the first sub-model and the second sub-model to obtain the task scheduling result.

[0203] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.

Claims

1. A method for determining a task scheduling result, comprising: Obtaining a task scheduling model, wherein the task scheduling model is used to characterize, under each feasible task scheduling scenario obtained based on preset constraints, a first distance cost from a target robot in the robot set to a target shelf in the shelf set that matches the target robot, a second distance cost from each target shelf to a target workstation in the workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation; Adding Lagrange multipliers related to the target conditions in the preset constraints to the task scheduling model, obtaining a function model that characterizes the local relaxation problem corresponding to the target conditions; transforming the function model to obtain a transformed model; decomposing the transformed model into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation, wherein the target conditions include matching variables between the robot and the shelf surface of the shelf, and matching variables between the shelf surface of the shelf and the workstation, which are used to characterize that when the robot is assigned to the shelf surface during the matching process with the shelf, the shelf surface must be assigned to the workstation during the matching process with the workstation; Under the preset constraint conditions, determining the sub-results of the first sub-model and the second sub-model to obtain a task scheduling result; In the subsequent process of determining the task scheduling result, the Lagrange multiplier is updated at every preset time interval.

2. The method according to claim 1, wherein: The step of determining the sub-results of the first sub-model and the second sub-model under the preset constraint conditions to obtain the task scheduling result includes: Under the constraint condition corresponding to the second sub-model in the preset constraint condition, determining a sub-result of the second sub-model; Inputting the sub-result of the second sub-model into the first sub-model, and determining the sub-result of the first sub-model under the constraint condition corresponding to the first sub-model in the preset constraint condition; The task scheduling result is obtained by combining the sub-result of the first sub-model and the sub-result of the second sub-model.

3. The method according to claim 2, wherein: The step of inputting the sub-result of the second sub-model into the first sub-model and determining the sub-result of the first sub-model under the constraint condition corresponding to the first sub-model in the preset constraint condition comprises: generating an updated target condition according to the sub-result of the second sub-model and the target condition; The sub-result of the second sub-model is input into the first sub-model, and the sub-result of the first sub-model is determined under the preset constraint conditions corresponding to the constraint conditions of the first sub-model and the updated target conditions.

4. The method according to claim 1, wherein: The task scheduling model determines, in each feasible task scheduling scenario, a first distance cost from a target robot in the robot set to a target shelf in the shelf set that matches the target robot, a second distance cost from each target shelf to a workstation in the workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation by a 0-1 integer programming method.

5. The method according to any one of claims 1 to 4, wherein: Each shelf in the shelf set has at least one shelf surface for storing items. The first distance cost is used to characterize the distance cost from a target robot in the robot set to a target shelf surface that matches the target robot. The second distance cost is used to characterize the distance cost from each target shelf surface to a workstation in the workstation set that matches the target shelf.

6. A device for determining a task scheduling result, comprising: an acquisition unit configured to acquire a task scheduling model, wherein the task scheduling model is used to characterize, under each feasible task scheduling scenario obtained based on preset constraints, a first distance cost from a target robot in the robot set to a target shelf in the shelf set that matches the target robot, a second distance cost from each target shelf to a target workstation in the workstation set that matches the target shelf, and an unmet demand for each required item at each target workstation; A decomposition unit is configured to add Lagrange multipliers related to the target conditions in the preset constraints to the task scheduling model to obtain a function model that characterizes the local relaxation problem corresponding to the target conditions; transform the function model to obtain a transformed model; decompose the transformed model into a first sub-model that characterizes the matching situation between the robot and the shelf, and a second sub-model that characterizes the matching situation between the shelf and the workstation, wherein the target conditions include matching variables between the robot and the shelf surface of the shelf, and matching variables between the shelf surface of the shelf and the workstation, which are used to characterize that when the robot is assigned to the shelf surface during the matching process with the shelf, the shelf surface must be assigned to the workstation during the matching process with the workstation; A determination unit is configured to determine the sub-results of the first sub-model and the second sub-model under the preset constraint conditions to obtain a task scheduling result; The updating unit is configured to update the Lagrange multiplier at every preset time interval in the subsequent task scheduling result determination process.

7. The device according to claim 6, wherein: The determining unit is further configured to: Under the constraint conditions corresponding to the second sub-model in the preset constraint conditions, the sub-results of the second sub-model are determined; the sub-results of the second sub-model are input into the first sub-model, and under the constraint conditions corresponding to the first sub-model in the preset constraint conditions, the sub-results of the first sub-model are determined; and the sub-results of the first sub-model and the sub-results of the second sub-model are combined to obtain the task scheduling result.

8. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

9. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.