Distributed assembly flow shop scheduling method and system with order rejection characteristic

By optimizing the scheduling of the distributed assembly line workshop using the KDNSGAII algorithm, the problems of order rejection and blocking constraints were solved, resulting in optimized production efficiency and energy consumption, and improved enterprise profits.

CN118963255APending Publication Date: 2024-11-15QINGDAO HENGXING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies fail to effectively consider order rejection characteristics, blocking constraints, and setting time constraints in distributed assembly line scheduling, resulting in high production costs, high energy consumption, and insufficient profits.

Method used

The knowledge-driven NSGAII algorithm (KDNSGAII) is adopted. By combining one-dimensional vector encoding, multiple initialization methods and genetic operations with a local search strategy, the scheduling model of the distributed assembly line workshop is optimized to minimize the completion time, total energy consumption and maximize revenue.

Benefits of technology

It improved production efficiency, reduced energy consumption, increased total revenue, optimized the utilization of workshop resources, and enhanced the company's competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963255A_ABST
    Figure CN118963255A_ABST
Patent Text Reader

Abstract

The invention discloses a distributed assembly flow shop scheduling method and system with order rejection characteristics, and belongs to the technical field of workshop production scheduling. The method comprises the following steps: acquiring workshop data of a distributed assembly flow workshop; establishing constraint conditions according to the workshop data, wherein the constraint conditions comprise a blocking constraint and a setting time constraint; establishing a workshop production assembly scheduling model according to the constraint conditions; the production assembly scheduling model aims to minimize the completion time, the total energy consumption and maximize the total income; according to a KDNSGAII algorithm, carrying out optimization solution on the production assembly model to obtain an optimal scheme of a production assembly workshop; and scheduling workpieces and products in the workshop based on the optimal scheme of the production assembly workshop. The system comprises a data acquisition module, a constraint condition establishment module, a production assembly scheduling model establishment module and a scheduling module. According to the method, the order rejection characteristic is considered, the production assembly model is established, optimization solution is performed, the algorithm performance is improved, and the method is better applied to workshop scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of workshop production scheduling, and in particular relates to a distributed assembly flow workshop scheduling method and system with order rejection characteristics. Background Art

[0002] The statements in this section merely provide relevant background technology and do not necessarily constitute prior art.

[0003] As a typical scheduling problem in manufacturing, the shop scheduling problem is widely present in actual industrial production. Different types of scheduling problems are derived based on different production environments, including flowshop scheduling problem (FSP), hybrid flowshop scheduling problem (Hybrid Flowshop Scheduling, HFS), flexible jobshop scheduling problem (FJSP) and jobshop scheduling problem (JSP).

[0004] With the globalization of manufacturing, distributed scheduling problems have received more and more attention. As a result, distributed flowshop scheduling problem (DFSP), distributed blocking flow shop scheduling problem (DBFSP), distributed assembly permutation flowshop scheduling problem (DAPFSP), distributed mixed no-idlepermutation flowshop scheduling problem (DMNIPFSP), and distributed assembly flexible job-shop scheduling problem (DAFJSP) have emerged.

[0005] In the context of Industry 4.0, manufacturing is gradually shifting from mass production to mass customization, reducing waste and energy consumption. The problem of order acceptance and scheduling (OAS) has attracted increasing attention. These decisions involve deciding which orders to accept and which to reject, considering the trade-off between revenue generation and resource requirements. Accepting orders may cause delays in other work, resulting in penalty costs or the need to provide price discounts. However, current research mainly considers accepting all arriving orders, while rejecting unreasonable orders is beneficial to obtaining higher profits and reducing energy consumption due to the limitations of actual processing capacity and unreasonable order delivery time.

[0006] The general FSP assumes that there is an infinite buffer between machine tools, that is, a workpiece can be released from the current machine tool immediately after processing on the current machine tool. However, due to space and storage capacity limitations, there is usually a limited buffer in some distributed manufacturing systems. When a job is processed on a machine, it is a challenge to find additional space to store the job. Therefore, a bufferless mode is adopted, that is, when a machine is not available, the processing operation must stay on the previous machine and wait for the machine to become available. In a real manufacturing environment, due to specific characteristics (i.e., shape, weight, size, etc.), the equipment performs different operations, and a setup process (Sequence-dependent Setup Time, SDST) is necessary. The distributed assembly flow shop scheduling problem is an extension of the distributed flow shop scheduling problem. The collaborative production mode of the processing stage and the assembly stage can not only shorten the production cycle of the product and reduce the production cost of the enterprise, but also effectively reduce the operating risk of the enterprise and further enhance the core competitiveness of the enterprise.

[0007] Order receiving and scheduling has become a research hotspot in many fields such as green manufacturing and green management. However, there are still the following limitations: (1) Most studies only consider the processing process and ignore the problem of collaborative production between production and assembly; (2) They do not consider the constraints with practical significance such as the limited storage idle time and machine setup time in each factory. To this end, this paper takes distributed assembly as the research background, considers the order rejection characteristics, blocking constraints and setup time constraints, and proposes a distributed assembly flowshop scheduling problem with order rejection characteristics (DAFSPOR) with the goal of minimizing completion time, total energy consumption, and maximizing total revenue. Summary of the invention

[0008] For DAFSPOR, a knowledge-driven Non-dominated Sorting Genetic Algorithm-II (KDNSGAII) is designed to solve it. Firstly, the characteristics of DAFSPOR are analyzed, and three properties of the problem are given. Based on the properties, a one-dimensional vector encoding method is designed, which contains the following information: the set of accepted orders, the order of workpiece processing, the order assembly order, the workpiece processing speed and the order assembly speed. Secondly, three initialization methods are proposed based on the knowledge of the problem to generate a high-quality and diverse population. Then, a variety of genetic operations are proposed to increase the diversity of individuals in the population. Finally, an exchange local search strategy and two destructive reinsertion methods based on the order and workpiece sequence length are proposed to improve the search ability of the algorithm.

