Flexible assembly job shop method, system and equipment with transport and preparation time

By constructing the FAJSP model and three-dimensional coding mechanism, combined with the intersection and DNS strategies, the transportation and preparation time of the flexible job shop are optimized, which solves the problem of transportation and preparation time not being considered in the scheduling optimization of the flexible job shop, and improves the accuracy and accuracy of scheduling. Production efficiency.

CN118778562APending Publication Date: 2024-10-15YUNNAN NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410745748.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing flexible job shop scheduling optimization methods fail to consider both workpiece transportation time and machine tool preparation time, resulting in inaccurate scheduling optimization results that cannot accurately reflect actual production conditions.

Method used

Using the flexible assembly workshop method with transportation and preparation time, by constructing the FAJSP model, the initial machine selection, operation sequence and assembly sequence are generated based on the three-dimensional coding mechanism, and iterative optimization is carried out through the preset intersection strategy and DNS strategy to find the optimal assembly Strategy.

Benefits of technology

It effectively solves the two-stage problem of transportation and preparation time in the flexible work workshop, improves the accuracy and production efficiency of scheduling optimization, and provides a more realistic production plan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778562A_ABST
    Figure CN118778562A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing methods, in particular to a flexible assembly workshop method, system and equipment with transportation and preparation time. According to the method, an FAJSP model is constructed according to preset constraint conditions of belt transportation and preparation time; generating an initial machine selection, an initial operation sequence and an initial assembly sequence of each product based on a three-dimensional coding mechanism; in the machine selection, randomly selecting a position to replace an available machine tool, and performing iterative operation on the operation sequence based on a preset cross strategy to obtain an iterative result; and according to a preset DNS strategy, performing an iteration operation on the iteration result to obtain an optimal solution of the FAJSP model, the optimal solution being an optimal assembly strategy. The two-stage FAJSP problem with transportation time and preparation time is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data processing methods, and in particular to methods, systems and equipment for a flexible assembly workshop with transportation and preparation time. Background Art

[0002] Compared with traditional job shops, flexible job shops have higher flexibility and can adapt to diverse production needs. In a flexible job shop, one machine can handle a variety of different processes, which makes production scheduling more complex but also more flexible.

[0003] Flexible job shop scheduling is the key to achieving high efficiency, high quality, high flexibility and low cost in enterprise production. However, when workpieces are processed in the flexible job shop and transported between various machine tools, how to scientifically and reasonably arrange the processing sequence and processing equipment of different types of workpieces, strengthen the coordinated scheduling between equipment, improve the production efficiency of workpieces, and reduce the line inventory of production lines are the focus of enterprise attention and the problems that need to be solved urgently in this field.

[0004] At present, the solution to the Flexible Job-shop Scheduling Problem (FJSP) does not take into account the workpiece transportation time and machine tool preparation time at the same time, but directly solves the scheduling optimization problem of the flexible job shop. This will lead to inaccurate final solution results that do not fit the actual situation. Such solution results cannot provide accurate reference for the production of enterprises.

[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0006] The main purpose of the present invention is to provide a flexible assembly workshop method with transportation and preparation time, aiming to solve the problem that the solution results of directly solving the scheduling optimization problem of the flexible workshop are inaccurate and do not fit the actual situation.

[0007] To achieve the above object, the present invention provides a flexible assembly workshop method with transportation and preparation time, the flexible assembly workshop method with transportation and preparation time comprising the following steps:

[0008] The FAJSP model is constructed according to the preset constraints with transportation and preparation time;

[0009] Based on the 3D coding mechanism, generate the initial machine selection, initial operation sequence, and initial assembly order of each product;

[0010] In the machine selection, a position is randomly selected to replace an available machine tool, and based on a preset crossover strategy, an iterative operation is performed on the operation sequence to obtain an iterative result;

[0011] According to the preset DNS strategy, an iterative operation is performed on the iterative result to obtain the optimal solution of the FAJSP model, and the optimal solution is the optimal assembly strategy.

[0012] Optionally, the preset constraint condition includes:

[0013] The first constraint condition constrains the process to select a machine tool from the set of processable machine tools;

[0014] The second constraint is that after the transportation and preparation time, the next process must be carried out after the previous process is completed;

[0015] The third constraint is to constrain the minimum start time of the assembly phase;

[0016] The fourth constraint condition constrains the assembly order of products corresponding to each product number;

[0017] The fifth constraint is to constrain the maximum assembly completion time.

