Coding and decoding method and system for production and logistics integrated scheduling under consideration of multi-load transportation and application
By adopting a three-layer encoding and decoding method in the flexible job shop, combined with forward insertion of transportation tasks and merging of multi-load transportation tasks, the coding problem in the integrated scheduling of production and logistics in the flexible job shop under multi-load transportation is solved, and improved Improve production and logistics efficiency and reduce order completion time.
Patent Information
- Application Number
- CN202410574177.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-09-06
AI Technical Summary
The existing flexible job shop scheduling method lacks an integrated production and logistics scheduling method that is suitable for multi-load transportation, resulting in coding difficulties and poor decoding quality.
This paper proposes a coding and decoding method that considers the integrated scheduling of production and logistics under multi-load transportation. Through three-layer coding (process processing and transportation sequence, processing machine selection, transportation equipment selection), forward insertion and decoding of transportation tasks are performed during decoding. Merge multi-load transportation tasks, bind the processing and transportation sequence of workpieces, and optimize the scheduling plan.
It improves logistics and production efficiency in flexible job shop production, reduces coding space, improves algorithm search efficiency, reduces order completion time, and achieves effective merger and resource utilization of multi-load transportation tasks.
Smart Images

Figure CN118605402A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of integrated scheduling of production and logistics, and more specifically, to a coding and decoding method, system and application for integrated scheduling of production and logistics under multi-load transportation. Background Art
[0002] Traditional research on flexible job shop scheduling ignores transportation issues or considers transportation time as part of processing time. However, in actual production, there is a strong coupling relationship between the processing and transportation of workpieces. The machine selected for the processing task determines the starting and ending points of the transportation task, the end time of the transportation task determines the earliest start time of the processing task, and the end time of the processing task determines the earliest start time of the next transportation task. Therefore, its application in actual production is limited. Automated guided vehicles (AGVs) have been widely used in various smart factories, which can replace a large amount of repetitive manual labor and greatly improve the production efficiency of factories. With the continuous improvement of the intelligence level of factories, separate production scheduling and transportation scheduling can no longer meet people's pursuit of higher production efficiency, so integrated scheduling has become an inevitable choice.
[0003] Multi-load transportation by automated guided vehicles has important production benefits and economic significance. First, multi-load transportation can significantly reduce transportation costs by improving transportation efficiency. Compared with a single-carrying vehicle, an automated guided vehicle carrying more goods can complete more tasks in the same time, reduce the cost of unit cargo transportation, and improve the economic benefits of production. Secondly, multi-load transportation helps to reduce traffic congestion and energy consumption. By transporting more goods at one time, the number of vehicle movements in the production area can be reduced, thereby slowing down traffic flow, reducing energy consumption, and reducing environmental impact. This has a positive role in promoting sustainable development and resource conservation. In addition, multi-load transportation can also optimize warehousing and production processes. Large-capacity automated guided vehicles can carry more workpieces and materials at one time, reduce storage requirements in warehouses, increase material turnover, and reduce inventory costs. Therefore, considering the case of multi-load transportation of a limited number of automated guided vehicles, flexible workshop production and logistics integrated scheduling is very valuable in actual production.
[0004] However, the existing flexible workshop scheduling methods lack integrated scheduling methods for production and logistics under multi-load transportation. There are problems in the scheduling such as no decoding method adapted to multi-load transportation, encoding difficulties, and poor decoding quality. Summary of the invention
[0005] In view of the above defects or improvement needs of the prior art, the present invention provides a coding and decoding method, system and application for integrated scheduling of production and logistics under multi-load transportation. Its purpose is to solve the technical problems in the integrated scheduling of production and logistics that there is no decoding method suitable for multi-load transportation, encoding difficulties and poor decoding quality.
[0006] To achieve the above object, according to one aspect of the present invention, the following technical solution is provided:
[0007] A coding and decoding method for integrated scheduling of production and logistics under multi-load transportation is proposed. The coding method performs three-layer coding of process processing and transportation sequence OS, processing machine selection MS and transportation equipment selection TS; wherein the process processing task and transportation task are bound in OS;
[0008] The ternary scheduling tasks composed of the codes at the same position in OS, MS and TS are decoded in sequence to obtain the scheduling scheme; a ternary scheduling task includes a processing task of a process of a workpiece and a transportation task of the workpiece in the processing task; the decoding method includes: forward insertion of the transportation task, merging of multi-load transportation tasks and forward insertion of the processing task, wherein,
[0009] The forward insertion of the transport task is to insert the transport task forward into the gap if the transport task satisfies the constraint condition for forward insertion of the transport task, without considering the transport task of the transport equipment and the previous and next transport tasks for multi-load transport merging;
[0010] The multi-load transport task merging is when the transport task is inserted forward, if the transport task meets the constraint conditions of multi-load transport merging, then the transport task and the transport tasks before / after the insertion gap are merged into multi-load transport;
[0011] The gap between the forward insertion of the transport task and the merging of the multi-load transport tasks refers to the idle time of the transport equipment between adjacent transport tasks.
[0012] Preferably, OS is a sequence randomly generated according to the total number of processes of all workpieces, the code in the sequence represents the workpiece serial number, and the number of times the workpiece serial number appears from the beginning to the current position of the workpiece serial number in the sequence represents the process number of the workpiece at the current position;
[0013] MS is a sequence generated by randomly selecting a processing machine from the optional processing machine set for each process in OS. The code in the sequence represents the number of the selected processing machine among all the processing machines in this scheduling;
[0014] TS is a sequence generated by randomly selecting a transport device from the optional transport devices for the workpiece transportation task before processing on the processing machine at the same position of MS in each process in OS. The code in the sequence represents the number of the selected transport device among all the transport devices in this scheduling.
[0015] Preferably, the constraints for inserting the transport task forward are:
[0016] The earliest start time of the transportation task cannot be earlier than the completion time of the previous process task;
[0017] If the end point of the transport task before the gap is the same as the starting point of the current transport task and the starting point of the transport task after the gap is the same as the end point of the current transport task, and the transport time of the current transport task is less than the gap time, then it can be inserted forward into the gap;
[0018] If the end point of the transport task before the gap is different from the starting point of the current transport task, but the starting point of the transport task after the gap is the same as the end point of the current transport task, there will be a section of empty transport from the end point of the transport task before the gap to the starting point of the current transport task. If the sum of the time of this section of empty transport and the transport time of the current transport task is less than the gap time, then it can be inserted into the gap.
[0019] If the end point of the transport task before the gap is the same as the starting point of the current transport task, but the starting point of the transport task after the gap is different from the end point of the current transport task, there will be a period of empty transport from the end point of the current transport task to the starting point of the transport task after the gap. If the sum of the time of this empty transport and the transport time of the current transport task is less than the gap time, then it can be inserted into the gap.
[0020] If the end point of the transport task before the gap is different from the starting point of the current transport task and the starting point of the transport task after the gap is different from the end point of the current transport task, there will be a section of empty transport from the end point of the transport task before the gap to the starting point of the current transport task and a section of empty transport from the end point of the current transport task to the starting point of the transport task after the gap. If the sum of the time of the two sections of empty transport and the transport time of the current transport task is less than the gap time, then it can be inserted forward into the gap;
[0021] If there is no available gap, the transport task will be scheduled after all currently scheduled transport tasks.
[0022] Preferably, the constraints for merging multiple loads of transport are:
[0023] If the transport task has the same starting point and end point as the transport task before the gap, and the start time of the transport task before the gap is later than the completion time of the previous process task of the transport task, it can be inserted forward and merged with the transport task before the gap to form a multi-load transport with the same starting point and end point;
[0024] If the starting point and end point of the transport task are different from those of the transport task before the gap, and the start time of the transport task before the gap is later than the completion time of the processing task before the transport task, and the sum of the transport time from the end point of the transport task before the gap to the end point of the transport task and the empty transport time from the end point of the transport task to the starting point of the transport task after the gap is less than the gap time, then the transport task can be inserted forward and merged with the transport task before the gap to form a multi-load transport with the same starting point;
[0025] If the starting point of the transport task and the transport task after the gap are different, but the end point is the same, and at the same time the sum of the empty transport time from the end point of the transport task before the gap to the starting point of the transport task and the transport time from the starting point of the transport task to the starting point of the transport task after the gap is less than the gap time, and the earliest start time of the transport task plus the transport time from the starting point of the transport task to the starting point of the transport task after the gap is less than the time after the gap, then it can be inserted forward and merged with the transport task after the gap into a multi-load transport with the same end point.
[0026] Preferably, the forward insertion of the processing task is to insert the processing task forward into the gap when the earliest start time / processing time of the processing task meets the constraint conditions for the forward insertion of the processing task; the gap in the forward insertion of the processing task refers to the idle time of the processing machine between adjacent processing tasks.
[0027] Preferably, the constraint condition for inserting the processing task forward is:
[0028] The earliest start time of a processing task cannot be earlier than the completion time of the transportation task of the workpiece in the processing task;
[0029] If the processing time of the processing task is less than the gap time, and the earliest start time of the processing task plus the processing time of the processing task is less than the end time of the gap, the processing task can be inserted forward;
[0030] If there is no sufficient gap, the processing task will be arranged after all the currently arranged processing tasks.
[0031] Preferably, in the OS, if the workpiece needs to be transported to the warehouse after processing, the last process of each workpiece only represents the transportation task; if the workpiece does not need to be transported to the warehouse after processing, the last process of each workpiece represents the processing task and the transportation task;
[0032] In MS, if the workpiece needs to be transported to the warehouse after processing, the number of the processing machine corresponding to the last process of each workpiece on the MS layer is 0, and there is no processing time; if the workpiece does not need to be transported to the warehouse after processing, the number of the processing machine corresponding to the last process of each workpiece on the MS layer is not 0, and there is processing time;
[0033] In TS, regardless of whether the workpiece needs to be transported to the warehouse after processing, the last process of each workpiece requires transportation equipment for transportation; if the previous and next processes of the same workpiece are processed on the same machine, there is no transportation task for the latter process, and no transportation equipment is arranged during decoding.
[0034] According to another aspect of the present invention, the following technical solution is also provided:
[0035] A coding and decoding system considering integrated scheduling of production and logistics under multi-load transportation, comprising:
[0036] The coding module is used to perform three-layer coding of the process processing and transportation sequence OS, the processing machine selection MS and the transportation equipment selection TS; wherein the OS binds the process processing task and the transportation task;
[0037] The decoding module is used to decode the ternary scheduling tasks composed of the codes at the same position in OS, MS and TS in turn to obtain a scheduling plan; a ternary scheduling task includes a processing task of a process of a workpiece and a transportation task of the workpiece in the processing task; the decoding method includes: forward insertion of the transportation task, merging of multi-load transportation tasks and forward insertion of the processing task, wherein,
[0038] The forward insertion of the transport task is to insert the transport task forward into the gap if the transport task satisfies the constraint condition for forward insertion of the transport task, without considering the transport task of the transport equipment and the previous and next transport tasks for multi-load transport merging;
[0039] The multi-load transport task merging is when the transport task is inserted forward, if the transport task meets the constraint conditions of multi-load transport merging, then the transport task and the transport tasks before / after the insertion gap are merged into multi-load transport;
[0040] The gap between the forward insertion of the transport task and the merging of the multi-load transport tasks refers to the idle time of the transport equipment between adjacent transport tasks.
[0041] According to another aspect of the present invention, the following technical solution is also provided:
[0042] A computer-readable storage medium includes a stored computer program. When the computer program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned encoding and decoding method for integrated scheduling of production and logistics under multi-load transportation.
[0043] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:
[0044] 1. The present invention provides a coding and decoding method for integrated scheduling of production and logistics under multi-load transportation. The coding method is a three-layer coding method with one-to-one correspondence between process processing and transportation sequence OS, processing machine selection MS and transportation equipment selection TS. The merging of multi-load transportation tasks is not considered in the coding, but is realized by the decoding method. In the OS coding, the processing and transportation sequence of the workpiece are bound, so that the three-layer coding of the present invention solves four sub-problems including (1) processing machine selection; (2) processing task sorting; (3) transportation equipment selection; (4) transportation task sorting. The decoding method includes forward insertion of transportation tasks, merging of multi-load transportation tasks and forward insertion of processing tasks. The three-layer coding method of the present invention is concise and effective, with high decoding quality, avoiding the problem of exponential increase of coding space caused by too many coding layers and greatly reducing the search efficiency of the algorithm. The three-layer coding method of the present invention reduces the coding space and can improve the search efficiency of the algorithm. By using the method of the present invention, the problems of process sorting, processing machine selection, transportation equipment selection and merging of multi-load transportation tasks in the integrated scheduling of production and logistics of flexible workshops under multi-load transportation are effectively solved, and the logistics and production efficiency in workshop production are improved.
[0045] 2. In the encoding method, the transportation task and processing task of each process of the workpiece are bound. However, in the decoding method, if there is enough space between the transportation tasks arranged by the transportation equipment to arrange the current transportation task, the current transportation task can be inserted forward; if there is enough space between the processing tasks arranged by the processing machine to arrange the current processing task, the current processing task can be inserted forward. By inserting the processing task forward, it is possible that the transportation task of the current process is before the arranged transportation task, and the processing task of the current process is after the arranged processing task; or, it is possible that the transportation task of the current process is after the arranged transportation task, and the processing task of the current process is before the arranged processing task. In this way, the process transportation task and the processing task are untied in the decoding method, and the search space of the algorithm is expanded when applied to the meta-heuristic algorithm.
[0046] 3. The difficulty of inserting the transport task forward is that the transport equipment has an empty trip. The forward insertion of the transport task will change the starting point or end point of the empty trip before and after the gap, resulting in the transportation time of the empty trip constantly changing. In the decoding method of the present invention, the decoding process only records the load trip of the transport equipment. The empty trip is only used to determine whether the transport task can be inserted into the gap and is not recorded in the sequence of the transport equipment, thereby avoiding the continuous update of the empty trip, realizing the forward insertion of the transport task, completing the transport task as soon as possible, and reducing the completion time of the order.
[0047] 4. In the workshop layout, the distances between any three points satisfy the triangle inequality. Therefore, in the transportation schedule, the transportation time from one processing machine to another processing machine is always less than the transportation time from one processing machine to another processing machine via other processing machines. In the decoding method, merging multiple load transportation tasks for transportation tasks with the same starting point or the same end point can reduce the total handling time and improve logistics efficiency.
[0048] 5. The encoding and decoding method for integrated scheduling of production and logistics under multi-load transportation provided by the present invention can be widely used in various meta-heuristic algorithms to improve the efficiency of the algorithm in obtaining the optimal scheduling solution, so as to facilitate practical application. Scheduling automatic guided vehicles for multi-load transportation in flexible workshops can achieve production benefits and economic significance. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a schematic diagram of a three-layer encoding method for binding the transportation sequence and processing sequence of workpieces in an embodiment of the present invention;
[0050] Figure 2 is a schematic diagram of forward insertion of a processing task in a decoding method according to an embodiment of the present invention;
[0051] Figure 3 is a schematic diagram of forward insertion of a transport task in a decoding method according to an embodiment of the present invention;
[0052] Figure 4 It is a schematic diagram of forward insertion of transport tasks and merging of multi-load transport tasks in the decoding method in an embodiment of the present invention;
[0053] FIG5( a ) is a workshop layout diagram according to an embodiment of the present invention;
[0054] FIG5( b ) is a transportation schedule in an embodiment of the present invention;
[0055] Figure 6 It is a Gantt chart of the integrated scheduling results of production and logistics under multiple load conditions in an embodiment of the present invention;
[0056] Figure 7 It is a Gantt chart of the integrated scheduling results of production and logistics under a single load condition in an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention 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 invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0058] An embodiment of the present invention provides a coding and decoding method for integrated scheduling of production and logistics in a flexible job shop considering the situation of multi-load transportation by a limited number of automated guided vehicles, wherein the coding method is a three-layer coding method with one-to-one correspondence between the process sorting layer, the processing machine selection layer, and the automated guided vehicle selection layer. The multi-load transportation of the automated guided vehicle is not reflected in the coding, but is implemented by the decoding method; the decoding method includes the forward insertion of transportation tasks, the merging of transportation tasks under multiple loads, and the forward insertion of processing tasks. The present invention provides a coding and decoding method for the problem of integrated scheduling of production and logistics in a flexible job shop under the situation of multi-load transportation, which is applied to a meta-heuristic algorithm. By using this method, the problems of process sorting, processing machine selection, automated guided vehicle selection, and merging of multi-load transportation tasks in the scheduling are effectively solved, thereby improving the logistics efficiency in the workshop production.
[0059] In the embodiment of the present invention, the transport equipment is an automatic guided vehicle. Different transport equipment may be selected as needed in actual scheduling, and the embodiment of the present invention does not limit this.
[0060] The encoding and decoding method for integrated scheduling of production and logistics under multi-load transportation provided by the embodiment of the present invention includes a three-layer encoding method for binding the transportation sequence of workpieces with the processing sequence and a decoding method including forward insertion of transportation tasks, merging of multi-load transportation tasks and forward insertion of processing tasks. The specific process is as follows:
[0061] 1. Three-layer coding method for binding the transportation sequence of workpieces with the processing sequence
[0062] When considering the situation of a limited number of automated guided vehicles (AGVs) transporting multiple loads, the flexible job shop production and logistics integrated scheduling needs to solve five sub-problems: (1) processing machine selection; (2) processing task sorting; (3) automated guided vehicle selection; (4) transportation task sorting; (5) multi-load transportation task merging. The last sub-problem is not considered in the coding, so the coding method needs to solve four sub-problems. In theory, four layers of coding are required to solve it, but too many layers of coding will increase the coding space of the problem exponentially, greatly reducing the search efficiency of the algorithm. Therefore, the processing and transportation sequence of the workpieces are bound, and a three-layer coding method is used to reduce the coding space and improve the search efficiency of the algorithm. The three layers of coding are: (1) process processing and transportation sequence (OS); (2) processing machine selection (MS); (3) automated guided vehicle selection (TS).
[0063] Processing and transportation sequence (OS): This layer of coding mainly solves two sub-problems: processing task sorting and transportation task sorting. Take three workpieces (the number of processes is 4, 3, and 4, respectively) as an example to introduce the coding method of workpiece processing and transportation sequence. The sequence is generated by random sorting according to the total number of processes: 1-2-1-3-2-1-3-1-3-2-3. Its internal number represents the workpiece serial number. The number of times the workpiece serial number appears in the sequence to the current position of the workpiece serial number represents the process number of the workpiece at the current position. If the workpiece needs to be transported to the warehouse after processing, the last process of each workpiece only represents the transportation task; if the workpiece does not need to be transported to the warehouse after processing, the last process of each workpiece represents both the processing task and the transportation task.
[0064] Processing machine selection (MS): This layer of coding mainly solves the problem of selecting the processing machine for each process of the workpiece. This layer of coding is generated according to the OS layer process, and each process randomly selects a processing machine from the set of optional processing machines. The code number generated by initialization is not the processing machine serial number, but the number of the processing machine in the set of optional machines. It needs to be converted to obtain the real processing machine serial number and recorded in the MS layer. If the workpiece needs to be transported to the warehouse after processing, the processing machine serial number of the MS layer corresponding to the last process of each workpiece is 0, and there is no processing time; if the workpiece does not need to be transported to the warehouse after processing, the processing machine serial number of the MS layer corresponding to the last process of each workpiece is not 0, and there is processing time like other processes.
[0065] Automated guided vehicle selection (TS): This layer of coding mainly solves the problem of selecting an automated guided vehicle for each process of transporting the workpiece. This layer of coding is also generated according to the OS layer process. If the automated guided vehicle in the workshop is a general-purpose type, each process can choose any automated guided vehicle for transportation. The initialization generated code number is the corresponding automated guided vehicle serial number, which is directly recorded in the TS layer without conversion; if there are multiple types of automated guided vehicles in the workshop (traction type, pallet type, forklift type, etc.), each process randomly selects an automated guided vehicle from the optional automated guided vehicle set. The initialization generated code number is the number of the automated guided vehicle in the optional automated guided vehicle set. After conversion, the real automated guided vehicle serial number is obtained and recorded in the TS layer. Regardless of whether the workpiece needs to be transported to the warehouse after processing, the last process of each workpiece needs to be transported. It should be noted here that if the previous and next processes of the same workpiece are processed on the same machine, there is no transportation task. In this case, the transportation of the latter process is ignored during decoding, and the automated guided vehicle is no longer arranged for transportation.
[0066] like Figure 1As shown, this is a three-layer coding method that binds the transportation sequence of workpieces to the processing sequence, which takes into account the situation that the workpiece needs to be transported back to the warehouse after processing, and the first and second processes of workpiece 3 are both processed on machine 3, so there is no transportation task for the second process.
[0067] 2. Decoding methods including forward insertion of transport tasks, merging of multi-load transport tasks and forward insertion of processing tasks
[0068] For the forward insertion of a transport task, ignoring the situation where it can be combined with the previous and next transport tasks for multi-load transport after insertion, the following constraints need to be met: (1) The earliest start time of the transport task cannot be earlier than the completion time of the previous process task; (2) If the end point of the transport task before the gap is the same as the starting point of the current transport task and the starting point of the transport task after the gap is the same as the end point of the current transport task, and the transport time of the current transport task is less than the gap time, then the task can be inserted forward into the gap; (3) If the end point of the transport task before the gap is different from the starting point of the current transport task, but the starting point of the transport task after the gap is the same as the end point of the current transport task, there will be a section of empty transport from the end point of the transport task before the gap to the starting point of the current transport task, and the sum of the time of this section of empty transport and the transport time of the current transport task is less than the gap time, then the task can be inserted forward into the gap; (4) If the transport task before the gap The end point of the transport task before the gap is the same as the starting point of the current transport task, but the starting point of the transport task after the gap is different from the end point of the current transport task, there will be a section of empty transport from the end point of the current transport task to the starting point of the transport task after the gap. The sum of the time of this section of empty transport and the transport time of the current transport task is less than the gap time, then it can be inserted forward into the gap; (5) If the end point of the transport task before the gap is different from the starting point of the current transport task and the starting point of the transport task after the gap is different from the end point of the current transport task, there will be a section of empty transport from the end point of the transport task before the gap to the starting point of the current transport task and a section of empty transport from the end point of the current transport task to the starting point of the transport task after the gap. The sum of the time of the two sections of empty transport and the transport time of the current transport task is less than the gap time, then it can be inserted forward into the gap; (6) If there is no satisfied gap, the transport task is arranged after all currently arranged transport tasks.
[0069] When the transport task is inserted forward, it is merged with the transport tasks before and after the gap to form a multi-load transport task. The following constraints need to be met: (1) If the transport task has the same starting point and end point as the transport task before the gap, and the start time of the transport task before the gap is later than the completion time of the previous process processing task of the transport task, then it can be inserted forward and merged with the transport task before the gap to form a multi-load transport with the same starting point and end point; (2) If the transport task has a different starting point and end point from the transport task before the gap, and the start time of the transport task before the gap is later than the completion time of the previous process processing task of the transport task, the transport time from the end point of the transport task before the gap to the end point of the transport task is the same as the transport time from the end point of the transport task to the start point of the transport task after the gap. If the sum of the idle transportation time of the points is less than the gap time, it can be inserted forward and merged with the transportation task before the gap to form a multi-load transportation with the same starting point; (3) If the transportation task and the transportation task after the gap have different starting points but the same end points, and at the same time, the sum of the idle transportation time from the end point of the transportation task before the gap to the starting point of the transportation task and the transportation time from the starting point of the transportation task to the starting point of the transportation task after the gap is less than the gap time, and the earliest starting time of the transportation task plus the transportation time from the starting point of the transportation task to the starting point of the transportation task after the gap is less than the time after the gap, it can be inserted forward and merged with the transportation task after the gap to form a multi-load transportation with the same end point.
[0070] For the forward insertion of processing tasks, the following constraints need to be met: (1) The earliest start time of the processing task cannot be earlier than the completion time of the transportation task of the process; (2) If the processing time of the processing task is less than the gap time, and the earliest start time of the processing task plus the processing time of the processing task is less than the end time of the gap, then the processing task can be inserted forward (note: the earliest start time of the processing task can be later than the start time of the gap); (3) If there is no gap that can be satisfied, the processing task will be scheduled after all currently scheduled processing tasks.
[0071] like Figure 2 As shown in FIG. 1 , it is a schematic diagram of the forward insertion of the processing task in the decoding method. The constraints that need to be met have been described in the previous text; Figure 3 As shown, it is a schematic diagram of the forward insertion of the transport task in the decoding method. The constraints that need to be met have been described in the previous text; Figure 4 As shown, it is a schematic diagram of the forward insertion of transport tasks and the merging of multi-load transport tasks in the decoding method. If the current transport task is inserted forward into the gap and meets three conditions (the same as the starting point and end point of the transport task before the gap, the same as the end point of the transport task after the gap, and the same as the starting point of the transport task before the gap), and meets the relevant constraints mentioned above, the transport tasks are merged.
[0072] The gap, for the forward insertion of transportation tasks and the merging of multi-load transportation, refers to the idle time of the AGV between adjacent transportation tasks. For the forward insertion of processing tasks, it refers to the idle time of the processing machine between adjacent processing tasks.
[0073] The following is a further detailed description of the encoding and decoding method, system and application of integrated scheduling of production and logistics under multi-capacity transportation provided by the present invention in conjunction with specific embodiments.
[0074] Example 1
[0075] This embodiment provides an encoding and decoding method for integrated scheduling of production and logistics in a flexible job shop taking into account a limited number of automated guided vehicles for multi-load transportation (without considering the transportation of workpieces to the warehouse after processing).
[0076] As shown in Figure 5(a) and Figure 5(b), the workshop layout of 8 processing machines and 1 warehouse (LU) and the transportation schedule of the automatic guided vehicle between any two locations (between processing machines or between the warehouse and the processing machine) are shown. The automatic guided vehicle takes the raw materials of the workpiece from the warehouse and transports them to each machine for processing. When the last process of the workpiece is completed, it does not need to be transported back to the warehouse. As shown in Table 1, the production order of a flexible workshop includes 10 workpieces and 30 processes. The number of processes for each workpiece is 3, 3, 3, 3, 3, 4, 4, 3, 2, 2. Each process has two optional processing machines with the same processing time. For example, the optional machines for the first process of workpiece 1 are M1 and M2, and the processing time is 16. The workpieces are transported by two identical automatic guided vehicles throughout the production process. The maximum capacity of each automatic guided vehicle is 2.
[0077] Table 1
[0078]
[0079] Through simple initialization, the three-layer encoding of the order scheduling plan is obtained as follows:
[0080] OS: 3-5-5-3-6-4-4-7-1-2-7-8-8-10-9-6-2-6-3-5-7-9-1-4-8-7-10-6-2-1
[0081] MS: 1-3-5-6-5-2-6-4-1-1-2-4-1-1-5-3-3-2-7-8-5-1-4-4-6-8-5-2-1-7
[0082] TS: 2-1-1-2-1-1-1-2-2-2-2-2-2-2-1-1-1-1-2-1-2-1-2-1-2-1-1-1-1-2
[0083] Next, the string code is decoded to obtain the complete scheduling solution.
[0084] 1st position: The OS layer, MS layer, and TS layer are 3-1-2 respectively, representing the first process of workpiece 3 (O 31 ) is processed on machine number 1, and transported from the warehouse to machine number 1 by AGV No. 2. The start and end time of the transport is 0 / 6, and the transport time is 6. It will then be combined with other tasks to form a multi-load transport. The start and end time of the processing is 6 / 26, and the processing time is 20.
[0085] 2nd position: The OS layer, MS layer, and TS layer are 5-3-1 respectively, representing the first process of workpiece 5 (O 51 ) is processed on the machine with serial number 3, and is transported from the warehouse to the machine with serial number 3 by the automatic guided vehicle with serial number 1. The start and end time of the transportation is 0 / 8, and the transportation time is 8. After that, it will be combined with other tasks to form a multi-load transportation. The start and end time of the processing is 8 / 46, and the processing time is 38.
[0086] The third position: The OS layer, MS layer, and TS layer are 5-5-1, representing the second process of workpiece 5 (O 52 ) is processed on the machine with serial number 5, and is transported from the processing machine of the previous process to the machine with serial number 5 by the automatic guided vehicle with serial number 1. The start and end time of the transportation is 48 / 56, and the transportation time is 8. The start and end time of the processing is 56 / 88, and the processing time is 32.
[0087] 4th position: The OS layer, MS layer, and TS layer are 3-6-2 respectively, representing the second process of workpiece 3 (O 32 ) is processed on the machine with serial number 6, and is transported from the processing machine of the previous process to the machine with serial number 6 by the automatic guided vehicle with serial number 2. The start and end time of the transportation is 26 / 32, and the transportation time is 6. The start and end time of the processing is 32 / 56, and the processing time is 24.
[0088] 5th position: The OS layer, MS layer, and TS layer are 6-5-1, representing the first process of workpiece 6 (O 61 ) is processed on the machine with serial number 5, and transported from the warehouse to the machine with serial number 5 by the automatic guided vehicle No. 1. This transportation task meets the forward insertion constraint and can be merged with the already assigned transportation tasks to form a multi-load transportation with the same starting point and different destinations. The transportation is divided into two sections. The first section is with O 51 The combined multi-load transport has a start and end time of 0 / 6, a transport time of 6, and the second segment is O 61 The start and end time of the separate transportation is 6 / 14, and the transportation time is 8. The processing task meets the forward insertion constraint, the start and end time of the processing is 14 / 30, and the processing time is 16.
[0089] 6th position: The OS layer, MS layer, and TS layer are 4-2-1, representing the first process of workpiece 4 (O 41 ) is processed on machine number 2 and transported from the warehouse to machine number 3 by AGV No. 1. This transport task satisfies the forward insertion constraint. The start and end time of the transport is 22 / 30, and the transport time is 8. It will then be combined with other tasks to form a multi-load transport. The start and end time of the processing is 30 / 52, and the processing time is 22.
[0090] 7th position: The OS layer, MS layer, and TS layer are 4-6-1, representing the second process of workpiece 4 (O 42 ) is processed on the machine with serial number 6, and is transported from the processing machine of the previous process to the machine with serial number 6 by the automatic guided vehicle No. 1. The start and end time of transportation is 58 / 62, and the transportation time is 4. The start and end time of processing is 62 / 100, and the processing time is 38.
[0091] 8th position: The OS layer, MS layer, and TS layer are 7-4-2 respectively, representing the first process of workpiece 7 (O 71 ) is processed on the machine with serial number 4, and transported from the warehouse to the machine with serial number 4 by the automatic guided vehicle No. 2. This transportation task meets the forward insertion constraint and can be merged with the already assigned transportation tasks to form a multi-load transportation with the same starting point and different destinations. The transportation is divided into two sections. The first section is with O 31 The combined multi-load transport has a start and end time of 0 / 6, a transport time of 6, and the second segment is O 71 The start and end time of separate transportation is 6 / 8, and the transportation time is 2. The start and end time of processing is 8 / 46, and the processing time is 38.
[0092] 9th position: The OS layer, MS layer, and TS layer are 1-1-2, representing the first process of workpiece 1 (O 11 ) is processed on machine number 1 and transported from the warehouse to machine number 1 by AGV No. 2. This transport task satisfies the forward insertion constraint. The start and end time of the transport is 18 / 24, and the transport time is 6. It will then be combined with other tasks to form a multi-load transport. The start and end time of the processing is 26 / 42, and the processing time is 16.
[0093] 10th position: The OS layer, MS layer, and TS layer are 2-1-2, representing the first process of workpiece 2 (O 21 ) is processed on the machine with serial number 1, and transported from the warehouse to the machine with serial number 4 by the automatic guided vehicle with serial number 2. This transportation task meets the forward insertion constraint and can be merged with the already assigned transportation tasks to form a multi-load transportation with the same starting point and the same end point. The transportation has only one section, which is different from O 11The combined multi-load transport has a start and end time of 18 / 24 and a transport time of 6. The processing has a start and end time of 42 / 60 and a processing time of 18.
[0094] 11th position: The OS layer, MS layer, and TS layer are 7-2-2, representing the second process of workpiece 7 (O 72 ) is processed on the machine with serial number 2, and is transported from the processing machine of the previous process to the machine with serial number 2 by the automatic guided vehicle with serial number 2. The start and end time of transportation is 46 / 50, and the transportation time is 4. The start and end time of processing is 52 / 94, and the processing time is 42.
[0095] Bit 12: The OS layer, MS layer, and TS layer are 8-4-2, representing the first process of workpiece 8 (O 81 ) is processed on machine No. 4 and transported from the warehouse to machine No. 4 by AGV No. 2. This transportation task satisfies the forward insertion constraint. The start and end time of transportation is 38 / 46, and the transportation time is 8. The start and end time of processing is 46 / 82, and the processing time is 36.
[0096] Bit 13: The OS layer, MS layer, and TS layer are 8-1-2, representing the second process of workpiece 8 (O 82 ) is processed on machine No. 1, and is transported from the processing machine of the previous process to machine No. 2 by automatic guided vehicle No. 2. The start and end time of transportation is 82 / 84, and the transportation time is 2. The start and end time of processing is 84 / 102, and the processing time is 18.
[0097] 14th bit: The OS layer, MS layer, and TS layer are 10-1-2 respectively, representing the first process of workpiece 10 (O 101 ) is processed on machine No. 1 and transported from the warehouse to machine No. 1 by AGV No. 2. The transportation task satisfies the forward insertion constraint. The start and end time of the transportation is 56 / 62, and the transportation time is 6. The processing task satisfies the forward insertion constraint. The start and end time of the processing is 62 / 80, and the processing time is 18.
[0098] 15th position: The OS layer, MS layer, and TS layer are 9-5-1, representing the first process of workpiece 9 (O 91 ) is processed on the machine with serial number 5, and transported from the warehouse to the machine with serial number 5 by the automatic guided vehicle No. 1. This transportation task meets the forward insertion constraint and can be merged with the already assigned transportation tasks to form a multi-load transportation with the same starting point and different destinations. The transportation is divided into two sections. The first section is with O 41 The combined multi-load transport has a start and end time of 22 / 30, a transport time of 8, and the second section is O 91The start and end time of the separate transport is 30 / 32, and the transport time is 2. The processing task meets the forward insertion constraint, the start and end time of the processing is 32 / 52, and the processing time is 20.
[0099] 16th bit: The OS layer, MS layer, and TS layer are 6-3-1, representing the second process of workpiece 6 (O 62 ) is processed on machine No. 3, and is transported from the processing machine of the previous process to machine No. 3 by AGV No. 1. This transportation task satisfies the forward insertion constraint. The start and end time of transportation is 32 / 40, and the transportation time is 8. The start and end time of processing is 48 / 68, and the processing time is 20.
[0100] 17th position: The OS layer, MS layer, and TS layer are 2-3-1, representing the second process of workpiece 2 (O 22 ) is processed on machine No. 3, and is transported from the processing machine of the previous process to machine No. 3 by automatic guided vehicle No. 1. The start and end time of transportation is 72 / 80, and the transportation time is 8. The start and end time of processing is 80 / 102, and the processing time is 22.
[0101] 18th position: The OS layer, MS layer, and TS layer are 6-2-1, representing the third process of workpiece 6 (O 63 ) is processed on the machine with serial number 2, and is transported from the processing machine of the previous process to the machine with serial number 2 by the automatic guided vehicle with serial number 1. The start and end time of the transportation is 80 / 86, and the transportation time is 6. The start and end time of the processing is 94 / 122, and the processing time is 28.
[0102] 19th position: The OS layer, MS layer, and TS layer are 3-7-2 respectively, representing the third process of workpiece 3 (O 33 ) is processed on the machine with sequence number 7. It is transported from the processing machine of the previous process to the machine with sequence number 7 by the automatic guided vehicle No. 2. This transportation task satisfies the forward insertion constraint. The start and end time of transportation is 68 / 74, and the transportation time is 6. The start and end time of processing is 74 / 110, and the processing time is 36.
[0103] 20th position: The OS layer, MS layer, and TS layer are 5-8-1 respectively, representing the third process of workpiece 5 (O 53 ) is processed on machine No. 8, and is transported from the processing machine of the previous process to machine No. 8 by AGV No. 1. The start and end time of the transport is 88 / 90, and the transport time is 2. It will then be combined with other tasks to form a multi-load transport. The start and end time of the processing is 90 / 118, and the processing time is 28.
[0104] Bit 21: The OS layer, MS layer, and TS layer are 7-5-2, representing the third process of workpiece 7 (O73 ) is processed on the machine with serial number 5, and is transported from the processing machine of the previous process to the machine with serial number 5 by the automatic guided vehicle with serial number 2. The start and end time of the transportation is 94 / 96, and the transportation time is 2. The start and end time of the processing is 96 / 118, and the processing time is 22.
[0105] Bit 22: The OS layer, MS layer, and TS layer are 9-1-1, representing the second process of workpiece 9 (O 92 ) is processed on the machine with serial number 1, and the No. 1 automatic guided vehicle transports it from the processing machine of the previous process to the No. 1 machine. This transportation task can be combined with the already assigned transportation tasks to form a multi-load transportation with the same starting point and different destinations. The transportation is divided into two sections. The first section is with O 53 The combined multi-load transport has a start and end time of 88 / 90, a transport time of 2, and the second segment is O 92 The start and end time of separate transportation is 90 / 96, and the transportation time is 6. The start and end time of processing is 102 / 132, and the processing time is 30.
[0106] 23rd position: The OS layer, MS layer, and TS layer are 1-4-2, representing the second process of workpiece 1 (O 12 ) is processed on machine No. 4, and is transported from the processing machine of the previous process to machine No. 4 by AGV No. 2. This transportation task satisfies the forward insertion constraint. The start and end time of transportation is 78 / 80, and the transportation time is 2. The start and end time of processing is 82 / 114, and the processing time is 32.
[0107] Bit 24: The OS layer, MS layer, and TS layer are 4-4-1, representing the third process of workpiece 4 (O 43 ) is processed on machine No. 4, and is transported from the processing machine of the previous process to machine No. 4 by automatic guided vehicle No. 1. The start and end time of transportation is 102 / 110, and the transportation time is 8. The start and end time of processing is 114 / 146, and the processing time is 32.
[0108] 25th position: The OS layer, MS layer, and TS layer are 8-6-2 respectively, representing the third process of workpiece 8 (O 83 ) is processed on machine No. 6, and is transported from the processing machine of the previous process to machine No. 6 by automatic guided vehicle No. 2. The start and end time of transportation is 104 / 110, and the transportation time is 6. The start and end time of processing is 110 / 142, and the processing time is 32.
[0109] Bit 26: The OS layer, MS layer, and TS layer are 7-8-1, respectively, representing the fourth process of workpiece 7 (O 74) is processed on machine No. 8, and is transported from the processing machine of the previous process to machine No. 8 by automatic guided vehicle No. 1. The start and end time of transportation is 118 / 120, and the transportation time is 2. The start and end time of processing is 120 / 150, and the processing time is 30.
[0110] Bit 27: The OS layer, MS layer, and TS layer are 10-5-1, representing the second process of workpiece 10 (O 102 ) is processed on the machine with serial number 5, and is transported from the processing machine of the previous process to the machine with serial number 5 by the automatic guided vehicle with serial number 1. The start and end time of the transportation is 112 / 116, and the transportation time is 4. The start and end time of the processing is 118 / 150, and the processing time is 32.
[0111] Bit 28: The OS layer, MS layer, and TS layer are 6-2-1, representing the fourth process of workpiece 6 (O 64 ) is processed on the machine with serial number 2. 64 It is also processed on machine 2, so there is no transportation task. The start and end time of processing is 122 / 140, and the processing time is 18.
[0112] Bit 29: The OS layer, MS layer, and TS layer are 2-1-1, representing the third process of workpiece 2 (O 23 ) is processed on the machine with serial number 1, and is transported from the processing machine of the previous process to the machine with serial number 1 by the automatic guided vehicle with serial number 1. The start and end time of the transportation is 126 / 130, and the transportation time is 4. The start and end time of the processing is 132 / 150, and the processing time is 18.
[0113] 30th position: The OS layer, MS layer, and TS layer are 1-7-2 respectively, representing the third process of workpiece 1 (O 13 ) is processed on the machine with serial number 7, and is transported from the processing machine of the previous process to the machine with serial number 7 by the automatic guided vehicle with serial number 2. The start and end time of the transportation is 118 / 120, and the transportation time is 2. The start and end time of the processing is 120 / 144, and the processing time is 24.
[0114] Table 2 is prepared for the decoding results of the string code, which describes the decoding information of each bit in detail. In addition, a Gantt chart is drawn based on the decoding results, as shown in Figure 6 As shown, the first 8 rows are the scheduling results of the processing tasks on the processing machine, and the last 2 rows are the scheduling results of the transportation tasks on the automatic guided vehicle. The blank block is the empty travel of the automatic guided vehicle, and the two blocks stacked together are multi-load transportation travels. The decoded order completion time is 150.
[0115] Table 2
[0116]
[0117] In order to highlight the superiority of the decoding method for integrated scheduling of production and logistics under multi-load transportation, we decode the string code under the condition of single load (only forward insertion of transportation tasks and processing tasks is performed, and multi-load merging of transportation tasks is not performed):
[0118] 1st position: The OS layer, MS layer, and TS layer are 3-1-2 respectively, representing the first process of workpiece 3 (O 31 ) is processed on the machine with serial number 1, and is transported from the warehouse to the machine with serial number 1 by the automatic guided vehicle with serial number 2. The start and end time of transportation is 0 / 6, the transportation time is 6, the start and end time of processing is 6 / 26, and the processing time is 20.
[0119] 2nd position: The OS layer, MS layer, and TS layer are 5-3-1 respectively, representing the first process of workpiece 5 (O 51 ) is processed on machine No. 3 and transported from the warehouse to machine No. 3 by automatic guided vehicle No. 1. The start and end times of transportation are 0 / 8, the transportation time is 8, the start and end times of processing are 8 / 46, and the processing time is 38.
[0120] The third position: The OS layer, MS layer, and TS layer are 5-5-1, representing the second process of workpiece 5 (O 52 ) is processed on the machine with serial number 5, and is transported from the processing machine of the previous process to the machine with serial number 5 by the automatic guided vehicle No. 1. The start and end time of transportation is 48 / 56, and the transportation time is 8. The start and end time of processing is 56 / 88, and the processing time is 32.
[0121] 4th position: The OS layer, MS layer, and TS layer are 3-6-2 respectively, representing the second process of workpiece 3 (O 32 ) is processed on the machine with serial number 6, and is transported from the processing machine of the previous process to the machine with serial number 6 by the automatic guided vehicle No. 2. The start and end time of transportation is 26 / 32, the transportation time is 6, the start and end time of processing is 32 / 56, and the processing time is 24.
[0122] 5th position: The OS layer, MS layer, and TS layer are 6-5-1, representing the first process of workpiece 6 (O 61 ) is processed on the machine with serial number 5, and is transported from the warehouse to the machine with serial number 5 by the automatic guided vehicle No. 1. The transportation task satisfies the forward insertion constraint, the start and end time of the transportation is 18 / 28, and the transportation time is 10. The processing task satisfies the forward insertion constraint, the start and end time of the processing is 28 / 44, and the processing time is 16.
[0123] 6th position: The OS layer, MS layer, and TS layer are 4-2-1, representing the first process of workpiece 4 (O 41) is processed on the machine with serial number 2, and is transported from the warehouse to the machine with serial number 3 by the automatic guided vehicle with serial number 1. The start and end time of transportation is 64 / 72, the transportation time is 8, and the start and end time of processing is 72 / 94, and the processing time is 22.
[0124] 7th position: The OS layer, MS layer, and TS layer are 4-6-1, representing the second process of workpiece 4 (O 42 ) is processed on machine No. 6, and is transported from the processing machine of the previous process to machine No. 6 by automatic guided vehicle No. 1. The start and end time of transportation is 94 / 98, and the transportation time is 4. The start and end time of processing is 98 / 136, and the processing time is 38.
[0125] 8th position: The OS layer, MS layer, and TS layer are 7-4-2 respectively, representing the first process of workpiece 7 (O 71 ) is processed on machine No. 4 and transported from the warehouse to machine No. 4 by AGV No. 2. This transportation task satisfies the forward insertion constraint, with the start and end time of transportation being 14 / 22 and the transportation time being 8. The start and end time of processing being 22 / 60 and the processing time being 38.
[0126] 9th position: The OS layer, MS layer, and TS layer are 1-1-2, representing the first process of workpiece 1 (O 11 ) is processed on the machine with serial number 1, and is transported from the warehouse to the machine with serial number 1 by the automatic guided vehicle with serial number 2. The start and end time of transportation is 38 / 44, the transportation time is 6, and the start and end time of processing is 44 / 60, and the processing time is 16.
[0127] 10th position: The OS layer, MS layer, and TS layer are 2-1-2, representing the first process of workpiece 2 (O 21 ) is processed on machine No. 1 and transported from the warehouse to machine No. 4 by AGV No. 2. The start and end times of transportation are 52 / 58, and the transportation time is 6. The start and end times of processing are 60 / 78, and the processing time is 18.
[0128] 11th position: The OS layer, MS layer, and TS layer are 7-2-2, representing the second process of workpiece 7 (O 72 ) is processed on the machine with serial number 2, and is transported from the processing machine of the previous process to the machine with serial number 2 by the automatic guided vehicle with serial number 2. The start and end time of the transportation is 60 / 64, and the transportation time is 4. The start and end time of the processing is 94 / 136, and the processing time is 42.
[0129] Bit 12: The OS layer, MS layer, and TS layer are 8-4-2, representing the first process of workpiece 8 (O 81) is processed on machine No. 4 and transported from the warehouse to machine No. 4 by AGV No. 2. The start and end times of transportation are 70 / 78, and the transportation time is 8. The start and end times of processing are 78 / 114, and the processing time is 36.
[0130] Bit 13: The OS layer, MS layer, and TS layer are 8-1-2, representing the second process of workpiece 8 (O 82 ) is processed on the machine with serial number 1, and is transported from the processing machine of the previous process to the machine with serial number 2 by the automatic guided vehicle with serial number 2. The start and end time of the transportation is 114 / 116, and the transportation time is 2. The start and end time of the processing is 116 / 134, and the processing time is 18.
[0131] 14th bit: The OS layer, MS layer, and TS layer are 10-1-2 respectively, representing the first process of workpiece 10 (O 101 ) is processed on machine No. 1 and transported from the warehouse to machine No. 1 by AGV No. 2. The transportation task satisfies the forward insertion constraint, the start and end time of the transportation is 88 / 94, and the transportation time is 6. The processing task satisfies the forward insertion constraint, the start and end time of the processing is 94 / 112, and the processing time is 18.
[0132] 15th position: The OS layer, MS layer, and TS layer are 9-5-1, representing the first process of workpiece 9 (O 91 ) is processed on the machine with serial number 5, and is transported from the warehouse to the machine with serial number 5 by the automatic guided vehicle No. 1. This transportation task satisfies the constraints of forward insertion, the start and end time of transportation is 78 / 88, the transportation time is 10, the start and end time of processing is 88 / 108, and the processing time is 20.
[0133] 16th bit: The OS layer, MS layer, and TS layer are 6-3-1, representing the second process of workpiece 6 (O 62 ) is processed on machine No. 3, and is transported from the processing machine of the previous process to machine No. 3 by automatic guided vehicle No. 1. The start and end time of transportation is 124 / 132, and the transportation time is 8. The start and end time of processing is 112 / 132, and the processing time is 20.
[0134] 17th position: The OS layer, MS layer, and TS layer are 2-3-1, representing the second process of workpiece 2 (O 22 ) is processed on machine No. 3, and is transported from the processing machine of the previous process to machine No. 3 by automatic guided vehicle No. 1. The start and end times of transportation are 116 / 124, and the transportation time is 8. The start and end times of processing are 132 / 154, and the processing time is 22.
[0135] 18th position: The OS layer, MS layer, and TS layer are 6-2-1, representing the third process of workpiece 6 (O 63 ) is processed on the machine with serial number 2, and is transported from the processing machine of the previous process to the machine with serial number 2 by the automatic guided vehicle with serial number 1. The start and end time of the transportation is 132 / 138, and the transportation time is 6. The start and end time of the processing is 138 / 166, and the processing time is 28.
[0136] 19th position: The OS layer, MS layer, and TS layer are 3-7-2 respectively, representing the third process of workpiece 3 (O 33 ) is processed on the machine with sequence number 7, and is transported from the processing machine of the previous process to the machine with sequence number 7 by the automatic guided vehicle No. 2. This transportation task satisfies the forward insertion constraint, the start and end time of the transportation is 100 / 106, and the transportation time is 6. The start and end time of the processing is 106 / 142, and the processing time is 36.
[0137] 20th position: The OS layer, MS layer, and TS layer are 5-8-1 respectively, representing the third process of workpiece 5 (O 53 ) is processed on the machine with sequence number 8, and is transported from the processing machine of the previous process to the machine with sequence number 8 by the automatic guided vehicle No. 1. This transportation task satisfies the constraints of forward insertion, the start and end time of transportation is 88 / 90, the transportation time is 2, the start and end time of processing is 90 / 118, and the processing time is 28.
[0138] Bit 21: The OS layer, MS layer, and TS layer are 7-5-2, representing the third process of workpiece 7 (O 73 ) is processed on the machine with serial number 5, and is transported from the processing machine of the previous process to the machine with serial number 5 by the automatic guided vehicle with serial number 2. The start and end time of the transportation is 136 / 138, and the transportation time is 2. The start and end time of the processing is 138 / 160, and the processing time is 22.
[0139] Bit 22: The OS layer, MS layer, and TS layer are 9-1-1, representing the second process of workpiece 9 (O 92 ) is processed on the machine with serial number 1, and is transported from the processing machine of the previous process to the machine with serial number 1 by the automatic guided vehicle with serial number 1. The start and end time of the transportation is 140 / 148, and the transportation time is 6. The start and end time of the processing is 148 / 178, and the processing time is 30.
[0140] 23rd position: The OS layer, MS layer, and TS layer are 1-4-2, representing the second process of workpiece 1 (O 12) is processed on machine No. 4, and is transported from the processing machine of the previous process to machine No. 4 by AGV No. 2. This transportation task satisfies the forward insertion constraint, the start and end time of transportation is 112 / 114, and the transportation time is 2. The start and end time of processing is 114 / 146, and the processing time is 32.
[0141] Bit 24: The OS layer, MS layer, and TS layer are 4-4-1, representing the third process of workpiece 4 (O 43 ) is processed on machine No. 4, and is transported from the processing machine of the previous process to machine No. 4 by automatic guided vehicle No. 1. The start and end times of transportation are 154 / 162, and the transportation time is 8. The start and end times of processing are 162 / 194, and the processing time is 32.
[0142] 25th position: The OS layer, MS layer, and TS layer are 8-6-2 respectively, representing the third process of workpiece 8 (O 83 ) is processed on the machine with serial number 6, and is transported from the processing machine of the previous process to the machine with serial number 6 by the automatic guided vehicle No. 2. The start and end time of transportation is 146 / 152, and the transportation time is 6. The start and end time of processing is 152 / 184, and the processing time is 32.
[0143] Bit 26: The OS layer, MS layer, and TS layer are 7-8-1, respectively, representing the fourth process of workpiece 7 (O 74 ) is processed on machine No. 8, and is transported from the processing machine of the previous process to machine No. 8 by automatic guided vehicle No. 1. The start and end time of transportation is 168 / 170, and the transportation time is 2. The start and end time of processing is 170 / 200, and the processing time is 30.
[0144] Bit 27: The OS layer, MS layer, and TS layer are 10-5-1, representing the second process of workpiece 10 (O 102 ) is processed on the machine with sequence number 5, and is transported from the processing machine of the previous process to the machine with sequence number 5 by the automatic guided vehicle No. 1. This transportation task satisfies the constraints of forward insertion, the start and end time of transportation is 164 / 168, and the transportation time is 4. The start and end time of processing is 168 / 200, and the processing time is 32.
[0145] Bit 28: The OS layer, MS layer, and TS layer are 6-2-1, representing the fourth process of workpiece 6 (O 64 ) is processed on the machine with serial number 2. 64 It is also processed on machine 2, so there is no transportation task. The start and end time of processing is 166 / 184, and the processing time is 18.
[0146] Bit 29: The OS layer, MS layer, and TS layer are 2-1-1, representing the third process of workpiece 2 (O 23 ) is processed on the machine with serial number 1, and is transported from the processing machine of the previous process to the machine with serial number 1 by the automatic guided vehicle with serial number 1. The start and end time of the transportation is 176 / 180, and the transportation time is 4. The start and end time of the processing is 180 / 198, and the processing time is 18.
[0147] 30th position: The OS layer, MS layer, and TS layer are 1-7-2 respectively, representing the third process of workpiece 1 (O 13 ) is processed on the machine with serial number 7, and is transported from the processing machine of the previous process to the machine with serial number 7 by the automatic guided vehicle No. 2. The start and end time of the transportation is 160 / 162, and the transportation time is 2. The start and end time of the processing is 162 / 186, and the processing time is 24.
[0148] The decoding results of the single load case are shown in Table 3. The Gantt chart is drawn based on the decoding results. Figure 7 As shown, the blank block is the empty trip of the automated guided vehicle, there is no multi-load transport trip with two blocks stacked together, and the decoded order completion time is 200. For the same code string, the production and logistics integrated scheduling decoding method under multi-load transport can save 20% of the order completion time compared with single load, which reflects the superiority of the decoding method.
[0149] Table 3
[0150]
[0151] Example 2
[0152] This embodiment provides a coding and decoding system for integrated scheduling of production and logistics under multi-load transportation, including:
[0153] The coding module is used to perform three-layer coding of the process processing and transportation sequence OS, the processing machine selection MS and the transportation equipment selection TS; wherein the OS binds the process processing task and the transportation task;
[0154] The decoding module is used to decode the ternary scheduling tasks composed of the codes at the same position in OS, MS and TS in turn to obtain a scheduling plan; a ternary scheduling task includes a processing task of a process of a workpiece and a transportation task of the workpiece in the processing task; the decoding method includes: forward insertion of the transportation task, merging of multi-load transportation tasks and forward insertion of the processing task, wherein,
[0155] The forward insertion of the transport task is to insert the transport task forward into the gap if the transport task satisfies the constraint condition for forward insertion of the transport task, without considering the transport task of the transport equipment and the previous and next transport tasks for multi-load transport merging;
[0156] The multi-load transport task merging is when the transport task is inserted forward, if the transport task meets the constraint conditions of multi-load transport merging, then the transport task and the transport tasks before / after the insertion gap are merged into multi-load transport;
[0157] The gap between the forward insertion of the transport task and the merging of the multi-load transport tasks refers to the idle time of the transport equipment between adjacent transport tasks.
[0158] The specific implementation of each module can refer to the description in the method embodiment, and the embodiment of the present invention will not be repeated.
[0159] Example 3
[0160] This embodiment provides a computer-readable storage medium, including a stored computer program. When the computer program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned encoding and decoding method for integrated scheduling of production and logistics under multi-load transportation.
[0161] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A coding and decoding method for integrated scheduling of production and logistics under multi-load transportation, characterized in that: The coding method performs three-layer coding of process processing and transportation sequence OS, processing machine selection MS and transportation equipment selection TS; wherein the process processing task and transportation task of the process are bound in OS; The ternary scheduling tasks composed of the codes at the same position in OS, MS and TS are decoded in sequence to obtain the scheduling scheme; a ternary scheduling task includes a processing task of a process of a workpiece and a transportation task of the workpiece in the processing task; the decoding method includes: forward insertion of the transportation task, merging of multi-load transportation tasks and forward insertion of the processing task, wherein, The forward insertion of the transport task is to insert the transport task forward into the gap if the transport task satisfies the constraint condition for forward insertion of the transport task, without considering the transport task of the transport equipment and the previous and next transport tasks for multi-load transport merging; The multi-load transport task merging is when the transport task is inserted forward, if the transport task meets the constraint conditions of multi-load transport merging, then the transport task and the transport tasks before / after the insertion gap are merged into multi-load transport; The gap between the forward insertion of the transport task and the merging of the multi-load transport tasks refers to the idle time of the transport equipment between adjacent transport tasks.
2. A coding and decoding method for integrated scheduling of production and logistics under multi-load transportation as claimed in claim 1, characterized in that: OS is a sequence randomly generated according to the total number of processes of all workpieces. The code in the sequence represents the workpiece number. The number of times the workpiece number appears from the beginning to the current position of the workpiece number in the sequence represents the process number of the workpiece at the current position. MS is a sequence generated by randomly selecting a processing machine from the optional processing machine set for each process in OS. The code in the sequence represents the number of the selected processing machine among all the processing machines in this scheduling; TS is a sequence generated by randomly selecting a transport device from the optional transport devices for the workpiece transportation task before processing on the processing machine at the same position of MS in each process in OS. The code in the sequence represents the number of the selected transport device among all the transport devices in this scheduling.
3. A coding and decoding method for integrated scheduling of production and logistics under multi-load transportation as described in claim 1 or 2, characterized in that: The constraints for the forward insertion of the transport task are: The earliest start time of the transportation task cannot be earlier than the completion time of the previous process task; If the end point of the transport task before the gap is the same as the starting point of the current transport task and the starting point of the transport task after the gap is the same as the end point of the current transport task, and the transport time of the current transport task is less than the gap time, then it can be inserted forward into the gap; If the end point of the transport task before the gap is different from the starting point of the current transport task, but the starting point of the transport task after the gap is the same as the end point of the current transport task, there will be a section of empty transport from the end point of the transport task before the gap to the starting point of the current transport task. If the sum of the time of this section of empty transport and the transport time of the current transport task is less than the gap time, then it can be inserted into the gap. If the end point of the transport task before the gap is the same as the starting point of the current transport task, but the starting point of the transport task after the gap is different from the end point of the current transport task, there will be a period of empty transport from the end point of the current transport task to the starting point of the transport task after the gap. If the sum of the time of this empty transport and the transport time of the current transport task is less than the gap time, then it can be inserted into the gap. If the end point of the transport task before the gap is different from the starting point of the current transport task and the starting point of the transport task after the gap is different from the end point of the current transport task, there will be a section of empty transport from the end point of the transport task before the gap to the starting point of the current transport task and a section of empty transport from the end point of the current transport task to the starting point of the transport task after the gap. If the sum of the time of the two sections of empty transport and the transport time of the current transport task is less than the gap time, then it can be inserted forward into the gap; If there is no available gap, the transport task will be scheduled after all currently scheduled transport tasks.
4. A coding and decoding method for integrated scheduling of production and logistics under multi-load transportation as described in claim 1 or 2, characterized in that: The constraints for the multi-load transport merger are: If the transport task has the same starting point and end point as the transport task before the gap, and the start time of the transport task before the gap is later than the completion time of the previous process task of the transport task, it can be inserted forward and merged with the transport task before the gap to form a multi-load transport with the same starting point and end point; If the starting point and end point of the transport task are different from those of the transport task before the gap, and the start time of the transport task before the gap is later than the completion time of the processing task before the transport task, and the sum of the transport time from the end point of the transport task before the gap to the end point of the transport task and the empty transport time from the end point of the transport task to the starting point of the transport task after the gap is less than the gap time, then the transport task can be inserted forward and merged with the transport task before the gap to form a multi-load transport with the same starting point; If the starting point of the transport task and the transport task after the gap are different, but the end point is the same, and at the same time the sum of the empty transport time from the end point of the transport task before the gap to the starting point of the transport task and the transport time from the starting point of the transport task to the starting point of the transport task after the gap is less than the gap time, and the earliest start time of the transport task plus the transport time from the starting point of the transport task to the starting point of the transport task after the gap is less than the time after the gap, then it can be inserted forward and merged with the transport task after the gap into a multi-load transport with the same end point.
5. The encoding and decoding method for integrated scheduling of production and logistics under multi-load transportation as claimed in claim 1 is characterized in that: The forward insertion of the processing task is to insert the processing task forward into the gap when the earliest start time / processing time of the processing task meets the constraint conditions of the forward insertion of the processing task; the gap in the forward insertion of the processing task refers to the idle time of the processing machine between adjacent processing tasks.
6. A coding and decoding method for integrated scheduling of production and logistics under multi-load transportation as claimed in claim 5, characterized in that: The constraints for inserting the processing task forward are: The earliest start time of a processing task cannot be earlier than the completion time of the transportation task of the workpiece in the processing task; If the processing time of the processing task is less than the gap time, and the earliest start time of the processing task plus the processing time of the processing task is less than the end time of the gap, the processing task can be inserted forward; If there is no sufficient gap, the processing task will be arranged after all the currently arranged processing tasks.
7. The encoding and decoding method for integrated scheduling of production and logistics under multi-load transportation as claimed in claim 2 is characterized in that: In OS, if the workpiece needs to be transported to the warehouse after processing, the last process of each workpiece only represents the transportation task; if the workpiece does not need to be transported to the warehouse after processing, the last process of each workpiece represents both the processing task and the transportation task; In MS, if the workpiece needs to be transported to the warehouse after processing, the number of the processing machine corresponding to the last process of each workpiece on the MS layer is 0, and there is no processing time; if the workpiece does not need to be transported to the warehouse after processing, the number of the processing machine corresponding to the last process of each workpiece on the MS layer is not 0, and there is processing time; In TS, regardless of whether the workpiece needs to be transported to the warehouse after processing, the last process of each workpiece requires transportation equipment for transportation; if the previous and next processes of the same workpiece are processed on the same machine, there is no transportation task for the latter process, and no transportation equipment is arranged during decoding.
8. A coding and decoding system considering integrated scheduling of production and logistics under multi-load transportation, characterized in that: include: Coding module, used for three-layer coding of process processing and transportation sequence OS, processing machine selection MS and transportation equipment selection TS; In the OS, the processing task and the transportation task of the process are bound together; A decoding module is used to sequentially decode the ternary scheduling tasks composed of the codes at the same position in OS, MS and TS to obtain a scheduling plan; A ternary scheduling task includes a processing task of a process of a workpiece and a transportation task of the workpiece in the processing task; the decoding method includes: forward insertion of the transportation task, merging of multi-load transportation tasks and forward insertion of the processing task, wherein, The forward insertion of the transport task is to insert the transport task forward into the gap if the transport task satisfies the constraint condition for forward insertion of the transport task, without considering the transport task of the transport equipment and the previous and next transport tasks for multi-load transport merging; The multi-load transport task merging is when the transport task is inserted forward, if the transport task meets the constraint conditions of multi-load transport merging, then the transport task and the transport tasks before / after the insertion gap are merged into multi-load transport; The gap between the forward insertion of the transport task and the merging of the multi-load transport tasks refers to the idle time of the transport equipment between adjacent transport tasks.
9. A computer-readable storage medium, characterized in that: It includes a stored computer program, which, when executed by a processor, controls the device where the computer-readable storage medium is located to execute the encoding and decoding method for integrated scheduling of production and logistics under multi-capacity transportation as described in any one of claims 1 to 7.