[0009] To achieve the above objectives, the present application provides, on one hand, a distributed assembly flow shop scheduling method with order rejection characteristics, comprising the following steps:

[0010] Obtaining workshop data of distributed assembly flow workshops;

[0011] Establishing constraint conditions according to the workshop data, wherein the constraint conditions include blocking constraints and setting time constraints;

[0012] Establish a production and assembly scheduling model for the workshop based on the constraints; the goal of the production and assembly scheduling model is to minimize the completion time, total energy consumption and maximize the total revenue;

[0013] According to the KDNSGAII algorithm, the production assembly model is optimized and solved to obtain the optimal solution for the production assembly workshop; and the workpieces and products in the workshop are scheduled based on the optimal solution for the production assembly workshop.

[0014] On the other hand, a distributed assembly flow shop scheduling system with order rejection feature is provided, including:

[0015] A data acquisition module is configured to: acquire basic data, wherein the basic data is workshop data of a distributed assembly flow workshop;

[0016] A constraint condition establishment module, which is configured to: establish constraint conditions according to the shop floor data, taking into account order rejection characteristics, the constraint conditions including blocking constraints and setting time constraints;

[0017] A production assembly scheduling model establishment module is configured to: establish a production assembly scheduling model of a workshop according to constraint conditions; the goal of the production assembly scheduling model is to minimize the maximum completion time of all workshops, minimize the total energy consumption of all workshops and maximize the revenue of all orders;

[0018] The scheduling module is configured to: optimize and solve the production assembly scheduling model according to KDNSGAII to obtain the optimal production plan of the workshop; and schedule the workpieces and products in the workshop based on the optimal production plan of the workshop.

[0019] The present application provides an electronic device having the following components: one or more processors, one or more memories, and one or more computer programs. The processor is connected to the memory, and the computer program is stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that when the electronic device executes the program, the steps of any one of the above-mentioned distributed assembly flow shop scheduling methods with order rejection characteristics are implemented.

[0020] The present application provides a computer-readable storage medium for storing computer instructions. When a processor executes these computer instructions, the steps of any one of the above-mentioned distributed assembly flow shop scheduling methods with order rejection characteristics are implemented.

[0021] The present application also provides a computer program (product), which includes a set of computer programs. When running on one or more processors, the computer program is used to implement the steps of any of the above-mentioned distributed assembly flow shop scheduling methods with order rejection characteristics.

[0022] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0024] Figure 1 It is a flow chart of the overall method of the distributed assembly flow shop considering the order rejection characteristics of the first embodiment;

[0025] Figure 2 A schematic diagram of the crossover process of the first embodiment;

[0026] Figure 3 A schematic diagram of the OEM variation process of the first embodiment;

[0027] Figure 4 A schematic diagram of the JIM mutation process of the first embodiment;

[0028] Figure 5 It is a schematic diagram of the OSW process of the first embodiment;

[0029] Figure 6 A schematic diagram of the ODRLS process of the first embodiment;

[0030] Figure 7 A schematic diagram of the JDRLS process of the first embodiment;

[0031] Figure 8 An example is given to illustrate the properties of the first embodiment;

[0032] Fig. 9 A Gantt chart of a decoding case for the first embodiment;

[0033] Fig.10 The factor level trends of the four key parameters of the first embodiment;

[0034] Fig.11 This is a comparison chart of the initialization strategy ANOVA performance of the first embodiment;

[0035] Fig.12 This is a cross-variation ANOVA performance comparison diagram of the first embodiment;

[0036] Fig.13 It is a local search HV performance comparison diagram of the first embodiment;

[0037] Fig.14 Comparison of IGD radar charts for the local search strategy of the first embodiment;

[0038] Fig.15 This is a graph comparing the ANOVA performance of the contrast algorithms under the two stopping criteria of the first embodiment;

[0039] Fig.16 48 is a Pareto frontier graph of four comparison algorithms in the 48th calculation example in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used in this application have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0041] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "including" and "having" and their variations are intended to cover non-exclusive inclusion relationships. For example, when it comes to a process, method, system, product or device of a series of steps or units, it is not limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed, or other steps or units inherent to these processes, methods, products or devices.

[0042] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0043] Embodiment 1

[0044] like Figure 1 As shown, this embodiment discloses a distributed assembly flow shop scheduling method with order rejection characteristics, comprising the following steps:

[0045] S101: Acquire basic data, where the basic data is distributed assembly flow shop information;

[0046] S102: Establishing constraint conditions according to the shop floor data, taking into account order rejection characteristics, wherein the constraint conditions include blocking constraints and setting time constraints;

[0047] S103: Establishing a production assembly scheduling model for a workshop according to the constraint conditions; the objectives of the production assembly scheduling model are to minimize the maximum completion time of all workshops, minimize the total energy consumption of all workshops, and maximize the revenue of all orders;

[0048] S104: According to the KDNSGAII algorithm, the production assembly scheduling model is optimized and solved to obtain the optimal production assembly plan for the workshop; and the workpieces and products in the workshop are scheduled based on the optimal production assembly plan for the workshop.

[0049] As one or more embodiments, the S101: obtaining workshop information of a distributed assembly flow workshop specifically includes:

[0050] The number of orders to be assembled, the number of workpieces to be processed, the workpieces included in the order, the number of machines, the deadline for orders to be processed, the expiration time of orders to be processed, the processing time of the workpieces, energy consumption information per unit time, order profit information, and setup time information.

[0051] As one or more embodiments, the S102: establishing constraint conditions according to the shop floor data, taking into account the order rejection characteristics and the constraint conditions including blocking constraints and setting time constraints; specifically includes:

[0052] Ensure the priority relationship of consecutive processes of the same workpiece, that is, the subsequent process of the same workpiece must wait for the previous process to be completed before it can be processed;

[0053] Ensure that consecutive processes on the same machine tool in each factory will not overlap. Processing can only be transferred to the next machine when it is idle. Otherwise, it will be blocked on the current machine.

[0054] Ensure that each workpiece belongs to only one order;

[0055] Ensure that each process is assigned to a machine tool in a factory;

[0056] Ensure that each operation has at most one preceding process processed on the same machine;

[0057] Ensure that the completion time of each process is equal to the sum of the start time and the SDST time.

[0058] As one or more embodiments, the S103: establishing a production assembly scheduling model for a workshop according to the constraint conditions; the goal of the production assembly scheduling model is to minimize the maximum completion time of all workshops, minimize the total energy consumption of all workshops and maximize the revenue of all orders; specifically includes:

[0059] Among them, M: the number of machine tools; N: the number of workpieces; F: the number of factories; O: the number of orders; P: the number of products; j, k: the subscripts of workpieces; g, l: the subscripts of orders; q, r: the subscripts of products; i: the subscript of machine tools; d: the subscript of factories; v: the speed level.

[0060] t j,i : Standard processing time of job j on machine i.

[0061] Pt q : Standard processing time of product q on the assembly machine.

[0062] pp i,v : Energy consumption per unit time when machine i runs at speed v.

[0063] SP i : Energy consumption per unit time of machine i in standby mode.

[0064] STP i : Energy consumption per unit time of machine i in set time mode.

[0065] STPP: Energy consumption per unit time of the assembly plant in debugging mode.

[0066] R g : The revenue of order g.

[0067] w g : The delay weight of order g.

[0068] D g : The expiration time of order g.

[0069] The deadline for order g.

[0070] ST k,j,i : The setup time of job j on machine i.

[0071] OST g,h : The preparation time of order h in the assembly stage.

[0072] P j,i : The actual processing time of job j on machine i.

[0073] pp g : The actual processing time of order g in the assembly stage.

[0074] STA g,h : Setup time of machine MA during the assembly phase.

[0075] CF d : The completion time of the factory in the first phase.

[0076] PEC: Total processing energy consumption.

[0077] SEC: total standby energy consumption.

[0078] STEC: Total energy consumption over set time.

[0079] TEC: The sum of three types of energy consumption.

[0080] C j,i,d :d Completion time of job j on machine in factory i.

[0081] CA g : Completion time of order g.

[0082] C max : makespan value.

[0083] DL g : The delay time of order g.

[0084] Decision variables:

[0085] B j,d : 0 / 1 type variable, 1 if workpiece j is assigned to factory d; otherwise 0.

[0086] I g : 0 / 1 type variable, 1 if order g is accepted, 0 otherwise.

[0087] T g,v : 0 / 1 type variable, which is 1 if workpiece k is the direct successor of workpiece j in factory d; otherwise, it is 0.

[0088] U j,i,v : 0 / 1 type variable, equal to 1 if the speed of order g on the MA machine is v; otherwise, equal to 0.

[0089] Z g,h : 0 / 1 type variable, equal to 1 if order g is the direct successor of order h in the assembly phase; otherwise, equal to 0.

[0090] The mathematical model of this problem is as follows:

[0091] min C max =max(CA g ),g=1,2,...,O (1)

[0092] min TEC=PEC+SEC+STEC (2)

[0093]

[0094]

[0095] DL g =I g ·(CA g -d g ),if CA g >d g (30)

[0096] DL g =0,if CA g <d g (31)

[0097] Formulas (1) to (3) represent the three target values ​​of completion time, total energy consumption and total revenue respectively; (4) stipulates that each job can only be assigned to one location; Formula (5) means that no more than one job is assigned to each location in the factory; Formula (6) stipulates that each job can only be processed once; Formulas (7) and (9) require that each factory processes at least one job; Formula (8) stipulates that each job can only be processed at one location in a factory; Formula (10) ensures that each job can only be processed by one factory; Formula (12) ensures that each job assigned to a factory can be performed at any location; Formulas (12) and (13) stipulate that the speed of each job cannot be changed; Formulas (14) and (15) stipulate the actual processing time of jobs and orders; Formulas (16)-(19) summarize O i,jCalculation of completion time; Formula (20) represents the factory completion time; Formulas (21)-(23) ensure that the order must be placed precisely at a location in the second stage; Formulas (24) and (25) specify the completion time of order assembly; Formulas (27)-(29) represent the processing energy consumption, standby energy consumption and setup time energy consumption consumed by processing workpieces and assembling products respectively; Formulas (30) and (31) represent the delay time of the order.

[0098] As one or more embodiments, the S104: optimizing and solving the production assembly scheduling model according to the KDNSGAII algorithm to obtain the optimal production assembly plan for the workshop; specifically includes:

[0099] S1041: Initialize population: Use DANEH heuristic algorithm to initialize N1 populations;

[0100] S1042: Initialize population: Initialize N2 populations using SAS heuristic algorithm;

[0101] S1043: Initialize population: Use ORNEH heuristic algorithm to initialize N3 populations and randomly generate PS-N1-N2-N3 solutions;