[0018] Optionally, the operation sequence includes a first operation vector and a second operation vector, the first operation vector represents the processing order of each part, and the second vector represents the product corresponding to each part.

[0019] Optionally, the step of generating an initial machine selection, an initial operation sequence, and an initial assembly sequence of each product based on the three-dimensional coding mechanism includes:

[0020] Obtaining the initial machine selection based on a global selection algorithm, a local selection algorithm, and a random selection algorithm;

[0021] Based on a random generation algorithm, obtaining the initial operation sequence;

[0022] According to the operation sequence, the initial assembly sequence of each product is generated.

[0023] Optionally, the step of performing an iterative operation on the operation sequence based on a preset crossover strategy includes:

[0024] Randomly select one of the operation sequences as the second parent generation, and cross it with the operation sequence as the first parent generation;

[0025] Randomly generate a binary code string, the length of which is equal to the number of parts of all products;

[0026] Copy the gene with a value of 1 in the first parent generation to the first offspring, and copy the gene with a value of 1 in the second parent generation to the second offspring;

[0027] After removing the genes in the first parent generation that are copied to the second offspring, sequentially copying the remaining genes in the first parent generation to the second offspring;

[0028] After removing the genes in the second parent generation that were copied to the first offspring, the remaining genes in the second parent generation are copied to the first offspring in sequence.

[0029] Optionally, the step of performing an iterative operation on the iterative result according to a preset DNS strategy to obtain an optimal solution of the FAJSP model includes:

[0030] Performing TPIV neighborhood construction on the iteration result;

[0031] If a dominant solution is obtained, the archive set is updated;

[0032] Otherwise, executing the IGS-I neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set;

[0033] Otherwise, executing the IGS-II neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set;

[0034] Otherwise, executing the TPIS neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set;

[0035] Otherwise, OPR neighborhood construction is performed.

[0036] Optionally, after the step of performing an iterative operation on the iterative result according to a preset DNS strategy to obtain the optimal solution of the FAJSP model, the method further includes:

[0037] Randomly select a high-quality solution from a file set, wherein the file set stores at least two high-quality solutions in one run;

[0038] Based on the high-quality solution, the TPIS neighborhood structure is performed at least twice to replace the optimal assembly strategy that exceeds a predetermined number of experiments.

[0039] In addition, to achieve the above-mentioned purpose, the present invention also provides a flexible assembly workshop system with transportation and preparation time, the system comprising:

[0040] Model building module, used to build FAJSP model according to preset constraints with transportation and preparation time;

[0041] An initialization module is used to generate the initial machine selection, initial operation sequence, and initial assembly sequence of each product based on the 3D coding mechanism;

[0042] A crossover iteration module, used for randomly selecting a position from the machine selection, replacing an available machine tool, and performing an iterative operation on the operation sequence based on a preset crossover strategy to obtain an iterative result;

[0043] The DNS iteration module is used to perform an iterative operation on the iteration result according to a preset DNS strategy to obtain an optimal solution of the FAJSP model, where the optimal solution is the optimal assembly strategy.

[0044] In addition, to achieve the above-mentioned objectives, the present invention also provides a flexible assembly workshop equipment with transportation and preparation time, wherein the flexible assembly workshop equipment with transportation and preparation time includes a memory, a processor, and a flexible assembly workshop program with transportation and preparation time stored in the memory and executable on the processor, wherein the flexible assembly workshop program with transportation and preparation time implements the steps of the flexible assembly workshop method with transportation and preparation time as described above when executed by the processor.

[0045] The embodiment of the present invention provides a flexible assembly workshop method with transportation and preparation time, and constructs a FAJSP model that conforms to the actual production environment according to preset constraints. These constraints include machine tool selection, process sequence, start time of assembly phase, assembly sequence corresponding to product number, and maximum assembly completion time, so that the model is closer to the actual production situation. Then, the initial machine selection, operation sequence and product assembly sequence are generated based on the three-dimensional coding mechanism. This method effectively represents the complexity of the problem and provides a basis for subsequent optimization algorithms. Then, the operation sequence is iterated by the preset cross strategy, and further iteration based on the DNS strategy can continuously explore and utilize the search space to find improved solutions. This method of combining different strategies improves the diversity and efficiency of search. In the iterative process, the high-quality solution is saved by updating the archive set, and when necessary, a variety of neighborhood structures are used for searching, which enhances the ability of the algorithm to jump out of the local optimum and explore new solutions. In particular, the multiple executions of the TPIS neighborhood structure help to continue to seek possible improvements after finding the potential optimal solution. In other words, the two-stage FAJSP problem with transportation and preparation time is effectively solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the specification are used to explain the principles of the present invention. In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0047] Figure 1 It is a schematic diagram of the architecture of the hardware operating environment of the flexible assembly workshop equipment with transportation and preparation time involved in the embodiment of the present invention;

