A method, device, equipment and medium for allocating in-plant transportation tasks
By dividing transportation tasks into single-channel and multi-channel tasks in the factory area of a large manufacturing enterprise, and constructing a vehicle routing problem model to optimize the task sequence, the waiting time problem caused by resource constraints and resource preemption in vehicle operations is solved, and loading is improved. rate and logistics efficiency.
Patent Information
- Application Number
- CN202410815683.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-24
AI Technical Summary
In the factory areas of large manufacturing enterprises, vehicle operations are restricted by the conditions of workshop passages, temporary storage area space, cranes and other loading and unloading equipment resources, resulting in a large amount of unnecessary waiting time during the loading and unloading process, and among the vehicles operating in parallel. There are resource preemption effects.
By obtaining the transportation tasks to be assigned, divide them into single-channel workshop tasks and multi-channel workshop tasks, assign task groups according to the two-way transportation relationship between workshops, and build a vehicle routing problem model to optimize the task sequence and ensure that each vehicle is moving During the process, the positional relationship between task loading and unloading points should be considered as much as possible to reduce the repetition of vehicle driving paths and the number of round trips.
It improves the vehicle loading rate, reduces the waiting time and number of round trips for vehicle transportation tasks, and improves the logistics efficiency of transportation tasks. The design principle is reliable and has a wide range of applications.
Smart Images