[0102] S1044: Perform fast non-dominated sorting, and calculate the crowding degree of individuals in each non-dominated layer, and select appropriate individuals to form a new parent population according to the non-dominated relationship and the crowding degree of the individuals;

[0103] S1045: Randomly generate a number r in the interval [0,1] m ;

[0104] S1046: Judgement m <=P c Is it established? If yes, go to S1047; if no, go to S1048;

[0105] S1047: Perform a single-point crossover on the order sequence, job sequence, and speed sequence. A crossover point is randomly selected on the parent sequence. All jobs beyond this point in any sequence are exchanged between the two parent sequences. Figure 2 shown.

[0106] It is worth noting that when a single-point crossover is applied to an order sequence, the job sequence changes. In this case, the change in the job sequence is passive. The crossover of the order sequence and the job sequence is a separate process.

[0107] S1048: Two mutation operators are used: the order-based exchange mutation operator (OEM) and the job-based insertion mutation operator (JIM).

[0108] OEM: Randomly generate two positions and swap the order of the two positions. Changes in the order sequence will result in changes in the job sequence. Figure 3 shown.

[0109] JIM: Randomly generate two positions p1 and p2 in the job sequence and move the job at p1 to position p2. Figure 4 shown.

[0110] S1049: In order to enhance the local search capability of the algorithm, according to the properties of DAFSPOR, this application designs three local search strategies {OSW, ODRLS, JDRLS}, which are described as follows:

[0111] OSW order exchange: Randomly select two orders from any order and exchange their scheduling order, and the corresponding workpiece scheduling order changes. The process is as follows Figure 5 shown.

[0112] ODRLS order destruction and reinsertion: The destruction operation of ODRLS is to divide the original sequence into two subsequences R and D, and u orders are randomly deleted. In this application, u is a fixed size, u = 0.5 × O. The sequence consisting of u deleted orders is denoted as D, and the sequence consisting of the remaining orders is denoted as R. In the reinsertion phase, the orders extracted from D are reinserted into R. In order to reflect knowledge 1, the orders with high load rate are extracted first. Repeat this process until all deleted orders are inserted into the order sequence. The process is as follows Figure 6 shown.

[0113] JDRLS artifact sequence destruction and reinsertion: In the destruction phase, JDRLS divides the original sequence into two subsequences l R and l D , and randomly delete ρ jobs in the job sequence of each order. The sequence composed of the deleted ρ jobs is called l D , the sequence of the remaining jobs is called l R Since the number of jobs for each order is different, it is not possible to use a uniform value to determine the size of the destruction job. There is a method to determine the size of the destruction job sequence ρ according to the size of the order, such as As shown, where N g Is the order K g The process is as follows Figure 7 shown.

[0114] S10410: Update the next generation population and enter S1045.

[0115] Furthermore, the S1041 uses the DANEH heuristic algorithm to initialize N1 solutions; specifically includes:

[0116] S10411: Generate a speed sequence immediately; Generate an order sequence in non-descending order according to the assembly time of the order; Establish a workpiece sequence belonging to the order through the SPT rule;

[0117] S10412: Orders are taken out in sequence and inserted into the position with the shortest completion time;

[0118] S10413: Take out the workpieces in sequence according to the order sequence and put them into the factory.

[0119] Furthermore, the S1042 uses the SAS heuristic algorithm to initialize N2 solutions; specifically includes:

[0120] S10421: The workpiece sequence is then generated;

[0121] S10422: traverse all factories and initialize the speed of the first workpiece processed on all machines in each factory;

[0122] S10423: For the remaining workpieces, select the speed on each machine in the 1-s range sequentially, and select one that satisfies max{C j,i-1 ,C j-1,i}+ST k,j,i +p j,i ≤C j-1,i+1 speed of conditions;

[0123] S10424: Update the completion time of the workpiece on the machine and proceed to S10423.

[0124] Furthermore, the S1043 uses the ORNEH heuristic algorithm to initialize N3 solutions; specifically includes:

[0125] S10431: Generate a speed sequence immediately; Generate an order sequence in a non-descending order according to the load ratio of the order;

[0126] S10432: randomly select a workpiece, select the workpiece with the shortest total setup time as the subsequent workpiece, and repeat this step until all workpieces are selected;

[0127] S10433: Randomly generate F-1 factory separators in the order's artifact sequence to generate the artifact sequence.

[0128] S10434: Calculate the revenue of the order, reject orders with negative revenue, and the maximum number of rejected orders allowed is PR×O.

[0129] Furthermore, the S1049 is based on the properties of DAFSPOR; specifically includes:

[0130] The DAFSPOR model considering blocking constraints and setting time constraints can be described as follows: There is a batch of orders K'={K1,K2,...,K O}. Each order K g All with P products {P1,P2,...,P P}. Each product consists of a predefined set of jobs A p The job set is selected from N jobs. Each job belongs to only one product. In other words, if q≠r, then If the order has been accepted, the completion time K g Less than the expiration date D g , then the possible profit (TP i ) can be expressed as order revenue (R g ), namely TP i =R g Otherwise, a weighted delay penalty, DL g =max{w g (C.A. g -D g ), 0}, where However, if the order cannot be completed by the deadline (i.e. ) or profit TP g If it is a negative value, the order should be rejected.