[0048] Figure 2 It is a flow chart of a first embodiment of a flexible assembly workshop method with transportation and preparation time of the present invention;

[0049] Figure 3 This is an example diagram of the three-dimensional encoding of the flexible assembly workshop method with transportation and preparation time of the present invention.

[0050] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] The present application discloses a flexible assembly workshop method with transportation and preparation time, which constructs a FAJSP model according to preset constraints with transportation and preparation time; generates initial machine selection, initial operation sequence, and initial assembly sequence of each product based on a three-dimensional coding mechanism; randomly selects a position in the machine selection, replaces an available machine tool, and performs iterative operations on the operation sequence based on a preset crossover strategy to obtain an iterative result; performs iterative operations on the iterative result according to a preset DNS strategy to obtain the optimal solution of the FAJSP model, and the optimal solution is the optimal assembly strategy. The two-stage FAJSP problem with transportation and preparation time is effectively solved.

[0052] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0053] As an implementation plan, Figure 1 The schematic diagram of the architecture of the hardware operating environment of the flexible assembly workshop equipment with transportation and preparation time involved in the embodiment of the present invention.

[0054] like Figure 1 As shown, the flexible assembly workshop equipment with transportation and preparation time may include: a processor 101, for example, a memory 102, and a communication bus 103. Among them, the memory 102 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 102 may optionally be a storage device independent of the aforementioned processor 101. The communication bus 103 is used to realize the connection and communication between these components.

[0055] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the flexible assembly workshop equipment with transportation and preparation time, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0056] like Figure 1 As shown, the memory 102 as a computer-readable storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a flexible assembly job shop program with transportation and preparation time.

[0057] exist Figure 1 In the flexible assembly workshop equipment with transportation and preparation time shown in the figure, the processor 101 and the memory 102 can be set in the flexible assembly workshop equipment with transportation and preparation time. The flexible assembly workshop equipment with transportation and preparation time calls the flexible assembly workshop program with transportation and preparation time stored in the memory 102 through the processor 101, and performs the following operations:

[0058] The FAJSP model is constructed according to the preset constraints with transportation and preparation time;

[0059] Based on the 3D coding mechanism, generate the initial machine selection, initial operation sequence, and initial assembly order of each product;

[0060] In the machine selection, a position is randomly selected to replace an available machine tool, and based on a preset crossover strategy, an iterative operation is performed on the operation sequence to obtain an iterative result;

[0061] According to the preset DNS strategy, an iterative operation is performed on the iterative result to obtain the optimal solution of the FAJSP model, and the optimal solution is the optimal assembly strategy.

[0062] In one embodiment, the processor 101 may be used to call the flexible assembly shop program with transportation and preparation time stored in the memory 102, and perform the following operations:

[0063] The first constraint condition constrains the process to select a machine tool from the set of processable machine tools;

[0064] The second constraint is that after the transportation and preparation time, the next process must be carried out after the previous process is completed;

[0065] The third constraint is to constrain the minimum start time of the assembly phase;

[0066] The fourth constraint condition constrains the assembly order of products corresponding to each product number;

[0067] The fifth constraint is to constrain the maximum assembly completion time.

[0068] In one embodiment, the processor 101 may be used to call the flexible assembly shop program with transportation and preparation time stored in the memory 102, and perform the following operations:

[0069] Obtaining the initial machine selection based on a global selection algorithm, a local selection algorithm, and a random selection algorithm;

[0070] Based on a random generation algorithm, obtaining the initial operation sequence;

[0071] According to the operation sequence, the initial assembly sequence of each product is generated.

[0072] In one embodiment, the processor 101 may be used to call the flexible assembly shop program with transportation and preparation time stored in the memory 102, and perform the following operations:

[0073] Randomly select one of the operation sequences as the second parent generation, and cross it with the operation sequence as the first parent generation;

[0074] Randomly generate a binary code string, the length of which is equal to the number of parts of all products;