Figure CN118378863B
Abstract
Description
Background Art
[0002] The production workshops in the factory area of large manufacturing enterprises generate transportation tasks from time to time. After receiving the transportation task, the transportation vehicle departs from the garage and needs to load the workpieces from a certain production workshop within a specific time and deliver the workpieces to the designated production workshop for unloading. The transportation vehicle needs to complete the transportation task and return to the garage within the specified time. In the process of executing the transportation task, each transportation task involves a pick-up point and an unloading point. These two points usually appear in a paired form, and the unloading point of a transportation task may be the pick-up point of another transportation task. In addition, since each workshop may have transportation needs, the in-plant transportation task involves almost every production workshop of the enterprise, which ultimately leads to a large number of transportation tasks and a messy flow.
[0003] At present, due to the lack of information exchange between the processes in each production workshop, manual vehicle dispatch is required, and vehicles are usually operated in a one-car-one-order form, with a low loading rate. On the one hand, the passage in the production workshop only allows one vehicle to load and unload. If multiple vehicles need to load and unload at the same time, they can only queue up outside the production workshop and cannot enter the workshop. On the other hand, when loading and unloading workpieces, only the overhead crane in the production workshop can be used. If the overhead crane is being used in the production workshop, the vehicle cannot load the workpiece and can only queue up. In addition, the remaining space in the temporary storage area is also an important factor affecting the loading and unloading operation.
[0004] In summary, vehicle operations are restricted by the conditions of workshop aisles, temporary storage area space, overhead cranes and other loading and unloading equipment resources, and there is a resource preemption effect between vehicles operating in parallel, which ultimately leads to a large amount of unnecessary waiting time for vehicles during the loading and unloading process.
[0005] This is a shortcoming of the prior art. Therefore, in view of the above-mentioned defects in the prior art, it is very necessary to provide a method, device, equipment and medium for allocating in-plant transportation tasks. Summary of the invention
[0006] In view of the defect that the above-mentioned vehicle operations in the prior art are restricted by the conditions of workshop passages, temporary storage area space and overhead crane and other loading and unloading equipment resources, and there is a resource preemption effect between vehicles operating in parallel, which ultimately leads to a large amount of unnecessary waiting time for vehicles during loading and unloading, the present invention provides a method, device, equipment and medium for allocating transportation tasks within the factory to solve the above-mentioned technical problems.
[0007] In a first aspect, the present invention provides a method for allocating in-plant transportation tasks, comprising the following steps:
[0008] S1. Obtain the transportation tasks to be assigned, assign the transportation tasks to be assigned between the same trucks to different task groups, and assign vehicles to each task group;
[0009] S2. Input the task groups assigned to each vehicle into the vehicle routing problem model for modeling and solving, and obtain the task completion order in each task group.
[0010] Furthermore, the specific steps of step S1 are as follows:
[0011] S11. Obtaining the information of the transport tasks to be assigned, and dividing the tasks to be assigned into single-channel workshop tasks and multi-channel workshop tasks according to the number of channels in the loading workshop;
[0012] S12. Divide the transport tasks to be assigned into task groups according to the types of the tasks to be assigned and their two-way transport relationships, and assign vehicles to the task groups.
[0013] Furthermore, the specific steps of step S11 are as follows:
[0014] S111. Obtaining the transportation task information to be assigned, the transportation task information includes the document number, workpiece name, quantity, transportation weight, urgency, loading and unloading workshop;
[0015] S112. Obtain the loading bays of each transport task to be assigned, and determine the channel type in each loading bay;
[0016] When the channel type is single channel, go to step S113;
[0017] When the channel type is multi-channel, go to step S114;
[0018] S113. Take each to-be-allocated transport task corresponding to the single-channel loading workshop as a single-channel workshop task, and proceed to step S12;
[0019] S114. Take each to-be-allocated transport task corresponding to the multi-channel loading and unloading workshop as a multi-channel workshop task.
[0020] Furthermore, the specific steps of step S12 are as follows:
[0021] S121. Identify all single-channel workshop tasks in the transportation tasks to be assigned;
[0022] S122. Adding single-channel workshop tasks belonging to the same single-channel workshop to different task groups, and assigning vehicles to the task groups;
[0023] S123. Identify all multi-channel workshop tasks in the transportation tasks to be assigned;
[0024] S124. Identify whether there is a two-way transportation relationship between the multi-channel workshops according to the pick-up and unloading locations of all multi-channel workshop tasks;
[0025] If yes, go to step S125;
[0026] If not, proceed to step S126;
[0027] S125. Insert the multi-channel workshop tasks with bidirectional transportation relationship into different task groups and proceed to step S127;
[0028] S126. Identify multi-channel workshop tasks that do not have a two-way transportation relationship and have the same departure locations, and insert them into different task groups;
[0029] S127. Obtain the number of tasks in each task group and the number of tasks assigned to each vehicle;
[0030] S128. According to the number of task groups assigned to each vehicle, identify the vehicle with the least number of task groups as the target vehicle, and assign each task group to the target vehicle in turn until the task group assignment is completed.
[0031] Furthermore, the transportation tasks to be assigned are divided into express tasks, urgent tasks, emergency tasks and general tasks according to the urgency from high to low;
[0032] In step S12, the tasks to be assigned are divided into task groups and vehicles are assigned in descending order of urgency;
[0033] The transportation efficiency of vehicles is divided in advance according to the lifting equipment and carriers equipped on the vehicles and the proficiency of the personnel in loading and unloading the workpieces;
[0034] In step S12, target vehicles are selected for task group assignment according to the order of transportation efficiency from high to low.
[0035] Furthermore, the specific steps of step S2 are as follows:
[0036] S21. Determine the operation order of the vehicle;
[0037] S22. Preset the default assumptions for the transportation tasks to be assigned;
[0038] S23. Taking the minimum number of round trips as the goal, the vehicle routing problem model is constructed with the production workshop service time, vehicle capacity, and vehicle maximum working time as constraints;
[0039] S24. Solve the constructed vehicle routing problem model to obtain the operation sequence of each vehicle for the tasks in each task group.
[0040] Furthermore, in step S21, the transport operation sequence of the vehicles is determined according to whether there is a fault in the overhead crane of the production workshop, the predicted value of the operation volume of the overhead crane in the future set time period, the predicted waiting time of the queued transport vehicles, and the working status of the vehicles;
[0041] The default assumption in step S22 is:
[0042] Each transportation task to be assigned needs to be served by a vehicle;
[0043] The working time of each vehicle is less than or equal to the maximum working time;
[0044] The completion time of each transportation task to be assigned is less than or equal to the latest delivery time;
[0045] The load of each vehicle is less than or equal to the rated load of the vehicle;
[0046] The specific steps of step S23 are as follows:
[0047] S231. The objective function F of the vehicle routing problem model is as follows:
[0048]
[0049] in, Indicates workshop To the workshop distance; Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops; represents a collection of vehicles; Represents all visited nodes, , Indicates garage. , represents the set of starting point workshops based on transportation tasks, , represents the set of unloading point workshops based on transportation tasks, , Indicates the number of transport tasks;
[0050] S232. Construct the first constraint condition SJ1 for the transportation task constraint:
[0051]
[0052] in, Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops;
[0053] S233. Construct the second constraint SJ2 for the vehicle from the workshop to the garage and the third constraint SJ3 for the vehicle from the garage to the workshop:
[0054]
[0055]
[0056] in, Indicates vehicle Whether it is by workshop To the garage , Indicates vehicle Whether by garage To the workshop , , represents the set of all workshops, represents a garage, i represents a workshop, k represents a vehicle, represents a collection of vehicles;
[0057] S234. Construct the fourth constraint SJ4 for the balance of the number of vehicles entering and leaving the workshop:
[0058]
[0059] in, Indicates vehicle Whether it is by workshop To the workshop , Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops, k represents the vehicle, represents a collection of vehicles;
[0060] S235. Construct the fifth constraint SJ5 on vehicle load:
[0061]
[0062] in, Indicates the vehicle departure point The load at Indicates vehicle load. Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , , represents the set of all workshops, k represents the vehicle, represents a collection of vehicles;
[0063] S236. Construct the sixth constraint SJ6 on vehicle working time:
[0064]
[0065] in, Indicates The working time of the vehicle, represents the maximum working time of the vehicle; k represents the vehicle, represents a collection of vehicles;
[0066] S237. Construct the seventh constraint SJ7 and the eighth constraint SJ8 for the time constraints of the vehicle arriving at each workshop:
[0067]
[0068]
[0069] in, Indicates that the vehicle has arrived at the workshop time, Indicates that the vehicle is in the workshop Service time, Indicates that the vehicle is from the workshop To the workshop The running time, Indicates that the vehicle has arrived at the workshop time, Indicates workshop The earliest time allowed to start the job, Indicates workshop The latest allowed operation time; Represents all visited nodes, , Indicates garage. , represents the set of starting point workshops based on transportation tasks, , represents the set of unloading point workshops based on transportation tasks, , k represents the vehicle, represents a collection of vehicles, Indicates the number of transport tasks;
[0070] S238. The ninth constraint SJ9 for avoiding sub-circles when constructing vehicle transportation:
[0071]
[0072] in, Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops, S represents any set of workshops, k represents a vehicle, represents a collection of vehicles;
[0073] S239. Construct the tenth constraint SJ10 and the eleventh constraint SJ11 for the pickup demand and the delivery demand to appear in pairs:
[0074]
[0075]
[0076] in, Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , ; Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , ;
[0077] represents the set of starting point workshops based on transportation tasks, ; represents the set of unloading point workshops based on transportation tasks, , m represents the number of transportation tasks.
[0078] In a second aspect, the present invention provides a device for allocating in-plant transportation tasks, comprising:
[0079] The task allocation module is used to obtain the transportation tasks to be allocated, allocate the transportation tasks to be allocated between the same trucks to different task groups, and allocate vehicles to each task group;
[0080] The operation sequence calculation module is used to input the task groups assigned to each vehicle into the vehicle routing problem model for modeling and solving, and obtain the task completion sequence in each task group.
[0081] In a third aspect, the present invention provides a device, comprising a processor and a memory;
[0082] The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device executes the method described in the first aspect above.
[0083] In a fourth aspect, the present invention provides a storage medium,
[0084] The storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method described in the first aspect.
[0085] The beneficial effects of the present invention are:
[0086] The method, device, equipment and medium for allocating in-plant transportation tasks provided by the present invention divide the transportation tasks to be allocated into single-channel workshop tasks and multi-channel workshop tasks according to the number of channels in the workshop, give priority to allocating single-channel workshop tasks, ensure that each vehicle task group has no intersection in the single-channel workshop, insert all tasks in each single-channel workshop into different vehicle task groups respectively, insert all tasks in all multi-channel workshops into different vehicle task groups according to the two-way transportation relationship between workshops, and then input the task grouping into the vehicle path problem model for modeling and solving, so as to obtain the task completion order in each vehicle task group. The present invention fully considers the positional relationship between each task workshop, so that each vehicle considers the positional relationship between each task loading and unloading point as much as possible during driving, integrates all tasks to plan the vehicle path, improves the vehicle loading rate, makes the vehicle pass through the access point only once as much as possible, avoids the duplication of the vehicle driving path, reduces the number of round trips of vehicle transportation, and improves the logistics efficiency of the transportation task.
[0087] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect.
[0088] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0090] Figure 1 It is a flow chart of an embodiment of the method for allocating intra-plant transportation tasks of the present invention.
[0091] Figure 2 It is a flow chart of another embodiment of the method for allocating intra-plant transportation tasks of the present invention.
[0092] Figure 3 It is a schematic diagram of the in-plant transportation task allocation device of the present invention. DETAILED DESCRIPTION
[0093] The method for allocating intra-factory transportation tasks can be applied to one or more devices, wherein the device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0094] A device can be any electronic product that can interact with a user, such as a personal computer.
[0095] Computers, tablet computers, smart phones, personal digital assistants (PDA), interactive network televisions (IPTV), etc. The network where the device is located includes but is not limited to the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.
[0096] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0097] See also Figure 1 The figure shows a specific implementation of the in-plant transportation task allocation method, which includes the following steps:
[0098] S1. Obtain the transportation tasks to be assigned, assign the transportation tasks to be assigned between the same trucks to different task groups, and assign vehicles to each task group;
[0099] S2. Input the task groups assigned to each vehicle into the vehicle routing problem model for modeling and solving, and obtain the task completion order in each task group.
[0100] In this embodiment, Figure 2 As shown, the specific steps of step S1 are as follows:
[0101] S11. Obtaining the information of the transport tasks to be assigned, and dividing the tasks to be assigned into single-channel workshop tasks and multi-channel workshop tasks according to the number of channels in the loading workshop;
[0102] S12. Divide the transport tasks to be assigned into task groups according to the types of tasks to be assigned and their two-way transport relationships, and assign vehicles to the task groups;
[0103] It should be noted that a single-aisle workshop refers to a workshop with only one aisle and only one vehicle is allowed to enter at the same time. A single-aisle workshop task is a task that takes the single-aisle workshop as the starting point.
[0104] A multi-channel workshop refers to a workshop with multiple channels, which allows multiple vehicles to enter at the same time. A multi-channel workshop task is a task that takes the multi-channel workshop as the starting point;
[0105] There are two situations of two-way transportation relationship, with two-way transportation relationship and without two-way transportation relationship, and the subject is the transportation task; with two-way transportation relationship means that the starting point and unloading point of two transportation tasks are interchanged, and without two-way transportation relationship means that all transportation tasks except those with two-way transportation relationship do not have two-way transportation relationship; taking workshop A, workshop B, and workshop C as examples, all transportation tasks with workshop A as the starting point and workshop B as the unloading point and all transportation tasks with workshop B as the starting point and workshop A as the unloading point have two-way transportation relationship; while the transportation tasks with workshop A as the starting point and workshop B as the picking point and the transportation tasks with workshop A as the starting point and workshop C as the unloading point are considered to have no two-way transportation relationship;
[0106] The specific steps of step S11 are as follows:
[0107] S111. Obtaining the transportation task information to be assigned, the transportation task information includes the document number, workpiece name, quantity, transportation weight, urgency, loading and unloading workshop;
[0108] It should be noted that there are two types of vehicles: single vehicle and trailer. The single vehicle has a rated load of 18 tons and is responsible for transporting small and medium-sized items. The trailer has a rated load of 80 tons and is responsible for transporting large items.
[0109] S112. Obtain the loading bays of each transport task to be assigned, and determine the channel type in each loading bay;
[0110] When the channel type is single channel, go to step S113;
[0111] When the channel type is multi-channel, go to step S114;
[0112] S113. Take each to-be-allocated transport task corresponding to the single-channel loading workshop as a single-channel workshop task, and proceed to step S12;
[0113] S114. The transportation tasks to be assigned corresponding to the multi-channel loading and unloading workshops are used as multi-channel workshop tasks;
[0114] The specific steps of step S12 are as follows:
[0115] S121. Identify all single-channel workshop tasks in the transportation tasks to be assigned;
[0116] S122. Add the single-channel workshop tasks belonging to the same single-channel workshop to different task groups, and assign vehicles to the task groups to ensure that each vehicle task group has no crossover phenomenon in the single-channel workshop;
[0117] S123. Identify all multi-channel workshop tasks in the transportation tasks to be assigned;
[0118] S124. Identify whether there is a two-way transportation relationship between the multi-channel workshops according to the pick-up and unloading locations of all multi-channel workshop tasks;
[0119] If yes, go to step S125;
[0120] If not, proceed to step S126;
[0121] S125. Insert the multi-channel workshop tasks with the same bidirectional transportation relationship into different task groups, and proceed to step S127;
[0122] S126. Identify multi-channel workshop tasks that do not have a two-way transportation relationship and have the same departure locations, and insert them into different task groups;
[0123] S127. Obtain the number of tasks in each task group and the number of tasks assigned to each vehicle;
[0124] S128. According to the number of task groups assigned to each vehicle, identify the vehicle with the least number of task groups as the target vehicle, and assign each task group to the target vehicle in turn until the task group assignment is completed;
[0125] It should be noted that the transportation tasks to be assigned are divided into express tasks, urgent tasks, emergency tasks and general tasks according to the urgency from high to low;
[0126] For example, the transportation tasks to be assigned are divided into four types according to their urgency: express tasks, urgent tasks, urgent tasks, and general tasks. Express tasks require completion within 8 hours of task submission; urgent tasks require completion within 24 hours of task submission; urgent tasks require completion within 48 hours of task submission; and general tasks require completion within 72 hours of task submission.
[0127] In step S12, the tasks to be assigned are divided into task groups and vehicles are assigned in descending order of urgency;
[0128] It should be noted that the transport efficiency of vehicles is divided in advance according to the lifting equipment and carriers equipped on the vehicles and the proficiency of the personnel in loading and unloading the workpieces;
[0129] In step S12, target vehicles are selected for task group assignment according to the order of transportation efficiency from high to low;
[0130] It should be noted that due to the large number of workshops in the factory and the limited factory area, the operation sequence of each vehicle is restricted by conditions such as workshop passages and loading and unloading equipment resources. At the same time, there is a resource competition between vehicles working in parallel. Therefore, the vehicle driving distance is not the key factor affecting the vehicle operation efficiency. The large amount of preparation time during the pickup and delivery process and the empty round trip of the vehicle are the biggest factors affecting the vehicle operation efficiency.
[0131] The specific steps of step S2 are as follows:
[0132] S21. Determine the order of vehicle operations; determine the order of vehicle transportation operations based on whether there is a fault in the overhead crane of the production workshop, the predicted value of the overhead crane's future set time period, the predicted waiting time of the queued transport vehicles, and the working status of the vehicles;
[0133] S22. Preset the default assumptions for the transportation tasks to be assigned; the default assumptions in step S22 are:
[0134] Each transportation task to be assigned needs to be served by a vehicle;
[0135] The working time of each vehicle is less than or equal to the maximum working time;
[0136] The completion time of each transportation task to be assigned is less than or equal to the latest delivery time;
[0137] The load of each vehicle is less than or equal to the rated load of the vehicle;
[0138] S23. With the minimum number of round trips of vehicle transportation as the goal, a vehicle routing problem model is constructed with the production workshop service time, vehicle capacity, and vehicle maximum working time as constraints; with the minimum number of round trips of vehicle transportation as the goal, when the pickup point and the delivery point are the same, the distance is 0, and when the pickup point and the delivery point are different, the distance is 1, and a vehicle routing problem model considering the workshop service time constraint, vehicle capacity constraint, and vehicle maximum working time constraint is established for solution; the specific steps of step S23 are as follows:
[0139] S231. The objective function F of the vehicle routing problem model is as follows:
[0140]
[0141] in, Indicates workshop To the workshop distance; Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops; represents a collection of vehicles; Represents all visited nodes, , Indicates garage. , represents the set of starting point workshops based on transportation tasks, , represents the set of unloading point workshops based on transportation tasks, , Indicates the number of transport tasks;
[0142] S232. Construct the first constraint condition SJ1 for the transportation task constraint:
[0143]
[0144] in, Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops;
[0145] S233. Construct the second constraint SJ2 for the vehicle from the workshop to the garage and the third constraint SJ3 for the vehicle from the garage to the workshop:
[0146]
[0147]
[0148] in, Indicates vehicle Whether it is by workshop To the garage , Indicates vehicle Whether by garage To the workshop , , represents the set of all workshops, represents a garage, i represents a workshop, k represents a vehicle, represents a collection of vehicles;
[0149] S234. Construct the fourth constraint SJ4 for the balance of the number of vehicles entering and leaving the workshop:
[0150]
[0151] in, Indicates vehicle Whether it is by workshop To the workshop , Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops, k represents the vehicle, represents a collection of vehicles;
[0152] S235. Construct the fifth constraint SJ5 on vehicle load:
[0153]
[0154] in, Indicates the vehicle departure point The load at Indicates vehicle load. Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , , represents the set of all workshops, k represents the vehicle, represents a collection of vehicles;
[0155] S236. Construct the sixth constraint SJ6 on vehicle working time:
[0156]
[0157] in, Indicates The working time of the vehicle, represents the maximum working time of the vehicle; k represents the vehicle, represents a collection of vehicles;
[0158] S237. Construct the seventh constraint SJ7 and the eighth constraint SJ8 for the time constraints of the vehicle arriving at each workshop:
[0159]
[0160]
[0161] in, Indicates that the vehicle has arrived at the workshop time, Indicates that the vehicle is in the workshop Service time, Indicates that the vehicle is from the workshop To the workshop The running time, Indicates that the vehicle has arrived at the workshop time, Indicates workshop The earliest time allowed to start the job, Indicates workshop The latest allowed operation time; Represents all visited nodes, , Indicates garage. , represents the set of starting point workshops based on transportation tasks, , represents the set of unloading point workshops based on transportation tasks, , k represents the vehicle, represents a collection of vehicles, Indicates the number of transport tasks;
[0162] S238. The ninth constraint SJ9 for avoiding sub-circles when constructing vehicle transportation:
[0163]
[0164] in, Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops, S represents any set of workshops, k represents a vehicle, represents a collection of vehicles;
[0165] A subcircle refers to a small loop contained in the loop formed by a group of demand points served by a vehicle;
[0166] S239. Construct the tenth constraint SJ10 and the eleventh constraint SJ11 for the pickup demand and the delivery demand to appear in pairs:
[0167]
[0168]
[0169] in, Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , ; Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , ;
[0170] represents the set of starting point workshops based on transportation tasks, ; represents the set of unloading point workshops based on transportation tasks, , m represents the number of transportation tasks;
[0171] S24. Solve the constructed vehicle routing problem model to obtain the operation sequence of each vehicle for the tasks in each task group.
[0172] It should be understood that the order of execution of the steps in the above embodiment does not mean that the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0173] The following is an embodiment of the intra-plant transportation task allocation device provided in the embodiments of the present disclosure. The device and the intra-plant transportation task allocation methods of the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the intra-plant transportation task allocation device, please refer to the embodiment of the above-mentioned intra-plant transportation task allocation method.
[0174] like Figure 3 As shown, the device comprises:
[0175] The task allocation module is used to obtain the transportation tasks to be allocated, allocate the transportation tasks to be allocated between the same trucks to different task groups, and allocate vehicles to each task group;
[0176] The operation sequence calculation module is used to input the task groups assigned to each vehicle into the vehicle routing problem model for modeling and solving, and obtain the task completion sequence in each task group.
[0177] The in-plant transportation task allocation method provided by the present invention is a module and algorithm step of each example described in combination with the embodiments disclosed herein, and can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0178] It is understood by those skilled in the art that the in-plant transportation task allocation method provided by the present invention can be implemented as a device, method or program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combined with hardware and software, which can be collectively referred to as "circuit", "module" or "system" here. In the non-transient computer-readable storage medium of the in-plant transportation task allocation method, it can be but not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0179] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.
Claims
1. A method for allocating in-plant transportation tasks, characterized in that: The steps include: S1. Obtain the transportation tasks to be assigned, assign the transportation tasks to be assigned between the same trucks to different task groups, and assign vehicles to each task group; the specific steps of step S1 are as follows: S11. Obtain the information of the transportation tasks to be assigned, and divide the tasks to be assigned into single-channel workshop tasks and multi-channel workshop tasks according to the number of channels in the loading workshop; the specific steps of step S11 are as follows: S111. Obtaining the transportation task information to be assigned, the transportation task information includes the document number, workpiece name, quantity, transportation weight, urgency, loading and unloading workshop; S112. Obtain the loading bays of each transport task to be assigned, and determine the channel type in each loading bay; When the channel type is single channel, go to step S113; When the channel type is multi-channel, go to step S114; S113. Take each to-be-allocated transport task corresponding to the single-channel loading workshop as a single-channel workshop task, and proceed to step S12; S114. The transportation tasks to be assigned corresponding to the multi-channel loading and unloading workshops are used as multi-channel workshop tasks; S12. Divide the transport tasks to be assigned into task groups according to the type of tasks to be assigned and their two-way transport relationship, and assign vehicles to the task groups; the specific steps of step S12 are as follows: S121. Identify all single-channel workshop tasks in the transportation tasks to be assigned; S122. Adding single-channel workshop tasks belonging to the same single-channel workshop to different task groups, and assigning vehicles to the task groups; S123. Identify all multi-channel workshop tasks in the transportation tasks to be assigned; S124. Identify whether there is a two-way transportation relationship between the multi-channel workshops according to the pick-up and unloading locations of all multi-channel workshop tasks; If yes, go to step S125; If not, proceed to step S126; S125. Insert the multi-channel workshop tasks with bidirectional transportation relationship into different task groups, and proceed to step S127; S126. Identify multi-channel workshop tasks that do not have a two-way transportation relationship and have the same departure locations, and insert them into different task groups; S127. Obtain the number of tasks in each task group and the number of tasks assigned to each vehicle; S128. According to the number of task groups assigned to each vehicle, identify the vehicle with the least number of task groups as the target vehicle, and assign each task group to the target vehicle in turn until the task group assignment is completed; S2. Input the task groups assigned to each vehicle into the vehicle routing problem model for modeling and solving, and obtain the task completion order in each task group; the specific steps of step S2 are as follows: S21. Determine the operation order of the vehicle; S22. Preset the default assumptions for the transportation tasks to be assigned; S23. Taking the minimum number of round trips as the goal, the vehicle routing problem model is constructed with the production workshop service time, vehicle capacity, and vehicle maximum working time as constraints; S24. Solve the constructed vehicle routing problem model to obtain the operation order of each vehicle for the tasks in each task group; In step S21, the transport operation sequence of the vehicles is determined according to whether the overhead crane in the production workshop has a fault, the predicted value of the overhead crane's workload in a future set time period, the predicted waiting time of the queued transport vehicles, and the working status of the vehicles; The default assumption in step S22 is: Each transportation task to be assigned needs to be served by a vehicle; The working time of each vehicle is less than or equal to the maximum working time; The completion time of each transportation task to be assigned is less than or equal to the latest delivery time; The load of each vehicle is less than or equal to the rated load of the vehicle; The specific steps of step S23 are as follows: S231. The objective function F of the vehicle routing problem model is as follows: in, Indicates workshop To the workshop distance; Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops; represents a collection of vehicles; Represents all visited nodes, , Indicates garage. , represents the set of starting point workshops based on transportation tasks, , represents the set of unloading point workshops based on transportation tasks, , Indicates the number of transport tasks; S232. Construct the first constraint condition SJ1 for the transportation task constraint: in, Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops; S233. Construct the second constraint SJ2 for the vehicle from the workshop to the garage and the third constraint SJ3 for the vehicle from the garage to the workshop: in, Indicates vehicle Whether it is by workshop To the garage , Indicates vehicle Whether by garage To the workshop , , represents the set of all workshops, represents a garage, i represents a workshop, k represents a vehicle, represents a collection of vehicles; S234. Construct the fourth constraint SJ4 for the balance of the number of vehicles entering and leaving the workshop: in, Indicates vehicle Whether it is by workshop To the workshop , Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops, k represents the vehicle, represents a collection of vehicles; S235. Construct the fifth constraint SJ5 on vehicle load: in, Indicates that the vehicle has left the workshop The load at Indicates vehicle load. Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , , represents the set of all workshops, k represents the vehicle, represents a collection of vehicles; S236. Construct the sixth constraint SJ6 on vehicle working time: in, Indicates The working time of the vehicle, represents the maximum working time of the vehicle; k represents the vehicle, represents a collection of vehicles; S237. Construct the seventh constraint SJ7 and the eighth constraint SJ8 for the time constraints of the vehicle arriving at each workshop: in, Indicates that the vehicle has arrived at the workshop time, Indicates that the vehicle is in the workshop Service time, Indicates that the vehicle is from the workshop To the workshop The running time, Indicates that the vehicle has arrived at the workshop time, Indicates workshop The earliest time allowed to start the job, Indicates workshop The latest allowed operation time; Represents all visited nodes, , Indicates garage. , represents the set of starting point workshops based on transportation tasks, , represents the set of unloading point workshops based on transportation tasks, , k represents the vehicle, represents a collection of vehicles, Indicates the number of transport tasks; S238. The ninth constraint SJ9 for avoiding sub-circles when constructing vehicle transportation: in, Indicates vehicle Whether it is by workshop To the workshop , , represents the set of all workshops, S represents any set of workshops, k represents a vehicle, represents a collection of vehicles; S239. Construct the tenth constraint SJ10 and the eleventh constraint SJ11 for the pickup demand and the delivery demand to appear in pairs: in, Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , ; Indicates workshop If you have a pickup or delivery request, is the starting point, then ;if is the unloading point, then , ; represents the set of starting point workshops based on transportation tasks, ; represents the set of unloading point workshops based on transportation tasks, , m represents the number of transportation tasks.
2. The method for allocating in-plant transportation tasks according to claim 1, characterized in that: The transportation tasks to be assigned are divided into express tasks, urgent tasks, emergency tasks and general tasks according to the urgency from high to low; In step S12, the tasks to be assigned are divided into task groups and vehicles are assigned in descending order of urgency; The transportation efficiency of vehicles is divided in advance according to the lifting equipment and carriers equipped on the vehicles and the proficiency of the personnel in loading and unloading the workpieces; In step S12, target vehicles are selected for task group assignment according to the order of transportation efficiency from high to low.
3. A device for allocating in-plant transportation tasks for implementing the method for allocating in-plant transportation tasks according to any one of claims 1 to 2, characterized in that: include: The task allocation module is used to obtain the transportation tasks to be allocated, allocate the transportation tasks to be allocated between the same trucks to different task groups, and allocate vehicles to each task group; The operation sequence calculation module is used to input the task groups assigned to each vehicle into the vehicle routing problem model for modeling and solving, and obtain the task completion sequence in each task group.
4. A device, characterized in that: including a processor and a memory; The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device executes the method described in any one of claims 1 to 2.
5. A storage medium, characterized in that: The storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method described in any one of claims 1 to 2.