[0131] In the scheduling phase, the accepted jobs are assigned to factories {f1, f2, ..., f F} for processing, the processing plant is a blocked flow workshop containing M machines. Each job needs to be processed on M machines in turn. During the assembly stage, there is only one assembly machine MA in the factory. Only when all components belonging to the product are completed in the first stage will it enter the second stage. There is no intermediate buffer between the two machines. Specifically, job j is to be processed on machine i, but machine i is blocked, so job j needs to wait on machine i-1. In addition, the setup time of the processing and assembly stages must also be considered. Both blocking time and idle time are counted as standby time. In both stages, each machine has s different processing speeds. Once the speed is set for the job and order, it cannot be changed during the processing process. The actual processing time (p j,i ) is the normal processing time (t j,i ), the calculation formula is p j,i =t j,i / v. Processing plants and assembly plants have processing energy consumption (PEC), standby energy consumption (SEC) and setup energy consumption (STEC). Therefore, TEC can be refined as: TEC = PEC + SEC + STEC.

[0132] The DAFSPOR described in one or more embodiments has three properties, specifically including:

[0133] Property 1. Orders with high load rates have priority.

[0134] Property 2. The workpiece processing sequence should be consistent with the product assembly sequence as much as possible.

[0135] Property 3. In each processing plant, operations belonging to the same product are processed continuously so as to obtain the earliest processing time.

[0136] The properties are illustrated by example. Assume K1 = {2, 4, 5}, K2 = {1, 3}, RLR = [3.4, 1.9], D g =[18, 20], 27], Figure 8 Three examples are given to illustrate the three properties. Figure 8 As shown in (a), the assembly order of the orders corresponds to the job processing order, and the orders with higher load rates are processed first. In Factory 1, job 2 belonging to K1 is processed before job 3 of K2. In Factory 2, jobs 4 and 5 of K1 take precedence over job 1 of K2. There is no delay penalty in either order. Figure 8 In (b), orders with lower load rates are processed first, K2 is processed before D2, but K1 will be subject to a delay penalty. Figure 8 In (c), the order of operations in each factory remains unchanged, but order 2 is assembled first in the assembly stage. This causes K1, which has already been processed, to be assembled later, increasing the processing completion time. Therefore, the entire assembly process is delayed. Figure 8 In (d), the processing order of jobs is out of order and inconsistent with the assembly order. All jobs of K1 have been completed except job 5. Therefore, job 5 seriously delays the assembly of K1. By analyzing this example, it can be concluded that knowledge 1, knowledge 2, and knowledge 3 can eliminate some low-quality scheduling schemes.

[0137] Distributed assembly flow shop scheduling problem is a common scheduling problem, which has received extensive attention in production scheduling and academia in recent years. Considering the distributed assembly flow shop scheduling problem with order rejection characteristics, blocking constraints and setting time constraints, this application develops a problem knowledge-based NSGAII, whose goal is to minimize the maximum completion time of all workshops, minimize the total energy consumption of all workshops and maximize the revenue of all orders. First, a one-dimensional vector is used to represent each solution, and the factory allocation and order acceptance are encoded; then, three initialization methods based on specific problem knowledge are used to generate high-quality populations; next, multiple genetic operators are used to increase the diversity of individuals in the population; in addition, two destructive reinsertion methods based on order and job length are used to enhance the algorithm's search ability. Extensive experimental results show that the proposed algorithm is more efficient than other efficient algorithms when solving DAFSPOR.

[0138] One or more embodiments of the present invention may be described in which encoding and decoding of each feasible solution specifically includes:

[0139] Solution encoding: Each feasible solution can be encoded into a one-dimensional vector: (π, π', V), where π = (π1, π2, ..., π N+F-1 ) contains N job indices and F-1 virtual jobs 0. π'=(π1,π2,...,π O ) represents the order sequence, let V = {V1, V2}, V1 = (v1, v2, ..., v N×M ) represents the processing speed of the job. V2=(v1,v2,...,v O ) represents the assembly speed of the order.

[0140] Decoding of the solution: Schedule the encoded sequence, such as Fig. 9 As shown: O = 3, N = 10, M = 3, F = 2, K1 = {1, 5, 6, 10}, K2 = {2, 8, 9}, K3 = {3, 4, 7}, K3 is rejected. After completing the last workpiece 9 of K2, the assembly of K2 begins. Workpiece 5 of K1 is assigned to factory 1, and the remaining workpieces are assigned to factory 2. The assembly work is performed when job 10 is processed. By Fig. 9 It can be seen that the makespan of this sequence is 134.

[0141] This section lists the main parts of the proposed KDNSGAII. The framework of the algorithm is shown in Algorithm 1.

[0142]

[0143]

[0144] SAS was proposed by Jingjing Wang and Ling Wang. It is a heuristic rule that sets an appropriate speed for each operation to reduce TEC. This application applies the SAS rule to a distributed assembly flow shop that considers the order rejection characteristics. The main steps of the algorithm are introduced in Algorithm 2.

[0145]

[0146] NEH was proposed by Nawaz, Enscore and Ham and is one of the most effective construction heuristic algorithms for solving flow shop scheduling problems. In order to apply the NEH strategy to the distributed assembly flow shop problem considering the order rejection characteristics, this application proposes two improved NEH heuristic algorithms. The main steps of the algorithm are introduced in Algorithm 3 and Algorithm 4.

[0147]

[0148]

[0149] In order to verify the proposed algorithm, this application randomly generated 900 distributed flow shop scheduling examples based on real production data. Subsequently, in order to further improve the performance of the algorithm, the algorithm parameters were optimized. Next, a series of related experiments were designed to verify the effectiveness of the proposed strategy. At the same time, the algorithm was compared with other multi-objective evolutionary algorithms. Finally, the algorithm was tested on the example.

[0150] The algorithms and experiments were coded and implemented in MATLAB R2021 and run on an Intel(R) Core(TM) i7-6700 CPU@3.40GHz processor and 16GB RAM.

[0151] Experimental example:

[0152] Consider the problem of N jobs, O orders, M machines and F factories, where N∈{20,40,60,80,100}, O∈{4,8,16}, M∈{5,10,15}, F∈{2,3,4,5}, and assume that there are 5 instances for each parameter combination. A total of (5×3×3×4)×5=900 instances are generated. For each instance, the speed s∈{2,3} and the energy consumption is PP i,v =4×v 2 +rand(1,4),SP i =1+rand(1,4), STP i =1+rand(1,4). Set time ST j,k,i =rand(1,6),OST g,1 =rand(2,5). Order income R g= rand(7,260). The expiration date of the order is determined by D g =b g +0.7×T g Calculate, where b g =[0, R×T g ], Finally, the deadline calculation formula is Where R = {0.1, 0.3, 0.5, 0.7, 0.9} is the expiration time range factor. The number of evolution generations is used as the stopping criterion (Eva = 500). For each instance, KDNSGAII will run five times independently. This experiment uses three performance indicators, hypervolume (HV) evaluation index, inverted generational distance (IGD) and relative percentage increase (RPI), to evaluate the performance of the algorithm. The higher the HV value and the smaller the IGD value, the better the quality of the solution set. The smaller the RPI value, the better the algorithm performance.

[0153] The algorithm designed in this application has four key parameters: population size PS, maximum number of rejected orders PR, crossover probability Pc and mutation probability Pm. The parameter levels are set as follows: (1) PS is set to four levels of {10, 30, 50, 100}; (2) PR is set to four levels of {0.1, 0.2, 0.3, 0.4}; (3) Pc is set to four levels of {0.2, 0.4, 0.8, 1}; (3) Pm is set to four levels of {0, 0.3, 0.4, 0.5}.

[0154] To ensure the fairness of the parameter adjustment experiment, 60 examples of different sizes were randomly selected, and each example was run independently 5 times. In order to obtain the best combination of four key parameters, the Taguchi experimental method was selected. 4 ), including 16 different combinations. The last column lists the average HV value. The analysis results of each parameter are shown in Table 2 and Fig.10 As shown in Table 2 and Fig.10 It can be concluded that the importance of the four parameters (1) is 1, 3, 2, and 4. When PS = 30, PR = 0.4, Pc = 0.8, and Pm = 0.5, KDNSGAII has the best performance.