[0075] Copy the gene with a value of 1 in the first parent generation to the first offspring, and copy the gene with a value of 1 in the second parent generation to the second offspring;

[0076] After removing the genes in the first parent generation that are copied to the second offspring, sequentially copying the remaining genes in the first parent generation to the second offspring;

[0077] After removing the genes in the second parent generation that were copied to the first offspring, the remaining genes in the second parent generation are copied to the first offspring in sequence.

[0078] In one embodiment, the processor 101 may be used to call the flexible assembly shop program with transportation and preparation time stored in the memory 102, and perform the following operations:

[0079] Performing TPIV neighborhood construction on the iteration result;

[0080] If a dominant solution is obtained, the archive set is updated;

[0081] Otherwise, executing the IGS-I neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set;

[0082] Otherwise, executing the IGS-II neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set;

[0083] Otherwise, executing the TPIS neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set;

[0084] Otherwise, OPR neighborhood construction is performed.

[0085] In one embodiment, the processor 101 may be used to call the flexible assembly shop program with transportation and preparation time stored in the memory 102, and perform the following operations:

[0086] Randomly select a high-quality solution from a file set, wherein the file set stores at least two high-quality solutions in one run;

[0087] Based on the high-quality solution, the TPIS neighborhood structure is performed at least twice to replace the optimal assembly strategy that exceeds a predetermined number of experiments.

[0088] Based on the hardware architecture of the above-mentioned flexible assembly workshop equipment with transportation and preparation time, an embodiment of the flexible assembly workshop method with transportation and preparation time of the present invention is proposed.

[0089] Reference Figure 2 In a first embodiment, the flexible assembly shop method with transport and preparation time comprises the following steps:

[0090] Step S100: constructing a FAJSP (Flexible Assembly Job-Shop Scheduling Problem) model according to preset constraints with transportation and preparation time.

[0091] In this embodiment, two important stages are embedded in the FAJSP model.

[0092] The first stage is a classic n×m FJSP (Flexible Job-shop Scheduling Problem), with n jobs J = {J1, J2, ..., J n} In m machine tools M={M1,M2,...,M m}, each workpiece J j ∈J has an operation sequence O j = {O j,1 ,O j,2 ,...,O j,l},O j,l Workpiece J j The first process of each process O j,l In the optional machine tool set Any machine tool M i The processing time is P j,1,i Depends on the machine tool being processed.

[0093] In the second stage, n workpieces are assembled into pr products P = {P1, P2, ..., P pr}. Each product P p By N p Workpieces, satisfying Product P p Requires N p The assembly of a workpiece begins after the first stage of processing is completed. If two consecutive operations on the same machine tool belong to two different workpieces, preparation time is required. In addition, the transportation of workpieces between machine tools also consumes energy and time, which is the maximum assembly completion time and total energy consumption.

[0094] It should be noted that the FAJSP model here meets 6 assumptions. First, each machine tool can only process one process at a time; second, the processing time and assembly time are fixed, and the demand for the final product is specified in advance; third, the processing and assembly stages are independent of each other, and assembly can only be carried out after all processes of the same product have been processed; fourth, all machine tools are continuously available without interruption; fifth, different processes have different preparation times. If the operation of a workpiece is processed continuously on the same machine tool, the preparation time is 0; sixth, if two processes of a workpiece are processed on the same machine tool, the transportation time is 0.

[0095] Optionally, the preset constraints include: a first constraint, which constrains the process to select a machine tool from a set of processable machine tools; a second constraint, which constrains the next process to be carried out after the transportation and preparation time, and the previous process is completed; a third constraint, which constrains the minimum start time of the assembly phase; a fourth constraint, which constrains the assembly sequence of products corresponding to each product number; and a fifth constraint, which constrains the maximum assembly completion time.

[0096] Furthermore, the preset constraints may also include: a sixth constraint, which constrains each process to be assigned to one machine tool as much as possible; a seventh constraint, which constrains that if a process of a workpiece is processed on one machine tool, the previous process of the workpiece is processed on another machine tool; an eighth constraint, which constrains that each machine tool can only process one process at a time; a ninth constraint, which constrains the completion time of the product; a tenth constraint, which constrains the predecessor and successor restrictions of the product; an eleventh constraint, which constrains the total energy consumption of the optimization target; a twelfth constraint, which constrains the continuous variable to take a positive value; and a thirteenth constraint, which constrains the variable value.

