An integrated scheduling system for distributed assembly blocked flow workshops
The self-learning hyper-heuristic algorithm is used to optimize the scheduling of distributed assembly blocked flow workshops, which solves the computational complexity and uncertainty of large-scale production scheduling problems, achieves efficient scheduling sequence optimization and rapid solution, and is suitable for the field of intelligent manufacturing. other scheduling issues.
Patent Information
- Application Number
- CN202210262474.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-17
AI Technical Summary
It is difficult to obtain the optimal solution to large-scale production scheduling problems in polynomial time with existing technology, especially in distributed assembly blocked flow workshops. Traditional methods cannot effectively optimize scheduling, resulting in increased computational complexity and uncertain factors.
Using the self-learning super heuristic algorithm (SLHH), by constructing the workpiece processing sequence and assembly sequence, designing the self-learning heuristic selection strategy and low-level heuristic adjustment, combined with the knowledge-driven method to minimize the total flow time of the assembled product, Optimizing the scheduling of distributed assembly-blocked flow shops.
It achieves efficient scheduling sequence optimization, simplifies algorithm design, overcomes the shortcomings of traditional methods in large-scale problems, provides fast solutions and universal solutions, and is suitable for other scheduling problems in the field of intelligent manufacturing.
Smart Images

Figure CN114839930B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of distributed production scheduling in modern intelligent manufacturing, and in particular to an integrated scheduling system for distributed assembly blocked flow workshops. Background Art
[0002] Manufacturing is the main body of the national economy, the foundation of a country and the basis for a strong country. As the world is undergoing a major change that has not been seen in a century, the deep integration of advanced technologies such as the Internet of Things, cloud computing, big data, and artificial intelligence with the manufacturing industry is driving major changes in the industry.
[0003] Scheduling problems are widely present in real-world problems, such as aviation scheduling, logistics distribution, transportation, manufacturing, power systems, network communications, etc. The problem of scheduling research is to reasonably allocate resources to each part of a decomposable task under certain constraints in order to optimize specific performance indicators. Production scheduling refers to arranging the resources, processing time and processing sequence used by each component under the constraints of process route, resource conditions, delivery date, etc. as much as possible to optimize one or more production goals. There are many complexities in production scheduling problems, such as the difficulty in establishing mathematical models or inaccurate models, the exponential growth of the computational complexity of the solution space as the scale of the problem increases, the inability of the algorithm used to obtain the optimal solution to the problem within polynomial time, and the complex processing environment with many uncertain factors. Traditional methods such as mathematical methods can obtain accurate solutions to small-scale problems, but when solving large-scale problems, they cannot obtain the optimal solution within an acceptable time (polynomial time). Therefore, seeking an optimization method that is suitable for large-scale problems and does not depend on specific problems is the key to solving production scheduling problems. Research has shown that intelligent optimization methods have the advantages of fast solution speed, strong versatility, and independence from the problem itself. They can obtain satisfactory solutions with high accuracy through limited iterations, which largely overcomes the shortcomings of traditional methods. They have been widely studied by scholars and widely used in assembly line scheduling problems.
[0004] The hyper-heuristic algorithm is a general solution framework that adaptively selects optimizers to solve complex problems. It has the characteristics of a simple framework and few algorithm parameters. The hyper-heuristic framework consists of two layers, including a high-level control strategy and a set of low-level heuristics at the bottom. The high-level control strategy includes a heuristic selection mechanism and a solution acceptance criterion. The operation mechanism of the hyper-heuristic is to start from an initial solution, select a suitable low-level heuristic according to the heuristic selection mechanism, and then apply the heuristic to the current solution to generate a candidate solution. The solution acceptance mechanism determines whether to accept the candidate solution, and finally updates the selection probability of each low-level heuristic through feedback information. The hyper-heuristic algorithm is not limited to the limitations of specific problems. Since the high-level control strategy is well isolated from the underlying heuristic, the designer will focus on the design of the control strategy. For different optimization problems, analyzing the characteristics of the problem nature, obtaining knowledge to guide the validity search, avoiding invalid search, and then designing a knowledge-driven hyper-heuristic algorithm is a more reasonable and efficient solution idea. Therefore, the use of the hyper-heuristic algorithm to solve the distributed blocking flow shop scheduling problem has a certain research basis and advantages. Summary of the invention
[0005] The purpose of the present invention is to provide an integrated scheduling system for distributed assembly blocked flow shops in response to the problems existing in the prior art. A self-learning hyper-heuristic algorithm (SLHH) is used to solve the scheduling problem of distributed assembly blocked flow shops with the goal of minimizing the total tardiness (TTD) of assembly products. The algorithm can optimize the operating efficiency and performance of the distributed assembly blocked flow shop scheduling system.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] An integrated scheduling system for a distributed assembly blocked flow shop, characterized in that it comprises the following steps:
[0008] Step 1: Based on the rules extracted from the problem, construct the processing sequence of the workpieces in each workshop in the distributed assembly blocking flow workshop. The sequence is used to represent the processing process of the workpiece;
[0009] Step 2: Design a self-learning heuristic selection strategy to summarize the historical success rate of each low-level heuristic as knowledge to guide the selection of subsequent low-level heuristics;
[0010] Step 3: A low-level heuristic for adjusting the artifact sequence is designed.
[0011] Preferably, in step one, according to the ranking of the total processing time of each workpiece, in the distributed blocking flow shop, the processing sequence in each processing shop is constructed and generated with minimizing the total flow time of the assembled products as the optimization goal.
[0012] Preferably, in step two, based on the processing sequences in each factory provided in step one, combined with the workpiece composition, assembly start time, and assembly process time of each product, in the assembly factory, the assembly sequence in the assembly workshop is constructed with the optimization goal of minimizing the total flow time of the assembled products.
[0013] Preferably, in step three, a distributed assembly blocking flow shop scheduling sequence is generated based on the processing sequence and assembly sequence generated in the above steps one and two, so that the maximum flow time of the assembled products is optimized.
[0014] A computer-readable storage medium contains a computer program, which, when processed by a CPU, can implement method steps provided by a distributed assembly blocking flow shop integrated scheduling system based on a knowledge-driven method.
[0015] Compared with the prior art, the present invention has the following beneficial effects:
[0016] (1) The present invention defines an integer programming model for the distributed assembly blocking flow shop problem, quantitatively represents the rules extracted from the distributed blocking flow shop scheduling problem, and constructs a high-quality initial workpiece sequence.
[0017] (2) Using a self-learning based heuristic selection strategy, the historical success rate of each heuristic is summarized as knowledge to guide the algorithm to perform self-learning heuristic selection.
[0018] (3) Different low-level heuristics can effectively adjust the workpiece sequence of the processed workpieces to obtain a satisfactory scheduling sequence.
[0019] (4) The logic of the present invention is simple, easy to implement and easy to expand. The integrated system can be easily expanded to solve other scheduling problems in the field of intelligent manufacturing production. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a schematic diagram of Rule 1;
[0021] Figure 2 This is a schematic diagram of Rule 2;
[0022] Figure 3 This is a schematic diagram of Rule 3;
[0023] Figure 4 It is a schematic diagram of the workpiece allocation principle NRa;
[0024] Figure 5 It is the algorithm flow chart;
[0025] Figure 6 It is a schematic diagram based on the key plant insertion operation;
[0026] Figure 7 is a schematic diagram based on key plant exchange operations. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution 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.
[0028] Example 1
[0029] An integrated scheduling system for a distributed assembly blocked flow shop comprises the following steps:
[0030] Step 1: Based on the rules extracted from the problem, construct the processing sequence of the workpieces in each workshop in the distributed assembly blocking flow workshop. This sequence is used to represent the processing process flow of the workpieces; according to the sorting of the total processing time of each workpiece, in the distributed blocking flow workshop, minimize the total flow time of the assembly products as the optimization goal, and construct the processing sequence in each processing workshop.
[0031] Step 2: A self-learning heuristic selection strategy is designed to summarize the historical success rate of each low-level heuristic as knowledge to guide the selection of subsequent low-level heuristics; according to the processing sequences in each factory provided in step 1, combined with the workpiece composition, assembly start time, and assembly process time of each product, in the assembly factory, the assembly sequence in the assembly workshop is constructed with the optimization goal of minimizing the total flow time of the assembled products.
[0032] Step 3: A low-level heuristic for adjusting the workpiece sequence is designed; based on the processing sequence and assembly sequence generated in the above steps 1 and 2, a distributed assembly blocking flow shop scheduling sequence is generated to optimize the maximum flow time of the assembled products.
[0033] A computer-readable storage medium contains a computer program, which, when processed by a CPU, can implement method steps provided by a distributed assembly blocking flow shop integrated scheduling system based on a knowledge-driven method.
[0034] Example 2
[0035] Analyzing the characteristics of a problem is a necessary condition for constructing an efficient algorithm using the problem rules. Therefore, the characteristics of the distributed assembly blocking flow shop scheduling problem are explored. In this problem, the final product sequence is determined by the production process of the workpiece and the assembly process of the product. In addition, once all workpieces of the same product are processed in the processing plant, the assembly process of the product begins immediately. Inspired by the above characteristics, three rules are extracted from the distributed assembly blocking flow shop scheduling problem, and the representation of the rules is given:
[0036] Rule 1 states that in each processing plant, all workpieces of the same product should be processed together so that the start assembly time of the product can be as early as possible. The quantitative expression is as follows:
[0037]
[0038] If it belongs to product P h Workpiece J u At the kth position of factory f, the binary variable x u,k,f Take 1, if it belongs to product P h Workpiece J v At the k+1th position of factory f, the binary variable x v,k+1,f Take 1, that is, it belongs to product P h Workpiece J u and J v are assigned together for processing. The schematic diagram of rule 1 is as follows Figure 1 shown.
[0039] Rule 2 means that once all workpieces belonging to the same product have been processed in the processing plant, the assembly process begins immediately. The quantitative expression is as follows:
[0040] J P ={J P (1), J P (2), ..., J P (ii), ..., J P (S)}
[0041]
[0042]
[0043] Among them, J P represents the set of workpieces that are the last completed workpieces of all products, J P (h) indicates product P h The last completed workpiece. represents the assembly sequence of the product, represents the hth assembled product. The schematic diagram of Rule 2 is as follows Figure 2 shown.
[0044] Rule 3 indicates that workpieces belonging to the same product should be assigned to different factories for parallel processing, which helps to advance the start of assembly of the product. The quantitative expression is as follows:
[0045]
[0046] in, Indicates that it belongs to product P in factory f h The number of workpieces, n h Is the component product P h The number of workpieces, the schematic diagram of Rule 3 is as follows Figure 3 shown.
[0047] In the distributed assembly blocking flow shop scheduling problem, the scheduling of workpieces in the processing stage is greatly affected by the assembly stage. In order to start the assembly stage as early as possible, three rules are used to construct an effective scheduling sequence. First, the products are sorted in descending order according to the total processing time of all workpieces belonging to the same product. Then, the workpieces of the same product are sorted in descending order according to the total processing time of each workpiece. Secondly, the workpieces are assigned to various processing plants for processing. The workpiece allocation rule is as follows: Select the first f workpieces of the initial workpiece sequence and assign them to the first position of each factory in turn. Secondly, according to the NRa rule, the remaining workpieces are assigned to all processing plants.
[0048] NRa rules are as follows Figure 4 As shown. That is, take the workpieces out of the unscheduled workpiece sequence in turn and select the position with the smallest total flow time to insert. A special case needs to be considered when calculating the total flow time. Since the workpieces are to be assigned to the factory in turn, the number of workpieces that make up the product may be incomplete when calculating the assembly completion time. Therefore, the completion time of the last processed workpiece belonging to the current product is regarded as the start assembly time of the product. The construction heuristic algorithm is shown in Algorithm 1.
[0049]
[0050]
[0051] In the SLHH algorithm, a heuristic selection mechanism is used to select LLH. For the heuristic selection mechanism, the historical success rate of each LLH is summarized as knowledge to guide the algorithm to make heuristic selections. First, the selection probability of each LLH is initialized to an infinite positive number to ensure that each low-level heuristic can be selected. Therefore, it is necessary to convert the historical success rate into knowledge to guide the low-level heuristic self-learning selection. The description formula of knowledge is as follows:
[0052] srg (LLH i )=sn g (LLH i ) / t g (LLH i )
[0053]
[0054] Among them, t g (LLH i ) represents the running time of the ith low-level heuristic acting on the scheduling sequence during the past g iterations of LLH, sr g (LLH i ) is knowledge, ss g (LLH i ) represents the selection probability. Generally speaking, if the quality of the solution improves, the selection rate of LLH will increase. The heuristic selection mechanism is described in Algorithm 2.
[0055]
[0056]
[0057] Adopting a probability-based acceptance criterion to accept potential differential solutions helps to avoid the algorithm from falling into the local optimum, thus ensuring the diversity of the search. The algorithm of the acceptance mechanism is shown in Algorithm 3.
[0058]
[0059] According to the factory allocation rules in the initialization phase, the generated workpiece sequence is assigned to each factory. The initial solution is constructed by extracting rules from the distributed assembly blocking flow shop scheduling problem. In the heuristic selection mechanism, the selected low-level heuristic is applied to the current solution to generate a new solution. Then, the local search strategy is used to improve the algorithm's search ability. The selection of the entire low-level heuristic is an online learning process, and each step makes a decision based on the state of the solution. For the acceptance criterion, the inferior solution is accepted with a certain probability to avoid the algorithm from falling into the local optimum. The flowchart of the SLHH algorithm is as follows: Figure 5 shown.
[0060] When facing specific problems, the design of low-level heuristics also has an important impact on the hyper-heuristic algorithm. Therefore, six low-level heuristics are designed in this system. The following is an introduction to the low-level heuristics:
[0061] LLH1: Randomly select a workpiece from any factory, and then tentatively insert the workpiece into all positions of all factories. The position with the smallest total flow time is the insertion position of the workpiece.
[0062] LLH2: Multiple artifacts are randomly selected and removed from different factories, and then these artifacts are tentatively inserted into all positions of all factories in turn, and the best positions are selected in turn to insert these artifacts into each factory.
[0063] LLH3: For each factory, take out each workpiece of the factory in turn and insert it into all positions of the factory, and select the best position to insert the taken workpiece into the factory.
[0064] LLH4: For each factory, swap the positions of adjacent workpieces in the factory in turn to find the best position.
[0065] LLH5: Take out the workpieces from the key factories one by one, and then insert them into all the positions of the non-key factories, find the best position to insert the taken out workpieces into other factories, the operation process is as follows Figure 6 shown.
[0066] LLH6: Exchange the positions of all workpieces in the key factory and non-key factory in turn to find the best position. Figure 7 shown.
[0067] LLH6: Variable neighborhood descent method. The operation process is shown in Algorithm 4.
[0068]
[0069] The above are only preferred embodiments of the present invention and are 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. An integrated scheduling system for distributed assembly blocking flow workshops, characterized in that: The steps include: Step 1: Based on the rules extracted from the problem, construct the processing sequence of the workpieces in each processing workshop in the distributed assembly blocking flow workshop. The processing sequence is used to represent the processing process of the workpiece; according to the sorting of the total processing time of each workpiece, in the distributed blocking flow workshop, minimize the total flow time of the assembly product as the optimization goal, and construct the processing sequence in each processing workshop; Step 2: A self-learning heuristic selection strategy is designed to summarize the historical success rate of each low-level heuristic as knowledge to guide the selection of subsequent low-level heuristics; based on the processing sequences in each processing factory provided in step 1, combined with the workpiece composition, assembly start time, and assembly process time of each product, in the assembly factory, the assembly sequence in the assembly workshop is constructed with the optimization goal of minimizing the total flow time of the assembled products; Step 3: Design a low-level heuristic for adjusting the workpiece sequence; generate a distributed assembly blocking flow shop scheduling sequence based on the processing sequence and assembly sequence generated in steps 1 and 2 above, so that the maximum flow time of the assembled products is optimal; In step 1, in the distributed assembly blocking flow shop scheduling problem, the scheduling of workpieces in the processing stage is greatly affected by the assembly stage. In order to start the assembly stage as early as possible, three rules are used to construct an effective scheduling sequence; first, the products are sorted in descending order according to the total processing time of all workpieces belonging to the same product, and then the workpieces of the same product are sorted in descending order according to the total processing time of each workpiece; secondly, the workpieces are assigned to various processing plants for processing, and the workpiece allocation rule is as follows: select the first f workpieces of the initial workpiece sequence and assign them to the first position of each processing plant in turn; finally, according to the NRa rule, the remaining workpieces are assigned to all processing plants; Three rules are extracted from the distributed assembly blocking flow shop scheduling problem, and the representation of the rules is given: Rule 1 states that in each processing plant, all workpieces of the same product should be processed together so that the start assembly time of the product can be as early as possible. The quantitative expression is as follows: If it belongs to product P h Workpiece J u At the kth position of factory f, the binary variable x u,k,f Take 1, if it belongs to product P h Workpiece J v At the k+1th position of factory f, the binary variable x v,k+1,f Take 1, that is, it belongs to product P h Workpiece J u and J v were assigned together for processing; Rule 2 states that once all workpieces belonging to the same product have been processed in the processing plant, the assembly process begins immediately, which can be quantitatively expressed as follows: I P ={J P (1),J P (2),…,J P (ii),...,J P (S)} Among them, J P represents the set of workpieces that are the last completed workpieces of all products, J P (h) indicates product P h The last completed workpiece, represents the assembly sequence of the product, represents the hth assembled product; Rule 3 indicates that workpieces belonging to the same product should be assigned to different processing plants for parallel processing, which helps to advance the start of assembly of the product. The quantitative expression is as follows: in, Indicates that it belongs to product P in factory f h The number of workpieces, n h Is the component product P h The number of workpieces; The NRa rule is: that is, take the workpieces from the unscheduled workpiece sequence in sequence and select the position with the smallest total flow time to insert; because the workpieces need to be allocated to the factory in sequence, the number of workpieces constituting the product may be incomplete when calculating the assembly completion time, so the completion time of the last processed workpiece belonging to the current product is regarded as the start assembly time of the product; In step three, when facing specific problems, the design of low-level heuristics also has an important impact on the hyper-heuristic algorithm. Therefore, six low-level heuristics are designed in this system. The following is an introduction to the low-level heuristics: LLH1: Randomly select a workpiece from any factory, and then tentatively insert the workpiece into all positions of all factories. The position with the smallest total flow time is the insertion position of the workpiece. LLH2: Randomly select multiple artifacts and remove them from different factories, then tentatively insert these artifacts into all positions of all factories in turn, and select the best position to insert these artifacts into each factory in turn; LLH3: For each factory, take out each workpiece of the factory in turn and insert it into all positions of the factory, and select the best position to insert the taken workpiece into the factory; LLH4: For each factory, swap the positions of adjacent workpieces in the factory in turn to find the best position; LLH5: Take out the workpieces from the key factories one by one, and then insert them into all the positions of the non-key factories, and find the best position to insert the taken out workpieces into other factories; LLH6: Exchange the positions of all workpieces in the critical factory and non-critical factory in turn to find the best position.
2. A computer-readable storage medium comprising a computer program, which can implement the method steps provided in claim 1 when processed by a CPU.