[0155] Table 1 Orthogonal table.

[0156]

[0157] Table 2 Parameter levels.

[0158]

[0159] Verify the effectiveness of the initialization strategy: To evaluate the effectiveness of the initialization strategy, this application compares two different types of KDNSGAII, namely the G1 algorithm using random initialization and KDNSGAII using three initialization strategies. All other parts of the two compared algorithms are the same. 180 instances of different sizes are randomly selected from 900 instances, and each instance is run 5 times. ANOVA is selected for analysis. The calculation results of HV and IGD indicators are shown in Figure 2. Fig.11 As shown. Fig.11 It can be seen that the designed initialization strategy can improve the quality and diversity of the population.

[0160] Verify the effectiveness of the crossover mutation strategy: In order to analyze the impact of the designed crossover and mutation operators, KDNSGAII with and without crossover mutation strategies are proposed for comparison. KDNSGAII without crossover mutation changes Pc = 0 and Pm = 0, keeping PS and PR unchanged, which is called G2. The results of variance analysis of the comparison algorithm are shown in Fig.12 As shown in Figure 2. The p values ​​of 3.17286e-86 and 1.6527e-12 are much smaller than 0.05, indicating that there are significant differences between KDNSGAII and G2. The results show that the proposed crossover and mutation strategies can enhance the diversity of the population and avoid falling into the local optimal solution.

[0161] Verify the effectiveness of the local search strategy:

[0162] In order to verify the effectiveness of OSW, ODRLS and JDRLS, two comparison algorithms are designed. KDNSGAII is a combination of OSW, ODRLS and JDRLS, while G3 does not contain OSW, ODRLS and JDRLS. Fig.13 It can be seen that for the HV indicator, the p-value = 0.0073 shows that KDNSGAII is better than G3. 36 samples are randomly selected from the 900 samples in Section 5.1 for IGD experiments. The IGD normalization of the two algorithms is as follows: a∈{1,...,36},b∈{1,2}, where Indicates running algorithm The IGD value of instance a is Represents the normalized result. Fig.14 The IGD comparison results of the two algorithms in the radar chart are shown in Figure 2. KDNSGAII using the OSW, ODRLS and JDRLS strategies obtained 33 good values. From the experimental results, it can be seen that these three local search strategies can improve the convergence speed of the algorithm and seek more optimal solutions. Therefore, the designed strategy is effective.

[0163] Comparison of multiple algorithms: In order to further prove the effectiveness of KDNSGAII, this application selects the following comparative algorithms: The multi-objective optimization algorithm ANSGAIII uses a non-dominated sorting method based on reference points, which can be extended to any number of objectives. The meta-objective optimization algorithm (BiGE) proposed by Li et al. BiGE transforms a given multi-objective optimization problem into a bi-objective optimization problem, and then solves the problem using the Pareto dominance relationship. Xiang and Zhou et al. proposed the vector angle evolution algorithm (VaEA), which takes into account both convergence and diversity, and ensures the width and uniformity of the solution set.