[0097] For example, i represents the machine tool number, i=1,2,...,m; s,p represent the product number, s,p=1,2,...,pr; j,h represent the workpiece number, j,h=1,2,...,n; l,z represent the operation number; f,k represent the position number of the machine tool; n represents the total number of workpieces; m represents the total number of machines; pr represents the total number of products; n represents the total number of j represents the number of processes of workpiece j; O j,l represents the lth process of workpiece j; P j,l,i Indicates process O j,l The processing time on machine tool i is expressed as S i,h,j represents the preparation time of workpiece j and workpiece h on machine tool i; SP p,s represents the preparation time between product p and product s; T j,k,i represents the transportation time of workpiece j from machine tool k to machine tool i; Ap represents the assembly time of product p; UEC j,l,i Indicates process O j,l Unit energy consumption of machining on machine tool i; using AEC p represents the assembly energy consumption of product p; EC j represents the total energy consumption of workpiece j; C j,l Indicates process O j,l Processing completion time; use ST p Indicates the start assembly time of product p; CA p represents the assembly completion time of product p; TEC represents the total energy consumption; C max represents the maximum assembly completion time; M represents a large positive number; X j,l,h,z Indicates when Oj,l In O h,z After processing, it is 1, otherwise it is 0; use Y j,l,i,k Indicates when O j,l Processing on machine tool i, O j,l-1 When processing on machine tool k, it is 1, otherwise it is 0; j,p It means that when workpiece j is a part of product p, it is 1, otherwise it is 0; s,p It is 1 if product s is assembled before product p, and 0 otherwise.

[0098] The optimization objective of the FAJSP model is expressed as Min{C max ,TEC}, then the first constraint is expressed as The second constraint is expressed as The third constraint is expressed as The fourth constraint is expressed as The fifth constraint is expressed as The sixth constraint is expressed as The seventh constraint is expressed as The eighth constraint is expressed as

[0099] The ninth constraint is expressed as The tenth constraint is expressed as The eleventh constraint is expressed as The twelfth constraint is expressed as The thirteenth constraint is expressed as X j,l,h,z ,Y j,l,i,k ∈{0,1}.

[0100] The purpose of doing so is to give the FAJSP model two characteristics. First, parts are produced in a decentralized manner and products are assembled in a centralized manner. Second, the assembly process begins immediately after all parts belonging to the same product are completed in the processing stage.

[0101] Step S200: Based on the three-dimensional coding mechanism, generate the initial machine selection, the initial operation sequence, and the initial assembly sequence of each product.

[0102] In this embodiment, the machine selection (MS) is the machine tool assigned to each part record. The operation sequence (OS) includes a first operation vector and a second operation vector. The first operation vector represents the processing order of each part, and the second vector represents the product corresponding to each part. That is, OS consists of the first operation vector and the second operation vector. It should be noted that in the first operation vector, each symbol indicating a workpiece is repeated n times. jtimes; the second operation vector corresponds to the first operation vector; the lengths of the first operation vector and the second operation vector are both ∑ j n =1 n j The assembly order of each product is the product allocation (ProductArrangement, PA)

[0103] For example, Figure 3 As shown in the figure, there are 5 machine tools, 7 workpieces and 2 products. The parts of products P1 and P2 are {J2, J3, J5}, {J1, J4, J6, J7} respectively. In MS, the second number is 3, which means O 1,2 The third machine is assigned to the optional machine set. For OS, the first scheduled operation is O, which belongs to product P2. 6,1 , the last operation is O 7,2 , the first number in PA is 1, meaning product P1 is assembled first.

[0104] Understandably, when decoded, the OS is converted into a series of operations, each of which is assigned to a selected machine tool.

[0105] Specifically, based on the three-dimensional coding mechanism, the steps of generating the initial machine selection, the initial operation sequence, and the initial assembly order of each product include: obtaining the initial machine selection based on a global selection algorithm, a local selection algorithm, and a random selection algorithm; obtaining the initial operation sequence based on a random generation algorithm; and generating the initial assembly order of each product according to the operation sequence.

[0106] In this embodiment, the purpose of using a three-dimensional coding mechanism is to avoid generating infeasible solutions.

[0107] Step S300: In the machine selection, a position is randomly selected to replace an available machine tool, and based on a preset crossover strategy, an iterative operation is performed on the operation sequence to obtain an iterative result.

