Cooperative distribution scheduling method and device for deliveryman and unmanned logistics vehicle
Through the collaborative delivery scheduling method of delivery personnel and unmanned logistics vehicles, the mixed integer programming model and Benders decomposition algorithm are used to optimize the logistics distribution strategy, solve the problem of low efficiency of traditional logistics distribution, achieve efficient resource utilization and cost reduction, and improve improve the quality and efficiency of logistics services.
Patent Information
- Application Number
- CN202410960312.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional logistics and distribution architecture relies too much on a single delivery person or static express delivery lockers, which makes it difficult to cope with the diversification and efficiency trends of logistics needs, resulting in inefficient use of resources and low distribution efficiency.
The collaborative delivery scheduling method of delivery personnel and unmanned logistics vehicles is adopted. By establishing a mixed integer programming model, combined with the linear sorting method and Benders decomposition algorithm, the collaborative delivery strategy of delivery personnel and unmanned logistics vehicles is optimized to determine whether the delivery personnel follow the unmanned logistics vehicles. The allocation and sequence of logistics vehicles and distribution nodes achieve efficient sharing and flexible scheduling of resources.
It has significantly improved logistics service response speed and customer satisfaction, optimized resource allocation, reduced labor and logistics costs, enhanced distribution efficiency and flexibility, and achieved dual optimization of package turnover rate and cost.
Smart Images