[0164] 180 instances of different sizes are randomly selected from 900 instances (i.e., N×M×F×O) for comparative experiments, and each instance is run independently 5 times. Assume that the non-dominated solution sets of KDNSGAII and the three compared algorithms are U k , U a , U b and U v Then U true = {U k ∪U a ∪U b ∪U v} is the true Pareto front. Fig.15 (a) is the comparison result using the evolutionary generation as the stopping criterion. Fig.15 (b) shows the comparison results of all compared algorithms with 0.5×N seconds of CPU time on PC as the stopping criterion. Tables 3 and 4 summarize some statistical results of HV and IGD indicator examples, respectively.

[0165] From the above results, we can see that in most cases, the HV value of KDNSGAII is greater than the HV values ​​of the three comparison algorithms, and the HV value of KDNSGAII is more widely distributed than the HV values ​​of the other three comparison algorithms. Secondly, considering the IGD value, the IGD value of KDNSGAII is mostly smaller than the other three algorithms, and the convergence is stronger than other multi-objective optimization algorithms. In both experiments, the KDNSGAII algorithm achieved better results than the other three algorithms. Therefore, KDNSGAII is competitive and outperforms the other three algorithms.

[0166] In order to more intuitively demonstrate the superiority of KDNSGAII, Fig.16 The Pareto frontier graphs of the four comparison algorithms for the 48th instance are given. From the graph, it can be seen that KDNSGAII produces more solutions than the other algorithms. In addition, KDNSGAII obtains more evenly distributed Pareto solutions. It is easy to see that the KDNSGAII algorithm outperforms the three comparison algorithms in terms of convergence and diversity.

[0167] Table 3 Partial comparison results of four algorithms (HV index)

[0168]

[0169]

[0170] Table 4 Partial comparison results of four algorithms (IGD index)

[0171]

[0172]

[0173] Embodiment 2

[0174] This embodiment provides a distributed hybrid flow shop scheduling system;

[0175] A distributed assembly flow shop scheduling system with order rejection feature, comprising:

[0176] A data acquisition module is configured to: acquire basic data, wherein the basic data is workshop data of a distributed assembly flow workshop;

[0177] A constraint condition establishment module, which is configured to: establish constraint conditions according to the shop floor data, taking into account the order rejection characteristics, wherein the constraint conditions include blocking constraints and setting time constraints;

[0178] A production assembly scheduling model establishment module is configured to: establish a production assembly scheduling model of a workshop according to constraint conditions; the goal of the production assembly scheduling model is to minimize the maximum completion time of all workshops, minimize the total energy consumption of all workshops and maximize the revenue of all orders;

[0179] The scheduling module is configured to: optimize and solve the production assembly scheduling model according to KDNSGAII to obtain the optimal production plan of the workshop; and schedule the workpieces and products in the workshop based on the optimal production plan of the workshop.

[0180] It should be noted that the above data acquisition module, constraint condition establishment module, production assembly scheduling model establishment module and scheduling module correspond to steps S101 to S104 in Embodiment 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Embodiment 1. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer executable instructions.

[0181] The description of each embodiment in the above embodiments has different emphases. For parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0182] The proposed system can be implemented in other ways. For example, the system embodiment described above is only illustrative, and the division of the modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.

[0183] Embodiment 3

[0184] The present application provides an electronic device having the following components: one or more processors, one or more memories, and one or more computer programs. The processor is connected to the memory, and the computer program is stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that when the electronic device executes the program, the steps of any one of the above-mentioned distributed assembly flow shop scheduling methods with order rejection characteristics are implemented.

[0185] Embodiment 4

[0186] The present application provides a computer-readable storage medium for storing computer instructions. When a processor executes these computer instructions, the steps of any one of the above-mentioned distributed assembly flow shop scheduling methods with order rejection characteristics are implemented.

[0187] Embodiment 5

[0188] The present application also provides a computer program (product), which includes a set of computer programs. When running on one or more processors, the computer program is used to implement the steps of any of the above-mentioned distributed assembly flow shop scheduling methods with order rejection characteristics.

[0189] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A distributed assembly flow shop scheduling method with order rejection characteristics, characterized in that: The steps include: Obtaining workshop data of distributed assembly flow workshops; Establishing constraint conditions according to the workshop data, wherein the constraint conditions include blocking constraints and setting time constraints; Establish the production and assembly scheduling model of the workshop according to the constraints; The objectives of the production assembly scheduling model are to minimize the completion time, total energy consumption and maximize total revenue; According to the KDNSGAII algorithm, the production assembly model is optimized and solved to obtain the optimal solution for the production assembly workshop; and the workpieces and products in the workshop are scheduled based on the optimal solution for the production assembly workshop.

2. A distributed assembly flow shop scheduling method with order rejection characteristics as claimed in claim 1, characterized in that: Obtain the workshop data of the distributed assembly flow workshop, including: The number of orders to be assembled, the number of workpieces to be processed, the workpieces included in the order, the number of machines, the deadline for orders to be processed, the expiration time of orders to be processed, the processing time of the process, energy consumption information per unit time, order profit information, and setup time information.

3. A distributed assembly flow shop scheduling method with order rejection characteristics as claimed in claim 1, characterized in that: Constraints are established based on shop floor data, taking into account order rejection characteristics and the constraints including blocking constraints and setting time constraints, specifically including: Ensure the priority relationship of consecutive processes of the same workpiece, that is, the subsequent process of the same workpiece must wait for the previous process to be completed before it can be processed; Ensure that consecutive processes on the same machine tool in each factory will not overlap. Processing can only be transferred to the next machine when it is idle. Otherwise, it will be blocked on the current machine. Ensure that each workpiece belongs to only one order; Ensure that each process is assigned to a machine tool in a factory; Ensure that each operation has at most one preceding process processed on the same machine; Ensure that the completion time of each process is equal to the sum of the start time and the SDST time.

