Transport route planning method, device, computer equipment and storage medium
By optimizing the transportation path planning of logistics tasks through screening and mathematical models, the problem of low logistics task planning efficiency in the existing technology is solved, and efficient planning and resource optimization of large-volume logistics tasks are achieved.
Patent Information
- Application Number
- CN202010003837.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-03
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-01-03
AI Technical Summary
Existing logistics task planning mainly relies on manual calculations and cannot effectively handle large quantities of logistics tasks, resulting in low planning efficiency.
By obtaining transportation tasks, filtering and inputting the transportation path planning model according to the task schedule, generating single-day and single-week transportation path collections, determining the target transportation path according to preset conditions, and using mathematical models to optimize transportation path planning.
It improves the efficiency of logistics task planning, can effectively handle large-volume logistics tasks, and optimizes the utilization of transportation resources.
Smart Images

Figure CN113077198B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of logistics, and in particular to a transportation route planning method, device, computer equipment and storage medium. Background Art
[0002] With the development of the logistics industry, the demand for logistics is increasing, resulting in more and more logistics tasks. For example, a province needs to plan tens of thousands of logistics tasks every week. For weekly or monthly logistics tasks, by planning the connection between logistics tasks, weekly or monthly logistics transportation routes are output.
[0003] However, the current planning of logistics tasks mainly relies on manual calculations, which can only handle a small number of logistics tasks and cannot plan large quantities of logistics tasks, resulting in low planning efficiency. Summary of the invention
[0004] Based on this, it is necessary to provide a transportation path planning method, device, computer equipment and storage medium that can plan efficiency in response to the above technical problems.
[0005] A transportation route planning method, the method comprising:
[0006] Acquire transport tasks, and filter the transport tasks according to their task schedules to obtain a first transport task set and a second transport task set, wherein the task schedules of the transport tasks in the first transport task set are greater than a first preset threshold, and the task schedules of the transport tasks in the second transport task set are less than or equal to the first preset threshold;
[0007] Acquire a first transport path planning model, input the first transport task set into the first transport path planning model, and obtain a single-day transport path set;
[0008] Converting a single-day transport path set into a single-week transport path set according to the task schedule;
[0009] When a single-week transportation path in the single-week transportation path set meets a preset condition, the single-week transportation path is used as a target transportation path, and the preset condition includes that the number of transportation tasks in the same task shift in the candidate transportation path is greater than a second preset threshold.
[0010] A transport path planning device, comprising:
[0011] A transport task acquisition module, used for acquiring transport tasks, screening the transport tasks according to their task schedules, obtaining a first transport task set and a second transport task set, wherein the task schedules of the transport tasks in the first transport task set are greater than a first preset threshold, and the task schedules of the transport tasks in the second transport task set are less than or equal to the first preset threshold;
[0012] A single-day transport path determination module is used to obtain a first transport path planning model, input the first transport task set into the first transport path planning model, and obtain a single-day transport path set;
[0013] A transport path conversion module, used to convert a single-day transport path set into a single-week transport path set according to the task schedule;
[0014] The target transport path determination module is used to use the single-week transport path as the target transport path when the single-week transport path in the single-week transport path set meets the preset conditions, wherein the preset conditions include that the number of transport tasks in the same task shift in the candidate transport path is greater than a second preset threshold.
[0015] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0016] Acquire transport tasks, and filter the transport tasks according to their task schedules to obtain a first transport task set and a second transport task set, wherein the task schedules of the transport tasks in the first transport task set are greater than a first preset threshold, and the task schedules of the transport tasks in the second transport task set are less than or equal to the first preset threshold;
[0017] Acquire a first transport path planning model, input the first transport task set into the first transport path planning model, and obtain a single-day transport path set;
[0018] Converting a single-day transport path set into a single-week transport path set according to the task schedule;
[0019] When a single-week transportation path in the single-week transportation path set meets a preset condition, the single-week transportation path is used as a target transportation path, and the preset condition includes that the number of transportation tasks in the same task shift in the candidate transportation path is greater than a second preset threshold.
[0020] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0021] Acquire transport tasks, and filter the transport tasks according to their task schedules to obtain a first transport task set and a second transport task set, wherein the task schedules of the transport tasks in the first transport task set are greater than a first preset threshold, and the task schedules of the transport tasks in the second transport task set are less than or equal to the first preset threshold;
[0022] Acquire a first transport path planning model, input the first transport task set into the first transport path planning model, and obtain a single-day transport path set;
[0023] Converting a single-day transport path set into a single-week transport path set according to the task schedule;
[0024] When a single-week transportation path in the single-week transportation path set meets a preset condition, the single-week transportation path is used as a target transportation path, and the preset condition includes that the number of transportation tasks in the same task shift in the candidate transportation path is greater than a second preset threshold.
[0025] The above-mentioned transportation path planning method, device, computer equipment and storage medium obtain transportation tasks, screen the transportation tasks according to the task schedule of the transportation tasks, obtain a first transportation task set and a second transportation task set, the task schedule of the transportation tasks in the first transportation task set is greater than the first preset threshold, and the task schedule of the transportation tasks in the second transportation task set is less than or equal to the first preset threshold; obtain a first transportation path planning model, input the first transportation task set into the first transportation path planning model, and obtain a single-day transportation path set; convert the single-day transportation path set into a single-week transportation path set according to the task schedule; when the single-week transportation path in the single-week transportation path set meets the preset conditions, the single-week transportation path is used as the target transportation path, and the preset conditions include that the number of transportation tasks in the same task schedule in the candidate transportation path is greater than the second preset threshold. In the process of planning the transportation path for the transportation task, a mathematical model is used to plan the transportation path for the transportation task, thereby improving the planning efficiency. By focusing on and giving priority to planning transportation paths for transportation tasks with more task schedules, the planning efficiency can be further improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A diagram showing an application environment of a transportation path planning method in one embodiment;
[0027] Figure 2 A schematic diagram of a flow chart of a transportation route planning method in one embodiment;
[0028] Figure 3 A schematic diagram of a process of establishing a first space-time network in an embodiment;
[0029] Figure 4A schematic diagram of a process for determining a two-day transport route set in another embodiment;
[0030] Figure 5 A schematic diagram of a process of establishing a second space-time network in one embodiment;
[0031] Figure 5A is a schematic diagram of a second space-time network in one embodiment;
[0032] Figure 6 A schematic diagram of a process for determining a target transport path set in one embodiment;
[0033] Figure 7 is a structural block diagram of a transport path planning device in one embodiment;
[0034] Figure 8 is a structural block diagram of a transport path planning device in another embodiment;
[0035] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0037] It can be understood that the terms "first", "second", etc. used in the present application can be used in this article to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.
[0038] The transportation path planning method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The server 104 obtains the transportation task from the terminal 102, screens the transportation task according to the task schedule of the transportation task, and obtains a first transportation task set and a second transportation task set. The task schedule of the transportation tasks in the first transportation task set is greater than the first preset threshold, and the task schedule of the transportation tasks in the second transportation task set is less than or equal to the first preset threshold; obtains a first transportation path planning model, inputs the first transportation task set into the first transportation path planning model, and obtains a single-day transportation path set; converts the single-day transportation path set into a single-week transportation path set according to the task schedule; when the single-week transportation path in the single-week transportation path set meets the preset conditions, the single-week transportation path is used as the target transportation path, and the preset conditions include that the number of transportation tasks in the same task schedule in the candidate transportation path is greater than the second preset threshold.
[0039] The terminal 102 may be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0040] In one embodiment, Figure 2 As shown, a transportation path planning method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0041] S202, obtaining transport tasks, screening the transport tasks according to their schedules, obtaining a first transport task set and a second transport task set, wherein the schedules of the transport tasks in the first transport task set are greater than a first preset threshold, and the schedules of the transport tasks in the second transport task set are less than or equal to the first preset threshold.
[0042] Among them, the transportation task refers to the logistics transportation task. Logistics transportation refers to the use of facilities and tools to transport items from one place to another. The transportation task includes task information, which refers to the specific content of the logistics transportation task. The task information includes but is not limited to the task identification, task schedule, starting site, ending site, planned start time, planned end time, loading time, unloading time and task cargo volume of the transportation task. The task identification is a string used to uniquely identify the transportation task, and can specifically include at least one character among letters, numbers and symbols. The task schedule refers to the execution shift of the transportation task within the preset time, reflecting which day the transportation task needs to be executed within the preset time and the number of executions within the preset time. In order to ensure the stability of the transportation task execution, the planning scope of the transportation task is generally one week. When the planning scope of the transportation task is one week, the task schedule refers to the execution shift of the transportation task within one week. The starting site refers to the site where the goods are loaded. The ending site refers to the site where the goods are unloaded. The planned start time refers to the latest time when the transportation vehicle departs from the starting site. The transportation vehicle must depart from the starting site at or before the planned start time. The planned start time includes the loading time. The planned end time refers to the latest time when the transport vehicle arrives at the end site. The transport vehicle must arrive at the end site on or before the planned end time. The planned end time includes the unloading time. The task load refers to the total weight of the goods to be transported. For example, there is a transport task a, and the task information includes that the task schedule is Monday, Tuesday, and Thursday of the week, the starting site is site A, the ending site is site B, the planned start time of the transport vehicle is 8:00, the planned end time of the transport vehicle is 13:00, and the task load is 5600kg. According to the task information, 5600kg of goods must be transported from site A to site B at or before 8:00 on Monday, and the time when the transport vehicle arrives at site B cannot be later than 13:00 on the same day. Transport task a must be executed every Tuesday and Thursday.
[0043] Specifically, the server obtains the transport tasks and screens the transport tasks according to the task schedules of the transport tasks. The transport tasks whose task schedules are greater than the first preset threshold are grouped into a first transport task set, and the transport tasks whose task schedules are less than or equal to the first preset threshold are grouped into a second transport task set. Among them, the first preset threshold can be pre-set according to actual needs and stored in the server. For example, when the planning scope of the transport tasks is one week, the first preset threshold can be set to 3 days, then all the transport tasks with a task schedule greater than 3 days are grouped into a first transport task set, and all the transport tasks with a task schedule less than or equal to 3 days are grouped into a second transport task set.
[0044] In one embodiment, the server may actively acquire the transport tasks, and may acquire the transport tasks at preset intervals. For example, the server may analyze the existing transport tasks and plan the transport routes every month.
[0045] In one embodiment, the server may receive a transport route planning request sent by the terminal, the transport route planning request carrying a task identifier, obtain the transport task corresponding to the task identifier according to the task identifier, and then plan the transport route according to the transport task.
[0046] In one embodiment, when the server receives a new transport task, a new transport route may be planned based on the original transport task and the new transport task.
[0047] S204, obtaining a first transport path planning model, inputting the first transport task set into the first transport path planning model, and obtaining a single-day transport path set.
[0048] Among them, the first transport path planning model is a mathematical model established based on site information and vehicle information. The first transport path planning model is a mathematical model used to output a transport path with the minimum total cost per unit time according to the transport task. The first transport path planning model is a model for planning transport paths on a daily basis. The first transport path planning model includes a first objective function and a first constraint condition. The first objective function ensures that the transport cost of the output transport path is the minimum value under integer conditions. The first constraint condition is a constraint condition set based on site information and vehicle information, such as the parking space constraint of the site, the cargo capacity constraint of the transport vehicle, etc.
[0049] The input of the first transport path planning model is the transport task, and the output of the first transport path planning model is the transport path. The transport path refers to the travel path of the transport vehicle to perform the transport task. A transport path may include one transport task or multiple transport tasks. When a transport path includes multiple transport tasks, the multiple transport tasks meet the time connection. For example, transport path a includes transport task A, transport task B and transport task C, and the connection order of transport task A, transport task B and transport task C is ABC. The total time obtained by adding the transit time of the transport vehicle from the end site of transport task A to the start site of transport task B to the planned end time of transport task A is less than or equal to the planned start time of transport task B. At this time, transport task A and transport task B meet the time connection. That is, after the transport vehicle completes transport task A, it can then perform transport task B, and there is no delay in the execution of transport task B. The transit time includes the driving time from the end site of transport task A to the start site of transport task B. In addition, the transport route includes transport route information, which includes information such as the type of transport vehicle, task information of each transport task, the start time and end time of the transport route, the type of transport route, and the cargo load rate of the transport vehicle. The types of transport routes include one-way and round trip. The cargo load rate refers to the ratio of the task cargo volume of the transport task to the cargo capacity of the transport vehicle. The cargo capacity refers to the transport capacity of the vehicle, that is, the maximum weight of the cargo that the vehicle can load. One transport route corresponds to one type of vehicle. One type of vehicle corresponds to one cargo capacity.
[0050] Specifically, the server obtains the first transport path planning model, inputs the transport tasks whose task schedule is greater than the first preset threshold into the first transport path planning model, solves it through the integer programming method, and outputs a set of single-day transport paths with the minimum total cost. When the transport tasks whose task schedule is greater than the first preset threshold are input into the first transport path planning model, the task schedule of the transport tasks is restricted to the same day. Therefore, the output result of the first transport path model does not consider the actual task schedule of the transport tasks, but only considers the connectivity and transportation cost of the transport tasks within a day. Among them, integer programming refers to limiting all variables in the model to integers.
[0051] S206: Convert the daily transport path set into a weekly transport path set according to the task schedule.
[0052] Specifically, after obtaining the single-day transport path set corresponding to the first transport task set through the first transport path planning model, the server converts each single-day transport path in the single-day transport path set into a single-week transport path that meets the task schedule and satisfies the time connection according to the task schedule of the transport tasks in the first transport task set, and the converted single-week transport paths constitute the single-week transport path set. For example, a single-day transport path output by the first transport path planning model is AB. Among them, the task schedule of transport task A is Tuesday, Wednesday, and Thursday, and the task schedule of transport task B is Tuesday, Wednesday, Thursday, and Friday. According to the task schedules of transport tasks A and transport tasks B, the single-day transport path is converted into a single-week transport path, and the single-week transport path is: A (Tuesday)-B (Tuesday)-A (Wednesday)-B (Wednesday)-A (Thursday)-B (Thursday)-B (Friday).
[0053] S208, when a single-week transportation path in the single-week transportation path set meets a preset condition, the single-week transportation path is used as a target transportation path, and the preset condition includes that the number of transportation tasks in the same task shift in the candidate transportation path is greater than a second preset threshold.
[0054] The second preset threshold is set according to the single-day transport task limit. The single-day transport task limit refers to the maximum number of transport tasks that a transport vehicle can perform in one day.
[0055] Specifically, the server determines whether the number of transport tasks in the same task shift in the single-week transport path is greater than the second preset threshold. When the number of transport tasks in the same task shift in the single-week transport path is greater than the second preset threshold, it indicates that the execution stability of the transport tasks in the single-week transport path is high, and the utilization rate of transport resources is high, and the single-week transport path planning is reasonable, and it can be used as the target transport path. For example, the second preset threshold is set to 6. The single-week transport path a is B (Monday)-A (Tuesday)-B (Tuesday)-A (Wednesday)-B (Wednesday)-A (Thursday)-B (Thursday)-A (Friday)-B (Friday)-A (Saturday)-B (Saturday)-B (Sunday). The number of transport tasks in the same task shift is 10 (A (Tuesday)-B (Tuesday)-A (Wednesday)-B (Wednesday)-A (Thursday)-B (Thursday)-A (Friday)-B (Friday)-A (Saturday)-B (Saturday)). There are 5 days in a week when the transport vehicles can perform two transport tasks every day, which fully utilizes the transport vehicles and has a high utilization rate of transport resources. Therefore, the planning of the single-week transport route a is reasonable. The single-week transport route b is C (Tuesday) - C (Wednesday) - C (Thursday) - D (Thursday) - C (Friday) - D (Friday) - D (Saturday) - D (Saturday). The number of transport tasks in the same task shift is 4 (C (Thursday) - D (Thursday) - C (Friday) - D (Friday)). The transport vehicles can only perform two transport tasks every day on Thursday and Friday in a week. The rest of the time can only perform one transport task every day. The transport vehicles are not fully utilized and the transport resources are wasted. Therefore, the planning of the single-week transport route b is unreasonable.
[0056] In the above-mentioned transport path planning method, by obtaining transport tasks, the transport tasks are screened according to the task schedule of the transport tasks to obtain a first transport task set and a second transport task set, the task schedule of the transport tasks in the first transport task set is greater than the first preset threshold, and the task schedule of the transport tasks in the second transport task set is less than or equal to the first preset threshold; obtain a first transport path planning model, input the first transport task set into the first transport path planning model, and obtain a single-day transport path set; convert the single-day transport path set into a single-week transport path set according to the task schedule; when the single-week transport path in the single-week transport path set meets the preset conditions, the single-week transport path is used as the target transport path, and the preset conditions include that the number of transport tasks in the same task schedule in the candidate transport path is greater than the second preset threshold. In the process of planning the transport path for the transport task, a mathematical model is used to plan the transport path for the transport task, thereby improving the planning efficiency. By focusing on and giving priority to planning the transport paths for the transport tasks with more task schedules, the planning efficiency can be further improved.
[0057] In one embodiment, Figure 3 As shown, before obtaining the first transportation path planning model, the transportation path planning method further includes:
[0058] S302: Determine a set of single-day candidate transportation routes that meet time connections according to the transportation tasks in the first transportation task set.
[0059] Specifically, the server limits the task schedules of the transport tasks in the first transport task set to the same day, and then generates all single-day feasible transport paths that meet the time connection offline according to other task information of the transport task. All single-day feasible transport paths that meet the time connection form a single-day candidate transport path set.
[0060] In one embodiment, a feasible path that meets the time connection can be generated offline using a depth-first algorithm. The depth-first algorithm is a type of graph algorithm and is a traversal algorithm for graphs and numbers. The basic principle of the depth-first algorithm is to start from any node in the graph and visit all nodes in the graph until all nodes in the graph are visited, and each node can only be visited once. The steps of generating a single-day feasible transportation path that meets the time connection using the depth-first algorithm include:
[0061] 1. Abstract the transport task into a task point and determine the constraints of the transport path. The constraints include the number of transport tasks and the duration of the transport path. The number of transport tasks and the duration of the transport path can be set according to actual needs. Assume that the maximum number of transport tasks is s, the duration of the transport path is from 0:00 to 24:00 on Monday, and the set of feasible transport paths is P.
[0062] 2. Visit any task point a that has not been visited as a starting point and is scheduled to start on Monday and add it to the transportation path p as the starting point.
[0063] 3. If the number of transport tasks in the transport path p is less than s, traverse all task points that can be connected with the task point a in time and whose planned end time is less than or equal to 24:00 on Monday. If there are task points that have not been visited in the transport path, select any task point to visit and add to the transport path p; if there are task points that have been visited in the transport path, delete the most recently added task point from the transport path p and return to the most recently visited task point.
[0064] 4. Repeat step 2 until all points that can be connected to task point a have been visited.
[0065] 5. Repeat steps 1, 2, and 3 until all task points with a planned start time on Monday have been visited as the starting points of the transportation route.
[0066] 6. Every time a task point is added to the transport path p, the current transport path p is added to the transport path set P.
[0067] For example, there are three transportation tasks: transportation task a: from site A to site B (0:00 to 2:00 on Monday), transportation task b: from site B to site C (6:00 to 10:00 on Monday), and transportation task c: from site C to site A (18:00 to 21:00 on Monday). Assume that transportation tasks a and b meet the time connection, transportation tasks b and c meet the time connection, and transportation tasks a and c meet the time connection. The following 7 transportation paths can be obtained through the depth-first algorithm: a; ab; abc; ac; b; bc; c.
[0068] S304: Establish a first space-time network according to the set of candidate transportation routes for a single day. The first space-time network includes nodes, driving arcs and waiting arcs. The driving arcs include exit arcs, entry arcs and empty arcs.
[0069] Among them, the space-time network is a network that includes time sequence and spatial relations, and the space-time network is a network composed of points and lines.
[0070] Points refer to nodes, which include spatial starting points, spatial end points, and mission points. Each node represents both location and time. The spatial starting point includes the exit site where the transport vehicle starts to perform the transport task and the start time of the space-time network. The spatial starting point is the starting point of all transport paths starting from the site. The spatial end point includes the entry site where the transport vehicle ends the transport task and the end time of the space-time network. The spatial end point is the end point of all transport paths returning to the site. The mission point includes the starting site, starting time, ending site, and ending time of the transport task. The starting time includes the loading time, and the ending time includes the unloading time. Different vehicle models correspond to different loading times and unloading times.
[0071] The arc includes the driving arc and the waiting arc. The waiting arc refers to the time that the transport vehicle stays at the starting site or the ending site. The waiting arc connects two task points. The ending site of the previous task point must be the same as the starting site of the next task point, and they are in a sequential order in time. The waiting arc allows the transport vehicle to wait for the transport task B after completing the transport task A, thereby avoiding the use of different transport vehicles to perform transport tasks A and B respectively, and reducing unnecessary transport vehicles. The driving arc includes the exit arc, the entry arc, and the empty arc. The exit arc refers to the connecting arc between the transport vehicle from the starting point of the space to the first task point. The exit arc can represent the empty distance of the transport vehicle, or the departure process without driving distance. The entry arc refers to the connecting arc between the transport vehicle from the last task point to the end point of the space. The entry arc can represent the empty distance of the transport vehicle, or the arrival process without driving distance. The empty arc refers to the arc where the transport vehicle drives empty in order to connect two task points. The travel time of a transport vehicle from the end site of the previous task point to the start site of the next task point is less than the time difference between the end time of the previous task point and the departure time of the next task point. The empty arc can provide more possibilities for the connection between transport tasks. The exit arc, entry arc and empty arc can all be calculated based on different vehicle models using GIS data.
[0072] Specifically, the server establishes a first spatiotemporal network based on the candidate transportation paths for a single day. A candidate transportation path for a single day corresponds to a first spatiotemporal network, and a first spatiotemporal network corresponds to a vehicle type. The establishment of the first spatiotemporal network can facilitate the subsequent solution of the transportation path through a mathematical model.
[0073] In one embodiment, the first transportation path planning model includes a first objective function and a first constraint condition, the first objective function and the first constraint condition are determined according to transportation resource information, and the transportation resource information includes site information and vehicle information.
[0074] Among them, transportation resource information refers to the resource information required to perform transportation tasks. Transportation resource information includes site information and vehicle information. Site information includes the distance between any two sites, the driving time of various types of transportation vehicles between any two sites, and the site rental. Vehicle information includes the transportation vehicle identification, the number of transportation vehicles that can be allocated to any site, the loading time and unloading time of various types of transportation vehicles, and the transportation vehicle rental.
[0075] The first objective function is established based on the transportation cost corresponding to the candidate transportation path. The transportation cost can be determined based on the site information and vehicle information, and the transportation cost is related to the site rental, the transportation vehicle rental, and the transportation vehicle operation distance.
[0076] The first constraint condition can be determined based on the site information and the vehicle information. The first constraint condition is used to constrain the transportation resources to avoid insufficient transportation resources during the execution of the transportation task.
[0077] Specifically, the first objective function of the first transportation path planning model is as follows:
[0078]
[0079] Among them, x p is a variable of 0 or 1 indicating whether transport path p is selected, p is the transportation cost of transportation path p; P is the set of all feasible transportation paths generated offline.
[0080] The first constraint of the first transportation path planning model is as follows:
[0081]
[0082]
[0083]
[0084]
[0085]
[0086]
[0087] Among them, K j is the task point set of transport task j in the space-time network, P k is the set of transportation paths containing task point k, and J is the set of all transportation tasks.
[0088] V is the set of all car models, is a set of paths that include task point k and use vehicle type v, q′ v is the cargo capacity of vehicle type v, q j is the task cargo capacity of transport task j.
[0089] is the set of transport routes starting from site h and using vehicle type v, n p represents the number of vehicles used in transport path p, is the number of vehicle types v owned by site h, and H is the set of all sites.
[0090] V′ v is the set of models with smaller cargo capacity than model v, P v′ is the set of all transport routes using vehicle type v′, K pis the task point included in the transport path p, sh k is the starting site of task point k, st k is the planned start time of task point k, lt v′ is the loading time of vehicle type v′, is the number of loading parking spaces for vehicle type v in site h, |δ| is the total duration of time period δ, and T is the set of all offline time periods.
[0091] eh k is the ending place of task point k, et k is the planned end time of task point k, ut v′ is the unloading time of vehicle type v′, is the number of unloading parking spaces for vehicle type v in site h.
[0092] Among them, constraint (1) means that for each transportation task, there is a selected transportation path covering it; constraint (2) means that the cargo capacity of the transportation vehicle performing the transportation task is greater than or equal to the task cargo capacity of the transportation task; constraint (3) means that the number of task transportation vehicles with model v starting from site h is less than or equal to the number of candidate transportation vehicles with model v that can start from site h; constraint (4) means that the number of task transportation vehicles with model v′ starting from site h is less than or equal to the number of loading parking spaces for candidate transportation vehicles with model v in site h; constraint (5) means that the number of task transportation vehicles with model v′ arriving at site h is less than or equal to the number of unloading parking spaces for candidate transportation vehicles with model v in site h; constraint (6) means x p is a variable of 0 or 1 indicating whether transport path p is selected. If path p is selected, then x p The value is 1 if yes, otherwise it is 0.
[0093] Constraints (5) and (6) are set based on the principle that small vehicles can use the loading and unloading parking spaces of large vehicles.
[0094] In the above embodiment, the first objective function and the first constraint condition of the first transportation path planning model can ensure that the transportation cost of the output transportation path is minimized while avoiding the situation of insufficient transportation resources.
[0095] In one embodiment, Figure 4 As shown, the transportation path planning method also includes:
[0096] S402: When the single-week transportation path does not meet the preset conditions, the single-week transportation path is split to obtain a third transportation task set.
[0097] Specifically, when the number of transport tasks within the same task shift in a single-week transport path is less than or equal to the second preset threshold, it indicates that the single-week transport path planning is unreasonable and does not make full use of transport resources. Therefore, the single-week transport path that does not meet the preset conditions is split to obtain multiple single-day transport tasks, and the multiple single-day transport tasks are composed of a third transport task set. The transport tasks in the third transport task set are subsequently replanned to improve the utilization rate of transport resources. For example, the single-week transport path b that does not meet the preset conditions is C (Tuesday) - C (Wednesday) - C (Thursday) - D (Thursday) - C (Friday) - D (Friday) - D (Saturday) - D (Saturday). The single-week transport path b is split to obtain eight single-day transport tasks, namely C (Tuesday), C (Wednesday), C (Thursday), D (Thursday), C (Friday), D (Friday), D (Saturday) and D (Saturday).
[0098] S404: Input the second transport task set and the third transport task set into the first transport route planning model to obtain a two-day transport route set.
[0099] Specifically, the server inputs the transportation tasks in the second transportation task set and the third transportation task set into the first transportation path planning model, and outputs a two-day transportation path set.
[0100] In the above embodiment, the transportation tasks obtained by splitting the unreasonable single-week transportation path and the transportation tasks with less task shifts are centrally planned, and a two-day transportation path is obtained by using a mathematical model, thereby improving the planning efficiency. In addition, due to the extremely large number of transportation tasks, taking an express delivery company as an example, there are more than 1,000 transportation tasks involving 40 sites every day within the scope of only one province that need to plan transportation paths. When the planning scope of the transportation task is one week, if the transportation path of one week is planned directly according to the task information of the transportation task, the burden on the server is too heavy. Therefore, the two-day transportation path is first planned for the transportation tasks obtained by splitting and the transportation tasks with less task shifts, and then the single-week transportation path is planned according to the two-day transportation path, which can reduce the burden on the server.
[0101] In one embodiment, Figure 5 As shown, before the second transport task set and the third transport task set are input into the first transport path planning model, the transport path planning method further includes:
[0102] S502: Determine a set of two-day candidate transportation routes that meet time connection based on the second transportation task set and the third transportation task set.
[0103] Specifically, the server splits the transport tasks in the second transport task set into multiple single-day transport tasks according to the task schedule. For example, there is a transport task A in the second transport task set, and the task schedule of transport task A is Monday, Wednesday, and Saturday. According to the task schedule of transport task A, transport task A can be split into three single-day transport tasks, namely A (Monday), A (Wednesday), and A (Saturday). The server then uses the depth-first algorithm to offline generate all two-day feasible transport paths that meet the time connection based on the task information of the single-day transport tasks obtained by splitting the transport tasks in the second transport task set and the single-day transport tasks in the third transport task set. All two-day feasible transport paths that meet the time connection are combined into a two-day candidate transport path set.
[0104] S504: Establish a second spatiotemporal network based on the two-day candidate transportation path set.
[0105] Specifically, the server establishes a second spatiotemporal network based on the two-day candidate transportation routes. One two-day candidate transportation route corresponds to one second spatiotemporal network, and one second spatiotemporal network corresponds to one vehicle type. The establishment of the second spatiotemporal network can facilitate the subsequent solution of the transportation route through a mathematical model.
[0106] like Figure 5A As shown, Figure 5A FIG. 1 is a schematic diagram of a second space-time network in an embodiment. The space-time network is established based on two-day feasible transportation routes determined by six transportation tasks. The six transportation tasks involve a total of site A, site B, site C, site D and site F. A represents the spatial starting point, which is site A. Transport vehicle a leaves site A on Monday, first performs task 1, drives from site A to site B, and then performs task 2, drives from site B to site C. Among them, S A To Task 1 is the exit arc. Task 1 to Task 2 is the waiting arc. After completing Task 1, transport vehicle a stops and waits at Site B. When the time reaches the planned start time of Task 2, transport vehicle a starts to perform Task 2. In this way, the same transport vehicle a performs Task 1 and Task 2, which can reduce unnecessary transport vehicles. Transport vehicle a first drives from Site C to Site D, and then performs Task 3, driving from Site D to Site F. Among them, Task 2 to Task 3 is an empty driving arc. Finally, transport vehicle a drives back to Site A from Site F, ending the transportation on Monday. Task 3 to E A Similarly, on Tuesday, transport vehicle a departs from site A, completes tasks 4, 5, and 6, and finally returns to site A. Obviously, this space-time network corresponds to a round-trip transport path.
[0107] In one embodiment, Figure 6 As shown, the transportation path planning method also includes:
[0108] S602, connecting two-day transportation paths in the two-day transportation path set into a single-week candidate transportation path that meets time connection, to obtain a single-week candidate transportation path set.
[0109] S604, obtaining a second transport path planning model, inputting the single-week candidate transport path set into the second transport path planning model, and obtaining a target transport path set.
[0110] The second transport path planning model is a mathematical model for outputting a single-week transport path with the minimum total cost based on a single-week feasible transport path that meets time connection. The second transport path planning model is a model for planning transport paths on a weekly basis. The second transport path planning model includes a second objective function and a second constraint. The second objective function ensures that the total cost of the output transport path is the minimum value under integer conditions, and the total cost includes the transport cost and the path difference cost. Path difference refers to the difference between the transport tasks on two adjacent days in the transport path. The path difference cost is determined based on the number of inconsistent transport tasks on two adjacent days.
[0111] Specifically, the second objective function of the second transportation path planning model is as follows:
[0112]
[0113] Among them, x r is a variable of 0 or 1 indicating whether the transport path r is selected, c r is the transportation cost of transportation path r, d r is the diversity of the transport path r, α, β are cost coefficients, and R is the set of candidate transport paths in a single week.
[0114] The second constraint of the second transportation path planning model is as follows:
[0115]
[0116]
[0117] Among them, K p is the set of path points of the transport path p in the space-time network, R k is the set of candidate transportation routes for a single week that include the path point k, P is the set of two-day transportation routes, and R is the set of candidate transportation routes for a single week.
[0118] Among them, constraint (7) means that each two-day transportation route will be covered by a selected one-week candidate transportation route; constraint (8) means that x r is a variable of 0 or 1 indicating whether transport path r is selected. If transport path r is selected, then x r The value is 1 if yes, otherwise it is 0.
[0119] The second objective function and the second constraint condition of the second transport path planning model can ensure that the total cost of the output transport path is minimized while avoiding the situation where the planned transport tasks are omitted.
[0120] Specifically, the server generates all single-week feasible transportation paths that meet time connection offline using a depth-first algorithm based on the transportation path information of the two-day transportation paths in the two-day transportation path set. All single-week feasible transportation paths that meet time connection form a single-week candidate transportation path set. The server inputs the single-week candidate transportation path set into the second transportation path planning model, and then the second transportation path planning model outputs a target transportation path set.
[0121] In one embodiment, before acquiring the second transportation path planning model, the transportation path planning method further includes: establishing a third spatiotemporal network according to the single-week candidate transportation path set.
[0122] The nodes of the third space-time network include path points, and one path point corresponds to a two-day transportation route.
[0123] Specifically, the server establishes a third space-time network based on the set of single-week candidate transportation routes, one single-week candidate transportation route corresponds to one third space-time network, and one third space-time network corresponds to one vehicle type. The establishment of the third space-time network can facilitate the subsequent solution of the transportation route through a mathematical model.
[0124] In the above embodiment, the two-day transport paths in the two-day transport path set are connected to form a second single-week transport path that meets the time connection, and the second single-week transport path set is obtained; the second transport path planning model is obtained, and the second single-week transport path set is input into the second transport path planning model to obtain the target transport path set. The single-week transport path is obtained by the mathematical model according to the two-day transport path, which improves the planning efficiency. Furthermore, the total cost of the single-week transport path obtained by the mathematical model is the smallest.
[0125] In a specific embodiment, the transportation path planning method includes:
[0126] The server obtains multiple transport tasks, and the task schedules of the transport tasks are shown in Table 1:
[0127] Table 1
[0128]
[0129]
[0130] The task shifts for Task 1 are Tuesday, Wednesday, Thursday, Friday and Saturday; the task shifts for Task 2 are Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday; the task shifts for Task 3 are Tuesday, Wednesday, Thursday and Friday; the task shifts for Task 4 are Thursday, Friday, Saturday and Sunday; the task shifts for Task 5 are Monday, Tuesday and Wednesday; the task shifts for Task 6 are Tuesday, Wednesday and Thursday.
[0131] The server screens the transport tasks according to the task schedule of the transport tasks, and forms the transport tasks with a task schedule greater than 3 days into a first transport task set, and forms the tasks with a task schedule less than or equal to 3 days into a second transport task set. The first transport task set includes Task 1, Task 2, Task 3, and Task 4. The second transport task set includes Task 5 and Task 6.
[0132] The server generates all single-day feasible transportation paths that meet time connection based on the transportation tasks in the first transportation task set through a depth-first algorithm. A spatiotemporal network is established based on each single-day feasible transportation path that meets time connection. The server obtains a daily planned transportation path model, inputs the first transportation task set into the daily planned transportation path model, and obtains two single-day transportation paths. Single-day transportation path 1 is: Task 1-Task 2; single-day transportation path 2 is: Task 3-Task 4.
[0133] The server converts the two daily transportation paths into weekly transportation paths according to the task schedules of the transportation tasks in the first transportation task set. The weekly transportation path 1 is: Task 2 (Monday) - Task 1 (Tuesday) - Task 2 (Tuesday) - Task 1 (Wednesday) - Task 2 (Wednesday) - Task 1 (Thursday) - Task 2 (Thursday) - Task 1 (Friday) - Task 2 (Friday) - Task 1 (Saturday) - Task 2 (Saturday) - Task 2 (Sunday); the weekly transportation path 2 is: Task 3 (Tuesday) - Task 3 (Wednesday) - Task 3 (Thursday) - Task 4 (Thursday) - Task 3 (Friday) - Task 4 (Friday) - Task 4 (Saturday) - Task 4 (Sunday).
[0134] Determine whether the single-week transportation route 1 and the single-week transportation route 2 meet the preset conditions. The preset condition is that the number of transportation tasks in the same shift in the single-week transportation route is greater than 6. Single-week transportation route 1 meets the preset conditions, so single-week transportation route 1 can be used as the target transportation route. Single-week transportation route 2 does not meet the preset conditions, so single-week transportation route 2 is split into 8 single-day transportation tasks, namely: Task 3 (Tuesday), Task 3 (Wednesday), Task 3 (Thursday), Task 4 (Thursday), Task 3 (Friday), Task 4 (Friday), Task 4 (Saturday), Task 4 (Sunday).
[0135] According to the task schedule, the transportation tasks in the second transportation task set are divided into 6 single-day transportation tasks, namely: 5 (Monday), 5 (Tuesday), 5 (Wednesday), 6 (Tuesday), 6 (Wednesday), and 6 (Thursday). According to the single-day transportation tasks obtained by the above split, all two-day feasible transportation paths that meet the time connection are generated through the depth-first algorithm. A space-time network is established based on each two-day feasible transportation path that meets the time connection. The split single-day transportation tasks are input into the daily planning transportation path model to obtain multiple two-day transportation paths. All single-week feasible transportation paths that meet the time connection are generated based on the two-day transportation paths. A space-time network is established based on each single-week feasible transportation path. The server obtains the weekly planning transportation path model, inputs all single-week feasible transportation paths that meet the time connection into the weekly planning transportation path model, and outputs the single-week transportation path with the smallest total cost and difference. The single-week transportation path is used as the target transportation path.
[0136] In an actual application scenario, a total of 40 transport tasks in a province are collected as test data, and transport routes are planned for the transport tasks in the province. The transport route planning methods include manual calculation and the transport route planning method of this application. The test results show that the use of the transport route planning method of this application can save 10% of the cost.
[0137] Further, according to existing data, it takes a day of work for two front-line planners to plan the transportation routes for 500 transportation tasks at one time. However, using the transportation route planning method of the present application to plan the transportation routes for 5,000 transportation tasks only takes about 1 hour, which improves planning efficiency.
[0138] It should be understood that, although the various steps in the above-mentioned flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0139] In one embodiment, Figure 7 As shown, a transport path planning device is provided, including: a transport task acquisition module 702, a single-day transport path determination module 704, a transport path conversion module 706 and a target transport path determination module 708, wherein:
[0140] The transport task acquisition module 702 is used to acquire transport tasks, and screen the transport tasks according to their task schedules to obtain a first transport task set and a second transport task set, wherein the task schedules of the transport tasks in the first transport task set are greater than a first preset threshold, and the task schedules of the transport tasks in the second transport task set are less than or equal to the first preset threshold;
[0141] A single-day transport path determination module 704 is used to obtain a first transport path planning model, input the first transport task set into the first transport path planning model, and obtain a single-day transport path set;
[0142] The transport path conversion module 706 is used to convert the single-day transport path set into a single-week transport path set according to the task schedule;
[0143] The target transport path determination module 708 is used to use the single-week transport path as the target transport path when the single-week transport path in the single-week transport path set meets the preset conditions, and the preset conditions include that the number of transport tasks in the same task period in the candidate transport path is greater than the second preset threshold.
[0144] In one embodiment, Figure 8 As shown, the transport path planning device also includes:
[0145] The space-time network establishment module 703 is used to determine a set of single-day candidate transportation paths that meet the time connection based on the transportation tasks in the first transportation task set; establish a first space-time network based on the single-day candidate transportation path set, and the first space-time network includes nodes, driving arcs and waiting arcs. The driving arcs include exit arcs, entry arcs and empty arcs.
[0146] In one embodiment, the first transportation path planning model includes a first objective function and a first constraint condition, the first objective function and the first constraint condition are determined according to transportation resource information, and the transportation resource information includes site information and vehicle information.
[0147] In one embodiment, the target transport path determination module is also used to split the single-week transport path to obtain a third transport task set when the single-week transport path does not meet the preset conditions; input the second transport task set and the third transport task set into the first transport path planning model to obtain a two-day transport path set.
[0148] In one embodiment, the target transport path determination module is further used to determine a two-day candidate transport path set that meets time connection according to the second transport task set and the third transport task set; and establish a second spatiotemporal network according to the two-day candidate transport path set.
[0149] In one embodiment, the target transport path determination module is further used to connect the two-day transport paths in the two-day transport path set into a single-week candidate transport path that satisfies time connection, to obtain a single-week candidate transport path set; obtain a second transport path planning model, input the single-week candidate transport path set into the second transport path planning model, and obtain a target transport path set.
[0150] In one embodiment, the target transportation path determination module is further used to establish a third spatiotemporal network based on the single-week candidate transportation path set.
[0151] The above-mentioned transport path planning device obtains transport tasks, screens the transport tasks according to the task schedule of the transport tasks, obtains a first transport task set and a second transport task set, the task schedule of the transport tasks in the first transport task set is greater than the first preset threshold, and the task schedule of the transport tasks in the second transport task set is less than or equal to the first preset threshold; obtains a first transport path planning model, inputs the first transport task set into the first transport path planning model, obtains a single-day transport path set; converts the single-day transport path set into a single-week transport path set according to the task schedule; when the single-week transport path in the single-week transport path set meets the preset conditions, the single-week transport path is used as the target transport path, and the preset conditions include that the number of transport tasks in the same task schedule in the candidate transport path is greater than the second preset threshold. In the process of planning the transport path for the transport task, a mathematical model is used to plan the transport path for the transport task, thereby improving the planning efficiency. By focusing on and giving priority to planning the transport paths for the transport tasks with more task schedules, the planning efficiency can be further improved.
[0152] For the specific definition of the transport path planning device, please refer to the definition of the transport path planning method above, which will not be repeated here. Each module in the above-mentioned transport path planning device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0153] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store transportation tasks and transportation resource information. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a transportation path planning method is implemented.
[0154] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0155] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned transportation path planning method. The steps of the transportation path planning method here may be the steps of the transportation path planning method in each of the above-mentioned embodiments.
[0156] In one embodiment, a computer readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the above-mentioned transportation path planning method. The steps of the transportation path planning method here can be the steps of the transportation path planning method in each of the above-mentioned embodiments.
[0157] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0158] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0159] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A transportation route planning method, the method comprising: Acquire transport tasks, and filter the transport tasks according to their task schedules to obtain a first transport task set and a second transport task set, wherein the task schedules of the transport tasks in the first transport task set are greater than a first preset threshold, and the task schedules of the transport tasks in the second transport task set are less than or equal to the first preset threshold; Acquire a first transport path planning model, input the first transport task set into the first transport path planning model, and obtain a single-day transport path set; Converting a single-day transportation path set into a single-week transportation path set according to the task schedules of the transportation tasks in the first transportation task set; When a single-week transportation path in the single-week transportation path set meets a preset condition, the single-week transportation path is used as the target transportation path, and the preset condition includes that the number of transportation tasks in the same task shift in the candidate transportation path is greater than a second preset threshold; When the single-week transportation path does not meet the preset conditions, split the single-week transportation path to obtain a third transportation task set; The second transport task set and the third transport task set are input into the first transport path planning model to obtain a two-day transport path set.
2. The method according to claim 1, characterized in that Before obtaining the first transport path planning model, the method further includes: Determine a set of single-day candidate transportation routes that meet time connection based on the transportation tasks in the first transportation task set; A first space-time network is established according to the single-day candidate transportation path set, wherein the first space-time network includes nodes, driving arcs and waiting arcs, and the driving arcs include exit arcs, entry arcs and empty arcs.
3. The method according to claim 1, characterized in that The first transportation path planning model includes a first objective function and a first constraint condition, wherein the first objective function and the first constraint condition are determined according to transportation resource information, wherein the transportation resource information includes site information and vehicle information.
4. The method according to claim 1, characterized in that: The first transportation route planning model is used to output a set of single-day transportation routes with the minimum total transportation cost.
5. The method according to claim 1, characterized in that Before inputting the second transport task set and the third transport task set into the first transport path planning model, the method further includes: Determine a set of two-day candidate transportation routes that meet time connection based on the second transportation task set and the third transportation task set; A second spatiotemporal network is established according to the two-day candidate transportation path set.
6. The method according to claim 1, characterized in that The method further comprises: Connecting the two-day transportation paths in the two-day transportation path set into a single-week candidate transportation path that meets time connection, to obtain a single-week candidate transportation path set; A second transport path planning model is obtained, and the single-week candidate transport path set is input into the second transport path planning model to obtain a target transport path set.
7. The method according to claim 6, characterized in that Before acquiring the second transport path planning model, the method further includes: A third spatiotemporal network is established according to the single-week candidate transportation path set.
8. A transport path planning device, characterized in that: The device comprises: A transport task acquisition module, used for acquiring transport tasks, screening the transport tasks according to their task schedules, obtaining a first transport task set and a second transport task set, wherein the task schedules of the transport tasks in the first transport task set are greater than a first preset threshold, and the task schedules of the transport tasks in the second transport task set are less than or equal to the first preset threshold; A single-day transport path determination module is used to obtain a first transport path planning model, input the first transport task set into the first transport path planning model, and obtain a single-day transport path set; A transport path conversion module, used for converting a single-day transport path set into a single-week transport path set according to the task schedule of the transport tasks in the first transport task set; a target transport path determination module, configured to use a single-week transport path in the single-week transport path set as a target transport path when the single-week transport path meets a preset condition, wherein the preset condition includes that the number of transport tasks in the same task shift in the candidate transport path is greater than a second preset threshold; The target transport path determination module is also used to split the single-week transport path to obtain a third transport task set when the single-week transport path does not meet the preset conditions; input the second transport task set and the third transport task set into the first transport path planning model to obtain a two-day transport path set.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Distribution route planning method, device and apparatus, and storage medium
CN109272267A