[0108] In this embodiment, based on a preset crossover strategy, the step of performing iterative operations on the operation sequence includes randomly selecting one of the operation sequences as the second parent generation and crossing it with the operation sequence as the first parent generation; then, randomly generating a binary code string, the length of which is equal to the number of parts of all products; then, copying the genes with a value of 1 in the first parent generation to the first child generation, and copying the genes with a value of 1 in the second parent generation to the second child generation; then, after removing the genes in the first parent generation copied to the second child generation, copying the remaining genes in the first parent generation to the second child generation in sequence; and, after removing the genes in the second parent generation copied to the first child generation, copying the remaining genes in the second parent generation to the first child generation in sequence.

[0109] Step S400: performing an iterative operation on the iterative result according to a preset DNS (Dynamic Neighbor Selection strategy) strategy to obtain an optimal solution of the FAJSP model, where the optimal solution is the optimal assembly strategy.

[0110] In this embodiment, according to the preset DNS strategy, the iteration operation is performed on the iteration result, and the step of obtaining the optimal solution of the FAJSP model includes: executing a TPIV (two-point inversion) neighborhood structure on the iteration result; if a dominant solution is obtained, updating the archive set; otherwise, executing an IGS-I (intra-group swap) neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set; if the dominant solution is not obtained after executing the IGS-I neighborhood structure, executing an IGS-II (inter-group swap) neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set; if the dominant solution is not obtained after executing the IGS-II neighborhood structure, executing a TPIS (two-point insertion) neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set; if the dominant solution is not obtained after executing the TPIS neighborhood structure, executing an OPR (one-point reassign) neighborhood structure.

[0111] In one embodiment, TPIV is applied to OS and PA vectors. Specifically, first, two different positions in OS are randomly selected, and then the genes between the two positions are inverted one by one, and the corresponding genes in PA are changed at the same time; IGS-I exchanges two different operations in the same group; IGS-II randomly selects two different products and exchanges the processes at corresponding positions; TPIS randomly selects a gene at one position in OS and inserts it into another random position; OPR randomly selects a position in OS and then reallocates a machine tool in the optional machine tool set.

[0112] In this embodiment, the purpose of adopting the DNS strategy is to achieve dynamic adjustment from neighborhood structure to neighborhood structure to ensure that each iteration can move in a better direction.

[0113] Furthermore, after performing an iterative operation on the iterative result according to a preset DNS strategy to obtain the optimal solution of the FAJSP model, the method further includes randomly selecting a high-quality solution from an archive set, wherein the archive set stores at least two high-quality solutions in one run; then, based on the high-quality solution, executing the TPIS neighborhood structure at least twice to replace the optimal assembly strategy that exceeds a predetermined number of experiments. The purpose of this is to ensure the effectiveness of the optimal assembly strategy.

[0114] In the technical solution provided in this embodiment, a FAJSP model that conforms to the actual production environment is constructed according to preset constraints. These constraints include machine tool selection, process sequence, start time of the assembly stage, assembly sequence corresponding to the product number, and maximum assembly completion time, etc., so that the model is closer to the actual production situation. Then, the initial machine selection, operation sequence and product assembly sequence are generated based on the three-dimensional coding mechanism. This method effectively represents the complexity of the problem and provides a basis for subsequent optimization algorithms. Then, the operation sequence is iterated by the preset cross strategy, and further iteration based on the DNS strategy can continuously explore and utilize the search space to find improved solutions. This method of combining different strategies improves the diversity and efficiency of the search. In the iterative process, the high-quality solution is saved by updating the archive set, and when necessary, a variety of neighborhood structures are searched, which enhances the ability of the algorithm to jump out of the local optimum and explore new solutions. In particular, the multiple executions of the TPIS neighborhood structure help to continue to seek possible improvements after finding the potential optimal solution. In other words, the two-stage FAJSP problem with transportation and preparation time is effectively solved.

[0115] In addition, it can be understood by a person skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the flexible assembly workshop equipment with transportation and preparation time to implement the process steps of the embodiment of the above method.

[0116] Therefore, the present invention also provides a computer-readable storage medium, which stores a flexible assembly job workshop program with transportation and preparation time. When the flexible assembly job workshop program with transportation and preparation time is executed by a processor, the various steps of the flexible assembly job workshop method with transportation and preparation time described in the above embodiment are implemented.

[0117] The computer-readable storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which may store program codes.