4. A distributed assembly flow shop scheduling method with order rejection characteristics as claimed in claim 1, characterized in that: According to the KDNSGAII algorithm, the production assembly scheduling model is optimized and solved to obtain the optimal production assembly plan for the workshop, which specifically includes: S1: Initialize the population: Use the DANEH heuristic algorithm to initialize N1 populations; S2: Initialize the population: Use the SAS heuristic algorithm to initialize N2 populations; S3: Initialize the population: Use the ORNEH heuristic algorithm to initialize N3 populations and randomly generate PS-N1-N2-N3 solutions; S4: Perform fast non-dominated sorting and calculate the crowding degree of individuals in each non-dominated layer. Select appropriate individuals to form a new parent population Pt+1 based on the non-dominated relationship and the crowding degree of the individuals. S5: Randomly generate a number r in the interval [0,1] m ; S6: Judgement m <=P c Is it true? If yes, go to S7; if no, go to S8; S7: Perform a single-point crossover on the order sequence, job sequence, and speed sequence. A crossover point is randomly selected on the parent sequence, and all jobs beyond this point in any sequence are exchanged between the two parent sequences. S8: Two mutation operators are used: the order-based exchange mutation operator OEM and the job-based insertion mutation operator JIM; OEM: Randomly generate two positions and swap the order of the two positions. The change of the order sequence will lead to the change of the job sequence. JIM: Randomly generate two positions p1 and p2 in the job sequence and move the job at p1 to position p2; S9: Design three local search strategies {OSW, ODRLS, JDRLS}, which are described as follows: OSW order exchange: Randomly select two orders from any order to exchange their scheduling order, and the corresponding workpiece scheduling order changes; ODRLS order destruction reinsertion: Randomly delete u orders in the original sequence, and the sequence consisting of the deleted u orders is denoted as D, and the sequence consisting of the remaining orders is denoted as R. In the reinsertion phase, the orders extracted from D are reinserted into R, and the orders with high load rates are extracted first. This process is repeated until all deleted orders are inserted into the order sequence; JDRLS artifact sequence destruction and reinsertion: In the destruction phase, JDRLS divides the original sequence into two subsequences l R and l D , and randomly delete ρ jobs in the job sequence of each order. The sequence composed of the deleted ρ jobs is called l D , the sequence of the remaining jobs is called l R ; S10: Update the next generation population and enter S5.

5. A distributed assembly flow shop scheduling method with order rejection characteristics as claimed in claim 4, characterized in that: The S1 uses the DANEH heuristic algorithm to initialize N1 solutions, specifically including: S11: Generate a speed sequence immediately, generate an order sequence in a non-descending order according to the assembly time of the order, and establish a workpiece sequence belonging to the order through the SPT rule; S12: Orders are taken out one by one, and the orders are inserted into the position with the shortest completion time; S13: Take out the workpieces in sequence according to the order sequence and put them into the factory.

6. A distributed assembly flow shop scheduling method with order rejection characteristics as claimed in claim 4, characterized in that: The S2 uses the SAS heuristic algorithm to initialize N2 solutions; specifically, it includes: S21: The workpiece sequence is then generated; S22: traverse all factories and initialize the speed of the first workpiece processed on all machines in each factory; S23: For the remaining workpieces, the speed on each machine is selected sequentially within the 1-s range, and one is selected to satisfy max{C j,i-1 ,C j-1,i }+ST k,j,i +p j,i ≤C j-1,i+1 Conditional speed; C j,i-1 represents the completion time of job j on machine i-1, C j-1,i represents the completion time of job j-1 on machine i, ST k,j,i represents the setup time of workpiece j on machine i, p j,i represents the actual processing time of job j on machine i, C j-1,i+1 represents the completion time of job j-1 on machine i+1; S24: Update the completion time of the workpiece on the machine and proceed to S23.

7. A distributed assembly flow shop scheduling method with order rejection characteristics as claimed in claim 4, characterized in that: The S3 uses the ORNEH heuristic algorithm to initialize N3 solutions, specifically including: S31: a speed sequence is then generated, and an order sequence is generated in a non-descending order according to the load ratio of the order; S32: randomly select a workpiece, select the workpiece with the shortest total setup time as the subsequent workpiece, and repeat this step until all workpieces are selected; S33: randomly generate F-1 factory separators in the workpiece sequence of the order, where F is the number of factories, and generate a workpiece sequence; S34: Calculate the revenue of the order and reject orders with negative revenue.

8. A distributed assembly flow shop scheduling system with order rejection feature, characterized in that: include: A data acquisition module is configured to: acquire basic data, wherein the basic data is workshop data of a distributed assembly flow workshop; A constraint condition establishment module, which is configured to: establish constraint conditions according to shop floor data, with order rejection characteristics, wherein the constraint conditions include blocking constraints and setting time constraints; A production assembly scheduling model establishment module is configured to: establish a production assembly scheduling model of a workshop according to constraint conditions; the goal of the production assembly scheduling model is to minimize the maximum completion time of all workshops, minimize the total energy consumption of all workshops and maximize the revenue of all orders; The scheduling module is configured to: optimize and solve the production assembly scheduling model according to KDNSGAII to obtain the optimal production plan of the workshop; and schedule the workpieces and products in the workshop based on the optimal production plan of the workshop.

9. An electronic device, characterized in that: include: One or more processors, one or more memories and one or more computer programs, the processor is connected to the memory, the computer program is stored in the memory, when the electronic device is running, the processor executes one or more computer programs stored in the memory, so that the electronic device executes the method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer instructions, when the processor executes these computer instructions, the method described in any one of claims 1 to 7 is implemented.