Figure CN118747622A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of management science and technology, and in particular to a collaborative delivery scheduling method and device for a delivery person and an unmanned logistics vehicle. Background Art
[0002] The traditional logistics distribution structure relies too much on the operation of a single delivery person or static express pick-up cabinets. Faced with the trend of diversification and efficiency of logistics needs, its limitations are becoming increasingly prominent. Summary of the invention
[0003] The present invention provides a method and device for collaborative delivery scheduling between a delivery person and an unmanned logistics vehicle, which is used to solve the problems existing in the above-mentioned prior art. The technical solution is as follows:
[0004] On the one hand, a collaborative delivery scheduling method for a delivery person and an unmanned logistics vehicle is provided, including:
[0005] S1. Use the unmanned logistics vehicle as a dynamic and flexible temporary pick-up point to form an efficient and collaborative distribution system with the delivery personnel, and establish a DSP-CCULV mixed integer programming model for the collaborative distribution scheduling problem between the delivery personnel and the unmanned logistics vehicle;
[0006] S2. performing model improvement on the mixed integer programming model based on a linear sorting method;
[0007] S3, relaxing the original problem of the DSP-CCULV into a restricted master problem, and establishing a mixed integer programming model for the restricted master problem, wherein the restricted master problem is used to determine whether the delivery person has an unmanned logistics vehicle following him and the allocation of distribution nodes;
[0008] S4, decomposing the original problem of the DSP-CCULV into one of the restricted main problems and multiple sub-problems, and establishing a mixed integer programming model of the sub-problems according to the improved model, wherein the sub-problems are used to determine the delivery order and access time of the delivery nodes;
[0009] S5. Using a commercial solver to solve the mixed integer programming model of the restricted main problem, and using the subproblems to verify the solution of the restricted main problem;
[0010] S6. When a subproblem is not feasible, it means that the distribution node allocation plan for the subproblem is not feasible. A feasible cut is generated and added to the restricted main problem to prevent this allocation plan from appearing again. When the subproblem is feasible and solved to the optimal solution, an optimal cut is generated and added to the restricted main problem to provide the restricted main problem with relevant information on the optimal solution of the subproblem. After the feasible cut or the optimal cut is added to the restricted main problem, the restricted main problem continues to be solved, and a loop iteration is performed to obtain the final solution.
[0011] Optionally, the mixed integer programming model of the DSP-CCULV is as follows:
[0012] index:
[0013] i,j distribution node index, i,j∈{1,2,…,n}
[0014] k delivery person index, k∈K
[0015] parameter:
[0016] N 0 All delivery nodes collection
[0017] N Collection of all door-to-door delivery nodes
[0018] N 1 All self-collection node collections
[0019] N + The set of arrival nodes among all self-pickup nodes
[0020] N - The set of leaving nodes in all self-collection nodes
[0021] K Delivery Personnel Collection
[0022] D i Expected access time of delivery node i
[0023] q i The distribution space occupied by distribution node i
[0024] Q 1 The capacity of each delivery vehicle
[0025] Q 2 Capacity of each unmanned logistics vehicle
[0026] f k The cost of having an unmanned logistics vehicle following the delivery person k
[0027] l i Unit delay cost of delivery node i
[0028] t ij The time required to travel between delivery node i and delivery node j
[0029] M is a large positive number
[0030] ηThe shortest time that the unmanned logistics vehicle needs to stay at the self-pickup point to meet the self-pickup demand
[0031] θThe maximum total delivery time allowed for each courier
[0032] b ijWhen the value is 1, it means N + The arrival nodes i and N in - The leaving node j in is the same pick-up point
[0033] variable:
[0034] F k Binary variable. If the delivery person k is followed by an unmanned logistics vehicle, the value is 1.
[0035] Y ik Binary variable, value is 1 if delivery node i is assigned to delivery person k
[0036] x jjk Binary variable. If delivery person k delivers to delivery node i and then immediately visits delivery node j, the value is 1C i The access time of distribution node i
[0037] T i Delivery delay time of delivery node i
[0038] P k Total delivery time of courier k
[0039] Model:
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059] Among them, the objective function (1) is to minimize the sum of the unmanned logistics vehicle cost and the delay cost; constraint (2) restricts each distribution node to be assigned to only one delivery person; constraints (3) and (4) restrict the visit to the self-pickup point to the need for an unmanned logistics vehicle to follow; constraints (5) and (6) ensure that when a delivery person is assigned to deliver, each distribution node has a predecessor and successor node; constraint (7) ensures that each node cannot be the predecessor and successor of another node at the same time; constraint (8) ensures that each distribution node can only be delivered once; constraint (9) determines the number of delivery nodes for each distribution node. The constraints (10) and (11) determine the access time of the delivery nodes by the delivery order of the delivery nodes; the constraint (12) restricts the arrival node and the departure node corresponding to the same pick-up point to be delivered by the same delivery person; the constraint (13) limits the minimum time that the unmanned logistics vehicle must stop at each pick-up point; the constraint (14) imposes a loading capacity restriction on the delivery person’s vehicle and the unmanned logistics vehicle; the constraints (15) and (16) limit the total delivery time of each delivery person; the constraints (17)-(19) define the decision variables.
[0060] Optionally, the step S2 of improving the mixed integer programming model based on a linear sorting method specifically includes:
[0061] The variable x ijk Modify to variable x ij And it is defined as: when the variable value is 1, node j is executed after node i, but not necessarily the next adjacent delivery node, so the model is adjusted and improved as follows:
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079] The improvement is to replace the original constraints (5)(6)(7)(8)(19) with constraints (20)(21)(22)(23), where constraints (20) and (21) determine the access time of nodes by linear sorting, and constraint (22) restricts nodes i and j to have a certain order, and it is impossible for node i to be before node j and node j to be before node i at the same time; constraint (23) defines x ij Decision variables. When two nodes are assigned to the same delivery person, only one of the two constraints (20) and (21) is valid. If node j is after node i, but not necessarily adjacent to it, then x ij is 1, then constraint (20) takes effect, limiting the access time of node j to at least the access time of node i plus the time required for the journey between the two. The right side of constraint (21) inequality is negative, so it is obviously established and will not affect the access time variable.
[0080] Optionally, in S3, the original problem of the DSP-CCULV is relaxed into a restricted master problem, and a mixed integer programming model of the restricted master problem is established, which specifically includes:
[0081] Let σ be the lower bound of the total delay cost, and let Ω kis the delay cost of the deliveryman k. Through this relaxation, the constraints of the original problem are greatly reduced. The restricted main problem is easier to solve than the original problem. Then, by adding the feasible cut or optimal cut obtained by iterative interaction between the main and subproblems, the allocation scheme of the restricted main problem is continuously adjusted, and σ continues to increase until σ is equal to the sum of the delays of the subproblems. The iteration terminates, and three valid inequalities (24)(25)(26) are added at the same time. Inequality (24) restricts the cost of each deliveryman to not be negative, inequality (25) restricts σ to at least the sum of the delay costs of all deliverymen, and inequality (26) describes the corresponding minimum delay cost of each deliveryman as the number of assigned delivery nodes changes, thereby effectively improving the initial σ lower bound. The restricted main problem is expressed as follows:
[0082]
[0083]
[0084]
[0085]
[0086]
[0087]
[0088]
[0089]
[0090]
[0091]
[0092]
[0093] Benders CUTS.
[0094] Optionally, establishing a mixed integer programming model for the subproblem according to the improved model in S4 specifically includes:
[0095] The sub-problem is the dispatching problem of each delivery person at the delivery node, where is the set of delivery nodes assigned to courier k in the hth iteration. Therefore, for a courier k, the mixed integer programming model of the delivery node scheduling subproblem is as follows:
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
[0103]
[0104]
[0105] Among them, the objective function (27) is to minimize the sum of delivery delay costs; constraints (28) and (29) are equivalent to constraints (20) and (21) in Y ik With Y jk When all are 1, through the decision variable x ij to determine the node access time; constraint (30) restricts nodes i and j to have a certain order, and it is impossible for node i to be before node j and node j to be before node i at the same time; constraint (31) determines the delivery delay time of each delivery node; constraint (32) restricts the earliest access time of the delivery node; constraint (33) restricts the shortest time that the unmanned logistics vehicle must stop at each pick-up point; constraint (34) restricts the total delivery time of the delivery person; constraint (35) defines the decision variables.
[0106] Optionally, generating a feasible cut or an optimal cut in S6 and adding it to the restricted main problem specifically includes:
[0107] For subproblems that are not feasible, the following feasible cuts are added to the restricted main problem:
[0108]
[0109] Among them, R is the set of delivery nodes assigned to a delivery person, |R| is the number of delivery nodes. The purpose of this feasible cut is that the node allocation scheme for a certain sub-problem is not feasible because there are too many nodes allocated. Therefore, this feasible cut can reduce the number of node allocations based on the original allocation scheme.
[0110] For the case where the subproblem has an optimal solution, the following optimal cut is added to the main problem:
[0111]
[0112] in, is the set of nodes assigned to deliveryman k in the hth iteration. The optimal cut means that in subsequent iterations, the set of assigned delivery nodes contains Then Ω k Greater than The results of solving the subproblems provide the following information for the restricted main problem: For any delivery person, if the nodes assigned to him include all the nodes in the current subproblem, then his delay cost must be no less than the minimum delay cost of this subproblem. At the h+1th iteration, if The optimal cut is established because Y in the set ik are all 1, so we get If Y ik = 0, the delivery node i is not assigned to the delivery person k, for any order The right side of the optimal cut inequality (37) is less than or equal to 0, so equation (37) must hold. In subsequent iterations, it will not affect the node allocation plan and will not remove new feasible solutions.
[0113] Optionally, when generating a feasible cut or an optimal cut and adding it to the restricted main problem in S6, a Branch-and-Benders-cut is introduced. At this time, the cut is derived from the information provided by the subproblem. The main problem is solved only once, and a Benders cut is generated in the branching process. When the branch restricts the main problem, each time a new solution Y is found ik , add the Benders cut obtained after solving the subproblem to the rest of the entire search tree for cumulative storage and continuous use of the solution information.
[0114] On the other hand, a collaborative delivery scheduling device for a delivery person and an unmanned logistics vehicle is provided, the device comprising:
[0115] The first module is used to use the unmanned logistics vehicle as a dynamic and flexible temporary self-pickup point to form an efficient and collaborative distribution system with the delivery personnel, and to establish a DSP-CCULV mixed integer programming model for the collaborative distribution scheduling problem between the delivery personnel and the unmanned logistics vehicle;
[0116] An improvement module, used for performing model improvement on the mixed integer programming model based on a linear sorting method;
[0117] The second establishment module is used to relax the original problem of the DSP-CCULV into a restricted master problem and establish a mixed integer programming model of the restricted master problem. The restricted master problem is used to determine whether the delivery person has an unmanned logistics vehicle following him and the allocation of distribution nodes;
[0118] A decomposition module, used for decomposing the original problem of the DSP-CCULV into one of the restricted main problems and multiple sub-problems, and establishing a mixed integer programming model of the sub-problems according to the improved model, wherein the sub-problems are used for determining the distribution sequence and access time of the distribution nodes;
[0119] A solution module, used for using a commercial solver to solve the mixed integer programming model of the restricted main problem, and using the sub-problems to verify the solution of the restricted main problem;
[0120] A generation module is used to indicate that when a subproblem is not feasible, the distribution node allocation scheme for the subproblem is not feasible, generate a feasible cut, and add it to the restricted main problem to prevent the allocation scheme from recurring; when the subproblem is feasible and solved to the optimal solution, generate an optimal cut, add it to the restricted main problem to provide the restricted main problem with information related to the optimal solution of the subproblem, and after the feasible cut or the optimal cut is added to the restricted main problem, the restricted main problem continues to be solved, and a loop iteration is performed to obtain a final solution.
[0121] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the above-mentioned collaborative delivery scheduling method between the delivery person and the unmanned logistics vehicle.
[0122] On the other hand, a computer-readable storage medium is provided, in which at least one instruction is stored. The at least one instruction is loaded and executed by a processor to implement the above-mentioned collaborative delivery scheduling method between the delivery personnel and the unmanned logistics vehicle.
[0123] The beneficial effects brought about by the technical solution provided by the present invention include at least:
[0124] The present invention innovatively uses unmanned logistics vehicles as dynamic and flexible temporary self-pickup points, and forms an efficient and coordinated distribution system with delivery personnel, marking a major technological innovation in the field of logistics. In this mode, delivery personnel directly face customer terminals and perform accurate and efficient cargo delivery tasks, which greatly improves service response speed and customer satisfaction, and reshapes the quality standards of logistics services. At the same time, unmanned logistics vehicles cleverly use specific time periods (such as lunch or off-get off work peak hours in office areas) to transform authorized self-pickup points into temporary self-pickup points, realizing the convenience and efficiency of customer self-service pickup. Compared with the traditional decentralized and asynchronous parcel cabinet management mode, the present invention effectively avoids the problems of long-term invalid retention of parcels, inefficient resource utilization and low turnover rate, and significantly optimizes the allocation of logistics resources. This collaborative distribution mechanism not only greatly enhances the efficiency and flexibility of logistics distribution, but also profoundly reduces the investment in human resources and logistics costs, especially in the core areas of cities and densely populated areas. Through the intelligent collaboration of delivery personnel and unmanned logistics vehicles, the complex and changeable distribution needs and time window restrictions are accurately connected, which opens up a new path for modern logistics management and brings significant economic and social benefits. In addition, the present invention also realizes efficient sharing of space resources between the delivery personnel's vehicles and the unmanned logistics workshop, and provides solid safety protection for the unmanned logistics vehicles by using the supervision and guidance of the delivery personnel. Combined with advanced real-time monitoring and data analysis technology, managers can instantly grasp the operating status and pickup progress of the unmanned logistics vehicles, providing a strong data foundation for decision support. This series of innovative designs further optimizes the allocation and scheduling strategies of distribution nodes, ensures the effective control of distribution costs, and injects strong impetus into the intelligent and efficient transformation of the modern logistics industry.
[0125] The core advantages of the present invention are embodied in the following aspects:
[0126] (1) Compared with the isolated state of delivery personnel's work and unmanned parcel lockers in the traditional mode, the present invention significantly promotes the centralized and efficient use of resources through integrated innovation, improves the parcel turnover rate, and thus achieves dual optimization of cost and resources.
[0127] (2) Through the space sharing strategy between the delivery personnel and the unmanned logistics vehicle, the present invention can flexibly respond to different delivery demand scenarios. For example, when the door-to-door delivery task is heavy, the unmanned logistics vehicle can be used to temporarily store the packages to reduce the number of returns to the warehouse; on the contrary, when the self-pickup demand is the main one, the delivery personnel's vehicle is used first, and some packages are transferred to the unmanned logistics vehicle after being picked up by themselves, which greatly improves the delivery efficiency and flexibility.
[0128] (3) Aiming at this innovative distribution mode, the present invention creatively establishes a mixed integer programming model of the DSP-CCULV for the collaborative distribution scheduling problem of the delivery personnel and the unmanned logistics vehicle, and then improves the model based on the linear sorting method. Then, the original problem of DSP-CCULV is relaxed to a restricted main problem, and then the original problem of DSP-CCULV is decomposed into a restricted main problem and multiple sub-problems. The sub-problems are used to verify the solution of the restricted main problem. If the sub-problem is infeasible, a feasible cut is added to the main problem to restrict the allocation of distribution nodes. If the sub-problem is feasible, it is solved to the optimal solution, and the optimal cut is added to the main problem to provide additional information for the main problem. Then, the restricted main problem is solved again for iterative cycles to obtain the final solution. When generating feasible cuts or optimal cuts and adding them to the restricted main problem, the Branch-and-Benders-cut is introduced, which not only speeds up the problem solving speed, but also can be applied to problems of different scales and obtain high-quality solutions. It efficiently solves the core problems such as whether the delivery personnel are on the vehicle, task allocation and scheduling, and fills the gap in research and algorithm design in this field. BRIEF DESCRIPTION OF THE DRAWINGS
[0129] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0130] Figure 1 This is a flow chart of a collaborative delivery scheduling method between a delivery person and an unmanned logistics vehicle provided by an embodiment of the present invention;
[0131] Figure 2 It is a schematic diagram of collaborative delivery scheduling between a delivery person and an unmanned logistics vehicle provided by an embodiment of the present invention;
[0132] Figure 3 It is a collaborative delivery scheduling decision framework between delivery personnel and unmanned logistics vehicles provided by an embodiment of the present invention;
[0133] Figure 4 This is the Branch-and-Benders-cut implementation process provided by the embodiment of the present invention;
[0134] Figure 5 It is a block diagram of a collaborative delivery scheduling device for a delivery person and an unmanned logistics vehicle provided by an embodiment of the present invention;
[0135] Figure 6 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0136] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0137] The embodiment of the present invention provides a method for collaborative delivery scheduling between a delivery person and an unmanned logistics vehicle, which can be implemented by an electronic device, which can be a terminal or a server. Figure 1 The flowchart of a collaborative delivery scheduling method between a delivery person and an unmanned logistics vehicle is shown. The processing flow of the method may include the following steps:
[0138] S1. Use the unmanned logistics vehicle as a dynamic and flexible temporary pick-up point to form an efficient and collaborative distribution system with the delivery personnel, and establish a DSP-CCULV mixed integer programming model for the collaborative distribution scheduling problem between the delivery personnel and the unmanned logistics vehicle;
[0139] S2. performing model improvement on the mixed integer programming model based on a linear sorting method;
[0140] S3, relaxing the original problem of the DSP-CCULV into a restricted master problem, and establishing a mixed integer programming model for the restricted master problem, wherein the restricted master problem is used to determine whether the delivery person has an unmanned logistics vehicle following him and the allocation of distribution nodes;
[0141] S4, decomposing the original problem of the DSP-CCULV into one of the restricted main problems and multiple sub-problems, and establishing a mixed integer programming model of the sub-problems according to the improved model, wherein the sub-problems are used to determine the delivery sequence and access time of the delivery nodes;
[0142] S5. Using a commercial solver to solve the mixed integer programming model of the restricted main problem, and using the subproblems to verify the solution of the restricted main problem;
[0143] S6. When a subproblem is not feasible, it means that the distribution node allocation plan for the subproblem is not feasible. A feasible cut is generated and added to the restricted main problem to prevent this allocation plan from appearing again. When the subproblem is feasible and solved to the optimal solution, an optimal cut is generated and added to the restricted main problem to provide the restricted main problem with relevant information on the optimal solution of the subproblem. After the feasible cut or the optimal cut is added to the restricted main problem, the restricted main problem continues to be solved, and a loop iteration is performed to obtain the final solution.
[0144] like Figure 2As shown, the embodiment of the present invention proposes an innovative logistics and distribution model, in which the deliveryman can choose to travel with an unmanned logistics vehicle when setting off from the warehouse, or perform door-to-door delivery tasks independently. For the deliveryman accompanied by the unmanned logistics vehicle, they need to tow the unmanned logistics vehicle to the preset self-pickup point and activate it as a temporary self-pickup point, and then trigger a pickup notification to the customer who chooses self-pickup, requiring them to complete the package collection within a specific time period (such as within half an hour after the end of work). During this time, the deliveryman flexibly moves to the surrounding area to perform door-to-door delivery tasks. After completing the task, he returns to the self-pickup point and continues to tow the unmanned logistics vehicle to the next target or returns to the warehouse as appropriate.
[0145] like Figure 3 The collaborative distribution scheduling decision framework of the embodiment of the present invention shown intuitively reveals the logical relationship between distribution nodes, wherein distribution node 3 and distribution node 6 are the same temporary self-pickup point, node 3 is the arrival node of the temporary self-pickup point, and node 6 is the departure node of the temporary self-pickup point, which means that the unmanned logistics vehicle needs to complete the first stop at the temporary self-pickup point (i.e., visit node 3), and the arrival node 3 is activated as a temporary self-pickup point for self-pickup by self-pickup customers, and returns to the temporary self-pickup point (i.e., visit node 6) after the delivery person completes the surrounding door-to-door delivery task, thereby forming a closed loop. Then, if the shortest stop time is met, the unmanned vehicle is towed away from node 6 to the next node or back to the warehouse. Since the delivery node list of the delivery person 1 includes the self-pickup point delivery node, it is determined that he must act with the unmanned logistics vehicle to ensure the smoothness and efficiency of the delivery process.
[0146] The following is a detailed description of a collaborative delivery scheduling method between a delivery person and an unmanned logistics vehicle provided by an embodiment of the present invention, including:
[0147] S1. Use the unmanned logistics vehicle as a dynamic and flexible temporary pick-up point to form an efficient and collaborative distribution system with the delivery personnel, and establish a DSP-CCULV mixed integer programming model for the collaborative distribution scheduling problem between the delivery personnel and the unmanned logistics vehicle;
[0148] Optionally, the mixed integer programming model of the DSP-CCULV is as follows:
[0149] index:
[0150] i,j distribution node index, i,j∈{1,2,…,n}
[0151] k delivery person index, k∈K
[0152] parameter:
[0153] N 0 All delivery nodes collection
[0154] N Collection of all door-to-door delivery nodes
[0155] N 1 All self-collection node collections
[0156] N + The set of arrival nodes among all self-pickup nodes
[0157] N - The set of leaving nodes in all self-collection nodes
[0158] K Delivery Personnel Collection
[0159] D i Expected access time of delivery node i
[0160] q i The distribution space occupied by distribution node i
[0161] Q 1 The capacity of each delivery vehicle
[0162] Q 2 Capacity of each unmanned logistics vehicle
[0163] f k The cost of having an unmanned logistics vehicle following the delivery person k
[0164] l i Unit delay cost of delivery node i
[0165] t ij The time required to travel between delivery node i and delivery node j
[0166] M is a large positive number
[0167] ηThe shortest time that the unmanned logistics vehicle needs to stay at the self-pickup point to meet the self-pickup demand
[0168] θThe maximum total delivery time allowed for each courier
[0169] b ij When the value is 1, it means N + The arrival nodes i and N in - The leaving node j in is the same pick-up point
[0170] variable:
[0171] F k Binary variable. If the delivery person k is followed by an unmanned logistics vehicle, the value is 1.
[0172] Y ik Binary variable, value is 1 if delivery node i is assigned to delivery person k
[0173] x jjkBinary variable. If the delivery person k visits the delivery node j immediately after delivering to the delivery node i, the value is 1.
[0174] C i The access time of distribution node i
[0175] T i Delivery delay time of delivery node i
[0176] P k The total delivery time model of deliveryman k is:
[0177]
[0178]
[0179]
[0180]
[0181]
[0182]
[0183]
[0184]
[0185]
[0186]
[0187]
[0188]
[0189]
[0190]
[0191]
[0192]
[0193]
[0194]
[0195]
[0196] Among them, the objective function (1) is to minimize the sum of the unmanned logistics vehicle cost and the delay cost; constraint (2) restricts each distribution node to be assigned to only one delivery person; constraints (3) and (4) restrict the visit to the self-pickup point to the need for an unmanned logistics vehicle to follow; constraints (5) and (6) ensure that when a delivery person is assigned to deliver, each distribution node has a predecessor and successor node; constraint (7) ensures that each node cannot be the predecessor and successor of another node at the same time; constraint (8) ensures that each distribution node can only be delivered once; constraint (9) determines the number of delivery nodes for each distribution node. The constraints (10) and (11) determine the access time of the delivery nodes by the delivery order of the delivery nodes; the constraint (12) restricts the arrival node and the departure node corresponding to the same pick-up point to be delivered by the same delivery person; the constraint (13) limits the minimum time that the unmanned logistics vehicle must stop at each pick-up point; the constraint (14) imposes a loading capacity restriction on the delivery person’s vehicle and the unmanned logistics vehicle; the constraints (15) and (16) limit the total delivery time of each delivery person; the constraints (17)-(19) define the decision variables.
[0197] S2. performing model improvement on the mixed integer programming model based on a linear sorting method;
[0198] Optionally, the step S2 of improving the mixed integer programming model based on a linear sorting method specifically includes:
[0199] The variable x ijk Modify to variable x ij And it is defined as: when the variable value is 1, node j is executed after node i, but not necessarily the next adjacent delivery node, so the model is adjusted and improved as follows:
[0200]
[0201]
[0202]
[0203]
[0204]
[0205]
[0206]
[0207]
[0208]
[0209]
[0210]
[0211]
[0212]
[0213]
[0214]
[0215]
[0216]
[0217] The improvement is to replace the original constraints (5)(6)(7)(8)(19) with constraints (20)(21)(22)(23), where constraints (20) and (21) determine the access time of nodes by linear sorting, and constraint (22) restricts nodes i and j to have a certain order, and it is impossible for node i to be before node j and node j to be before node i at the same time; constraint (23) defines x ij Decision variables. When two nodes are assigned to the same delivery person, only one of the two constraints (20) and (21) is valid. If node j is after node i, but not necessarily adjacent to it, then x ij is 1, constraint (20) takes effect, limiting the access time of node j to at least the access time of node i plus the time required for the journey between the two. The right side of constraint (21) inequality is negative, so it is obviously established and will not affect the access time variable, thus achieving the effect of determining the node access time by linear sorting, which greatly simplifies the difficulty of solving the model.
[0218] S3, relaxing the original problem of the DSP-CCULV into a restricted master problem, and establishing a mixed integer programming model of the restricted master problem, wherein the restricted master problem is used to determine whether the delivery person is followed by an unmanned logistics vehicle and the allocation of the distribution node (which delivery person the distribution node is allocated to);
[0219] Optionally, in S3, the original problem of the DSP-CCULV is relaxed into a restricted master problem, and a mixed integer programming model of the restricted master problem is established, which specifically includes:
[0220] Let σ be the lower bound of the total delay cost, and let Ω kis the delay cost of the deliveryman k. Through this relaxation, the constraints of the original problem are greatly reduced. The restricted main problem is easier to solve than the original problem. Then, by adding the feasible cut or optimal cut (both Benders cuts) obtained by iterative interaction between the main and subproblems, the allocation scheme of the restricted main problem is continuously adjusted, and σ continues to increase until σ is equal to the sum of the delays of the subproblems. The iteration terminates, and three valid inequalities (24)(25)(26) are added at the same time. Inequality (24) restricts the cost of each deliveryman to not be negative, inequality (25) restricts σ to at least the sum of the delay costs of all deliverymen, and inequality (26) describes the corresponding minimum delay cost of each deliveryman as the number of assigned delivery nodes changes, thereby effectively improving the initial σ lower bound. The restricted main problem is expressed as follows:
[0221]
[0222]
[0223]
[0224]
[0225]
[0226]
[0227]
[0228]
[0229]
[0230]
[0231]
[0232] Benders CUTS.
[0233] S4, decomposing the original problem of the DSP-CCULV into one of the restricted main problems and multiple sub-problems, and establishing a mixed integer programming model of the sub-problems according to the improved model, wherein the sub-problems are used to determine the delivery order and visit time of the delivery nodes (the delivery order and visit time of the delivery nodes assigned by each delivery person);
[0234] When the distribution node allocation solution is obtained from the restricted master problem, that is, the variable Y ik After the result is obtained, it is passed to the sub-problem, and then each sub-problem is solved in parallel, and feasible cuts and optimal cuts are added to the restricted main problem based on the solution results of the sub-problem.
[0235] Optionally, establishing a mixed integer programming model for the subproblem according to the improved model in S4 specifically includes:
[0236] The sub-problem is the dispatching problem of each delivery person at the delivery node, where is the set of delivery nodes assigned to courier k in the hth iteration. Therefore, for a courier k, the mixed integer programming model of the delivery node scheduling subproblem is as follows:
[0237]
[0238]
[0239]
[0240]
[0241]
[0242]
[0243]
[0244]
[0245]
[0246] Among them, the objective function (27) is to minimize the sum of delivery delay costs; constraints (28) and (29) are equivalent to constraints (20) and (21) in Y ik With Y jk When all are 1, through the decision variable x ij to determine the node access time; constraint (30) restricts nodes i and j to have a certain order, and it is impossible for node i to be before node j and node j to be before node i at the same time; constraint (31) determines the delivery delay time of each delivery node; constraint (32) restricts the earliest access time of the delivery node; constraint (33) restricts the shortest time that the unmanned logistics vehicle must stop at each pick-up point; constraint (34) restricts the total delivery time of the delivery person; constraint (35) defines the decision variables.
[0247] S5. Using a commercial solver to solve the mixed integer programming model of the restricted main problem, and using the subproblems to verify the solution of the restricted main problem;
[0248] The feasibility or infeasibility of the subproblems is also determined by a commercial solver, which can return the solution result status.
[0249] S6. When a subproblem is not feasible, it means that the distribution node allocation plan for the subproblem is not feasible. A feasible cut is generated and added to the restricted main problem to prevent this allocation plan from appearing again. When the subproblem is feasible and solved to the optimal solution, an optimal cut is generated and added to the restricted main problem to provide the restricted main problem with relevant information on the optimal solution of the subproblem. After the feasible cut or the optimal cut is added to the restricted main problem, the restricted main problem continues to be solved, and a loop iteration is performed to obtain the final solution.
[0250] Optionally, generating a feasible cut or an optimal cut in S6 and adding it to the restricted main problem specifically includes:
[0251] For subproblems that are not feasible, the following feasible cuts are added to the restricted main problem:
[0252]
[0253] Among them, R is the set of delivery nodes assigned to a delivery person, |R| is the number of delivery nodes. The purpose of this feasible cut is that the node allocation scheme for a certain sub-problem is not feasible because there are too many nodes allocated. Therefore, this feasible cut can reduce the number of node allocations based on the original allocation scheme.
[0254] For the case where the subproblem has an optimal solution, the following optimal cut is added to the main problem:
[0255]
[0256] in, is the set of nodes assigned to deliveryman k in the hth iteration. The optimal cut means that in subsequent iterations, the set of assigned delivery nodes contains Then Ω k Greater than The results of solving the subproblems provide the following information for the restricted main problem: For any delivery person, if the nodes assigned to him include all the nodes in the current subproblem, then his delay cost must be no less than the minimum delay cost of this subproblem. At the h+1th iteration, if The optimal cut is established because Y in the set ik are all 1, so we get If Y ik = 0, the delivery node i is not assigned to the delivery person k, for any order The right side of the optimal cut inequality (37) is less than or equal to 0, so equation (37) must hold. In subsequent iterations, it will not affect the node allocation plan and will not remove new feasible solutions.
[0257] Optionally, when generating a feasible cut or an optimal cut and adding it to the restricted main problem in S6, a Branch-and-Benders-cut is introduced. At this time, the cut is derived from the information provided by the subproblem. The main problem is solved only once, and a Benders cut is generated in the branching process. When the branch restricts the main problem, each time a new solution Y is found ik , add the Benders cut obtained after solving the subproblem to the rest of the entire search tree for cumulative storage and continuous use of the solution information.
[0258] Since the restricted main problem is relatively complex, in the classic logic-based Benders decomposition algorithm, once a cut is added to the restricted main problem, the solver must solve it from scratch again. Although the new cut may change the structure of the search tree, the solver is likely to spend a lot of time revisiting the candidate solutions that have been eliminated before. This restart-style solution loses the previous solution information and is undoubtedly inefficient. In addition, because the framework adopted by the solver is the BranchandCut framework, it combines branch and bound and cutting plane technology, where branch and bound finds the optimal solution by gradually dividing the problem space, and the cutting plane technology adds valid linear inequalities (cutting planes) to each branch node to improve the lower bound of the linear relaxation problem. In order to speed up the solution process, the embodiment of the present invention introduces Branch-and-Benders-cut, that is, the cut at this time comes from the information provided by the subproblem, and the main problem is only solved once, and Benders cuts are generated in the branching process. When the branch restricts the main problem, each time a new solution Y is found ik , add the Benders cut obtained after solving the subproblem to the rest of the entire search tree, and accumulate and continuously utilize the solution information. The specific implementation process is as follows Figure 4 shown.
[0259] like Figure 5 As shown, an embodiment of the present invention further provides a collaborative delivery scheduling device for a delivery person and an unmanned logistics vehicle, the device comprising:
[0260] The first building module 510 is used to use the unmanned logistics vehicle as a dynamic and flexible temporary self-pickup point to form an efficient and collaborative distribution system with the delivery personnel, and to establish a DSP-CCULV mixed integer programming model for the collaborative distribution scheduling problem between the delivery personnel and the unmanned logistics vehicle;
[0261] An improvement module 520, configured to perform model improvement on the mixed integer programming model based on a linear sorting method;
[0262] The second establishment module 530 is used to relax the original problem of the DSP-CCULV into a restricted master problem and establish a mixed integer programming model of the restricted master problem, wherein the restricted master problem is used to determine whether the delivery person has an unmanned logistics vehicle following him and the allocation of the distribution node;
[0263] A decomposition module 540, used to decompose the original problem of the DSP-CCULV into one of the restricted main problems and multiple sub-problems, and establish a mixed integer programming model of the sub-problems according to the improved model, wherein the sub-problems are used to determine the delivery sequence and access time of the delivery nodes;
[0264] A solution module 550 is used to use a commercial solver to perform model solution on the mixed integer programming model of the restricted main problem, and use the sub-problems to verify the solution of the restricted main problem;
[0265] Generate module 560, which is used to indicate that when a sub-problem is not feasible, the distribution node allocation scheme for the sub-problem is not feasible, generate a feasible cut, and add it to the restricted main problem to prevent the allocation scheme from recurring; when the sub-problem is feasible and solved to the optimal solution, generate an optimal cut, add it to the restricted main problem to provide the restricted main problem with information related to the optimal solution of the sub-problem. After the feasible cut or the optimal cut is added to the restricted main problem, the restricted main problem continues to be solved, and a loop iteration is performed to obtain the final solution.
[0266] An embodiment of the present invention provides a collaborative delivery scheduling device for a delivery person and an unmanned logistics vehicle, and its functional structure corresponds to a collaborative delivery scheduling method for a delivery person and an unmanned logistics vehicle provided by an embodiment of the present invention, which will not be repeated here.
[0267] Figure 6 It is a structural diagram of an electronic device 600 provided in an embodiment of the present invention. The electronic device 600 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 601 and one or more memories 602, wherein at least one instruction is stored in the memory 602, and the at least one instruction is loaded and executed by the processor 601 to implement the steps of the above-mentioned collaborative delivery scheduling method between the delivery person and the unmanned logistics vehicle.
[0268] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, and the instructions can be executed by a processor in a terminal to complete the above-mentioned collaborative delivery scheduling method between a delivery person and an unmanned logistics vehicle. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0269] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0270] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A collaborative delivery scheduling method between a delivery person and an unmanned logistics vehicle, characterized in that: The method comprises: S1. Use the unmanned logistics vehicle as a dynamic and flexible temporary pick-up point to form an efficient and collaborative distribution system with the delivery personnel, and establish a DSP-CCULV mixed integer programming model for the collaborative distribution scheduling problem between the delivery personnel and the unmanned logistics vehicle; S2. performing model improvement on the mixed integer programming model based on a linear sorting method; S3, relaxing the original problem of the DSP-CCULV into a restricted master problem, and establishing a mixed integer programming model for the restricted master problem, wherein the restricted master problem is used to determine whether the delivery person has an unmanned logistics vehicle following him and the allocation of distribution nodes; S4, decomposing the original problem of the DSP-CCULV into one of the restricted main problems and multiple sub-problems, and establishing a mixed integer programming model of the sub-problems according to the improved model, wherein the sub-problems are used to determine the delivery order and access time of the delivery nodes; S5. Using a commercial solver to solve the mixed integer programming model of the restricted main problem, and using the subproblems to verify the solution of the restricted main problem; S6. When a subproblem is not feasible, it means that the distribution node allocation plan for the subproblem is not feasible. A feasible cut is generated and added to the restricted main problem to prevent this allocation plan from appearing again. When the subproblem is feasible and solved to the optimal solution, an optimal cut is generated and added to the restricted main problem to provide the restricted main problem with relevant information on the optimal solution of the subproblem. After the feasible cut or the optimal cut is added to the restricted main problem, the restricted main problem continues to be solved, and a loop iteration is performed to obtain the final solution.
2. The method according to claim 1, characterized in that The mixed integer programming model of DSP-CCULV is as follows: index: i,j distribution node index, i,j∈{1,2,…,n} k delivery person index, k∈K parameter: N 0 All delivery nodes collection N All door-to-door delivery nodes N 1 All self-collection node collections N + The set of arrival nodes among all self-pickup nodes N - The set of leaving nodes in all self-collection nodes K Delivery Personnel Collection D i Expected access time of delivery node i q i The distribution space occupied by distribution node i Q 1 The capacity of each delivery vehicle Q 2 Capacity of each unmanned logistics vehicle f k The cost of having an unmanned logistics vehicle following the delivery person k l i Unit delay cost of delivery node i t ij The time required to travel between delivery node i and delivery node j M is a large positive number ηThe shortest time that the unmanned logistics vehicle needs to stay at the self-pickup point to meet the self-pickup demand θThe maximum total delivery time allowed for each courier b ij When the value is 1, it means N + The arrival nodes i and N in - The leaving node j in is the same pick-up point variable: F k Binary variable. If the delivery person k is followed by an unmanned logistics vehicle, the value is 1. Y ik Binary variable, value is 1 if delivery node i is assigned to delivery person k x jjk Binary variable. If delivery person k delivers to delivery node i and then immediately visits delivery node j, the value is 1C i The access time of distribution node i T i Delivery delay time of delivery node i P k Total delivery time of courier k Model: Among them, the objective function (1) is to minimize the sum of the unmanned logistics vehicle cost and the delay cost; constraint (2) restricts each distribution node to be assigned to only one delivery person; constraints (3) and (4) restrict the visit to the self-pickup point to the need for an unmanned logistics vehicle to follow; constraints (5) and (6) ensure that when a delivery person is assigned to deliver, each distribution node has a predecessor and successor node; constraint (7) ensures that each node cannot be the predecessor and successor of another node at the same time; constraint (8) ensures that each distribution node can only be delivered once; constraint (9) determines the number of delivery nodes for each distribution node. The constraints (10) and (11) determine the access time of the delivery nodes by the delivery order of the delivery nodes; the constraint (12) restricts the arrival node and the departure node corresponding to the same pick-up point to be delivered by the same delivery person; the constraint (13) limits the minimum time that the unmanned logistics vehicle must stop at each pick-up point; the constraint (14) imposes a loading capacity restriction on the delivery person’s vehicle and the unmanned logistics vehicle; the constraints (15) and (16) limit the total delivery time of each delivery person; the constraints (17)-(19) define the decision variables.
3. The method according to claim 2, characterized in that The step S2 of improving the mixed integer programming model based on a linear sorting method specifically includes: The variable x ijk Modify the variable x ij And it is defined as: when the variable value is 1, node j is executed after node i, but not necessarily the next adjacent delivery node, so the model is adjusted and improved as follows: The improvement is to replace the original constraints (5)(6)(7)(8)(19) with constraints (20)(21)(22)(23), where constraints (20) and (21) determine the access time of nodes by linear sorting, and constraint (22) restricts nodes i and j to have a certain order, and it is impossible for node i to be before node j and node j to be before node i at the same time; constraint (23) defines x ij Decision variables. When two nodes are assigned to the same delivery person, only one of the two constraints (20) and (21) is valid. If node j is after node i, but not necessarily adjacent to it, then x ij is 1, then constraint (20) takes effect, limiting the access time of node j to at least the access time of node i plus the time required for the journey between the two. The right side of constraint (21) inequality is negative, so it is obviously established and will not affect the access time variable.
4. The method according to claim 3, characterized in that In S3, the original problem of the DSP-CCULV is relaxed into a restricted master problem, and a mixed integer programming model of the restricted master problem is established, which specifically includes: Let σ be the lower bound of the total delay cost, and let Ω k is the delay cost of the deliveryman k. Through this relaxation, the constraints of the original problem are greatly reduced. The restricted main problem is easier to solve than the original problem. Then, by adding the feasible cut or optimal cut obtained by iterative interaction between the main and subproblems, the allocation scheme of the restricted main problem is continuously adjusted, and σ continues to increase until σ is equal to the sum of the delays of the subproblems. The iteration terminates, and three valid inequalities (24)(25)(26) are added at the same time. Inequality (24) restricts the cost of each deliveryman to not be negative, inequality (25) restricts σ to at least the sum of the delay costs of all deliverymen, and inequality (26) describes the corresponding minimum delay cost of each deliveryman as the number of assigned delivery nodes changes, thereby effectively improving the initial σ lower bound. The restricted main problem is expressed as follows: Benders CUTS.
5. The method according to claim 4, characterized in that In S4, a mixed integer programming model for the sub-problem is established according to the improved model, specifically including: The sub-problem is the dispatching problem of each delivery person at the delivery node, where is the set of delivery nodes assigned to courier k in the hth iteration. Therefore, for a courier k, the mixed integer programming model of the delivery node scheduling subproblem is as follows: Among them, the objective function (27) is to minimize the sum of delivery delay costs; constraints (28) and (29) are equivalent to constraints (20) and (21) in Y ik With Y jk When all are 1, through the decision variable x ij to determine the node access time; constraint (30) restricts nodes i and j to have a certain order, and it is impossible for node i to be before node j and node j to be before node i at the same time; constraint (31) determines the delivery delay time of each delivery node; constraint (32) restricts the earliest access time of the delivery node; constraint (33) restricts the shortest time that the unmanned logistics vehicle must stop at each pick-up point; constraint (34) restricts the total delivery time of the delivery person; constraint (35) defines the decision variables.
6. The method according to claim 5, characterized in that The generating of the feasible cut or the optimal cut in S6 and adding it to the restricted main problem specifically includes: For subproblems that are not feasible, the following feasible cuts are added to the restricted main problem: Among them, R is the set of delivery nodes assigned to a delivery person, |R| is the number of delivery nodes. The purpose of this feasible cut is that the node allocation scheme for a certain sub-problem is not feasible because there are too many nodes allocated. Therefore, this feasible cut can reduce the number of node allocations based on the original allocation scheme. For the case where the subproblem has an optimal solution, the following optimal cut is added to the main problem: in, is the set of nodes assigned to deliveryman k in the hth iteration. The optimal cut means that in subsequent iterations, the set of assigned delivery nodes contains Then Ω k Greater than The results of solving the subproblems provide the following information for the restricted main problem: For any delivery person, if the nodes assigned to him include all the nodes in the current subproblem, then his delay cost must be no less than the minimum delay cost of this subproblem. At the h+1th iteration, if The optimal cut is established because Y in the set ik are all 1, so we get If Y ik = 0, the delivery node i is not assigned to the delivery person k, for any order The right side of the optimal cut inequality (37) is less than or equal to 0, so equation (37) must hold. In subsequent iterations, it will not affect the node allocation plan and will not remove new feasible solutions.
7. The method according to claim 6, characterized in that In S6, when generating a feasible cut or an optimal cut and adding it to the restricted main problem, Branch-and-Benders-cut is introduced. At this time, the cut comes from the information provided by the subproblem. The main problem is only solved once, and Benders cuts are generated in the branching process. When the branch restricts the main problem, each time a new solution Y is found ik , add the Benders cut obtained after solving the subproblem to the rest of the entire search tree for cumulative storage and continuous use of the solution information.
8. A collaborative delivery dispatching device for delivery personnel and unmanned logistics vehicles, characterized in that: The device comprises: The first module is used to use the unmanned logistics vehicle as a dynamic and flexible temporary self-pickup point to form an efficient and collaborative distribution system with the delivery personnel, and to establish a DSP-CCULV mixed integer programming model for the collaborative distribution scheduling problem between the delivery personnel and the unmanned logistics vehicle; An improvement module, used for performing model improvement on the mixed integer programming model based on a linear sorting method; The second establishment module is used to relax the original problem of the DSP-CCULV into a restricted master problem and establish a mixed integer programming model of the restricted master problem. The restricted master problem is used to determine whether the delivery person has an unmanned logistics vehicle following him and the allocation of distribution nodes; A decomposition module, used for decomposing the original problem of the DSP-CCULV into one of the restricted main problems and multiple sub-problems, and establishing a mixed integer programming model of the sub-problems according to the improved model, wherein the sub-problems are used for determining the distribution sequence and access time of the distribution nodes; A solution module, used for using a commercial solver to solve the mixed integer programming model of the restricted main problem, and using the sub-problems to verify the solution of the restricted main problem; A generation module is used to indicate that when a subproblem is not feasible, the distribution node allocation scheme for the subproblem is not feasible, generate a feasible cut, and add it to the restricted main problem to prevent the allocation scheme from recurring; when the subproblem is feasible and solved to the optimal solution, generate an optimal cut, add it to the restricted main problem to provide the restricted main problem with information related to the optimal solution of the subproblem, and after the feasible cut or the optimal cut is added to the restricted main problem, the restricted main problem continues to be solved, and a loop iteration is performed to obtain a final solution.
9. An electronic device, comprising a processor and a memory, wherein at least one instruction is stored in the memory, wherein: The at least one instruction is loaded and executed by the processor to implement the collaborative delivery scheduling method between the delivery personnel and the unmanned logistics vehicle as described in any one of claims 1-7.
10. A computer-readable storage medium, wherein at least one instruction is stored in the storage medium, characterized in that: The at least one instruction is loaded and executed by the processor to implement the collaborative delivery scheduling method between the delivery personnel and the unmanned logistics vehicle as described in any one of claims 1-7.
Citation Information
Patent Citations
Logistics method and system based on unmanned logistics vehicle
CN111311141A
Logistics route planning method, device and equipment and storage medium
CN111461624A
Express delivery mode selection method and device, computer equipment and storage medium
CN112801567A
Scheduling optimization method and system based on cooperative distribution of vehicle and unmanned aerial vehicle
CN116384606A
Distribution station for serving unmanned logistics distribution vehicles and distribution method
IN202037004173A