[0118] It should be noted that since the storage medium provided in the embodiment of the present application is the storage medium used to implement the method of the embodiment of the present application, based on the method introduced in the embodiment of the present application, the person skilled in the art can understand the specific structure and deformation of the storage medium, so it is not repeated here. All storage media used in the method of the embodiment of the present application belong to the scope of protection of this application.

[0119] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0120] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0121] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0123] It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second and third etc. does not indicate any order. These words may be interpreted as names.

[0124] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0125] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A flexible assembly shop method with transport and preparation time, characterized in that: The method comprises: The FAJSP model is constructed according to the preset constraints with transportation and preparation time; Based on the 3D coding mechanism, generate the initial machine selection, initial operation sequence, and initial assembly order of each product; In the machine selection, a position is randomly selected to replace an available machine tool, and based on a preset crossover strategy, an iterative operation is performed on the operation sequence to obtain an iterative result; According to the preset DNS strategy, an iterative operation is performed on the iterative result to obtain the optimal solution of the FAJSP model, and the optimal solution is the optimal assembly strategy.

2. The method according to claim 1, characterized in that The preset constraints include: The first constraint condition constrains the process to select a machine tool from the set of processable machine tools; The second constraint is that after the transportation and preparation time, the next process must be carried out after the previous process is completed; The third constraint is to constrain the minimum start time of the assembly phase; The fourth constraint condition constrains the assembly order of products corresponding to each product number; The fifth constraint is to constrain the maximum assembly completion time.

3. The method according to claim 1, characterized in that The operation sequence includes a first operation vector and a second operation vector, wherein the first operation vector represents the processing order of each part, and the second vector represents the product corresponding to each part.

4. The method according to claim 1, characterized in that The steps of generating the initial machine selection, the initial operation sequence, and the initial assembly sequence of each product based on the three-dimensional coding mechanism include: Obtaining the initial machine selection based on a global selection algorithm, a local selection algorithm, and a random selection algorithm; Based on a random generation algorithm, obtaining the initial operation sequence; According to the operation sequence, the initial assembly sequence of each product is generated.

5. The method according to claim 1, characterized in that The step of performing iterative operations on the operation sequence based on a preset crossover strategy comprises: Randomly select one of the operation sequences as the second parent generation, and cross it with the operation sequence as the first parent generation; Randomly generate a binary code string, the length of which is equal to the number of parts of all products; Copy the gene with a value of 1 in the first parent generation to the first offspring, and copy the gene with a value of 1 in the second parent generation to the second offspring; After removing the genes in the first parent generation that are copied to the second offspring, sequentially copying the remaining genes in the first parent generation to the second offspring; After removing the genes in the second parent generation that were copied to the first offspring, the remaining genes in the second parent generation are copied to the first offspring in sequence.

6. The method according to claim 1, characterized in that The step of performing an iterative operation on the iterative result according to the preset DNS strategy to obtain the optimal solution of the FAJSP model includes: Performing TPIV neighborhood construction on the iteration result; If a dominant solution is obtained, the archive set is updated; Otherwise, executing the IGS-I neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set; Otherwise, executing the IGS-II neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set; Otherwise, executing the TPIS neighborhood structure, and when the dominant solution is obtained, executing the step of updating the archive set; Otherwise, OPR neighborhood construction is performed.

7. The method according to claim 1, characterized in that After the step of performing an iterative operation on the iterative result according to the preset DNS strategy to obtain the optimal solution of the FAJSP model, the method further includes: Randomly select a high-quality solution from a file set, wherein the file set stores at least two high-quality solutions in one run; Based on the high-quality solution, the TPIS neighborhood structure is performed at least twice to replace the optimal assembly strategy that exceeds a predetermined number of experiments.

8. A flexible assembly workshop system with transport and preparation time, characterized in that: The system comprises: Model building module, used to build FAJSP model according to preset constraints with transportation and preparation time; An initialization module is used to generate the initial machine selection, initial operation sequence, and initial assembly sequence of each product based on the 3D coding mechanism; A crossover iteration module, used for randomly selecting a position from the machine selection, replacing an available machine tool, and performing an iterative operation on the operation sequence based on a preset crossover strategy to obtain an iterative result; The DNS iteration module is used to perform an iterative operation on the iteration result according to a preset DNS strategy to obtain an optimal solution of the FAJSP model, where the optimal solution is the optimal assembly strategy.

9. A flexible assembly workshop equipment with transportation and preparation time, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the flexible assembly workshop method with transportation and preparation time as claimed in any one of claims 1 to 7.