A dual-objective scheduling optimization method for distributed hybrid flow shop

By adopting the dual-objective scheduling optimization method of the frog leaping algorithm and the minimum load rule in the distributed hybrid flow workshop, the problem of multi-objective conflicts is solved, high-quality workpiece distribution and processing sequence optimization are achieved, and the scheduling effect is improved.

CN114819558BActive Publication Date: 2024-10-18ANHUI POLYTECHNIC UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210382447.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-12
Publication Date
2024-10-18
Estimated Expiration
2042-04-12

AI Technical Summary

Technical Problem

It is difficult for existing scheduling methods to effectively optimize multiple conflicting optimization objectives in distributed hybrid flow workshops, resulting in the inability to achieve the optimal solution at the same time.

Method used

A dual-objective scheduling optimization method based on the leapfrog algorithm is used to generate high-quality scheduling plans through initialization of the population, population division, meme group search, and population reconstruction. It combines the minimum load rule and multi-neighbor search to optimize workpiece allocation and processing. order.

Benefits of technology

It significantly improves the dual-objective scheduling optimization effect of distributed hybrid flow workshops, provides a higher-quality scheduling solution, and has significant advantages over existing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114819558B_ABST
    Figure CN114819558B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of workshop scheduling, and in particular to a dual-objective scheduling optimization method for solving a distributed hybrid flow shop. The method initializes a model of the dual-objective scheduling optimization problem of the encoded distributed hybrid flow shop, randomly generates an initial population, distributes the generated solutions to meme groups for population division, performs a search process on all meme groups according to the quality of the meme groups, and determines whether the meme group participates in population reconstruction according to the evolutionary quality. The method can provide a high-quality scheduling solution for the distributed hybrid flow shop with dual-objective optimization, and has significant advantages over existing scheduling methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of workshop scheduling, and in particular to a dual-objective scheduling optimization method for solving distributed hybrid flow workshops. Background Art

[0002] The hybrid flow shop scheduling problem is widely present in the production and manufacturing process. It is a combination of the flow shop scheduling problem and the parallel machine scheduling problem. With the increasing economic globalization and market competition, distributed production and manufacturing have emerged, resulting in the distributed hybrid flow shop scheduling problem. There are many conflicting optimization objectives in the actual industrial process scheduling problem, such as maximum completion time, total delay time, total energy consumption, maximum delay time, number of delayed workpieces and cost. It is generally difficult to meet the actual production needs by considering only a single goal, and multiple goals need to be optimized at the same time. The various goals of the multi-objective scheduling problem often conflict with each other, that is, the improvement of one goal may cause the performance of another or more goals to decrease, so that these goals cannot be optimized at the same time.

[0003] The distributed hybrid flow shop scheduling problem has many sub-problems and many optimization objectives. Not only are the coupling relationships between the sub-problems strong, but the coupling relationships between the optimization objectives are also strong. It is difficult to solve this problem with existing scheduling methods. Summary of the invention

[0004] In view of this, the purpose of the present invention is to propose a dual-objective scheduling optimization method for distributed hybrid flow workshops to solve the problems of shortcomings of existing scheduling methods.

[0005] Based on the above purpose, the present invention provides a dual-objective scheduling optimization method for solving a distributed hybrid flow shop, comprising the following steps:

[0006] A. Initialize the encoded dual-objective scheduling optimization model with n workpieces and W1 parallel machines in the first stage, and randomly generate The initial population P of solutions, let

[0007] B. Population division: the resulting The solution is assigned to meme group;

[0008] C. Meme group search: Perform a search process on all meme groups based on their quality;

[0009] D. Population reconstruction: Determine the population involved in the reconstruction meme groups, using The solution is constructed into a new population P, and then divided again meme groups;

[0010] F. Determine whether the termination condition is met. If so, terminate the search process and output the external file. If not, repeat steps B to D.

[0011] G. Decode the solution in the external archive to obtain the dual-objective scheduling optimization result.

[0012] Preferably, the encoding process of the dual-objective scheduling optimization model includes:

[0013] For a problem with n workpieces, F isomorphic factories, and W1 parallel machines in all factories in the first stage, the solution is expressed as the machine allocation string [ω1,ω2,…,ω n ] and the scheduling string [e1,e2,…,e n ]. i Indicates workpiece J i The machines allocated in the first stage, ω i is an integer, ω i ∈[1,W1],e l For workpiece J l The corresponding real number, the scheduling string is a real number string, for workpiece J i ,J i+1 ,…,J j E l Sort in ascending order to get workpiece J i ,J i+1 ,…,J j The processing order on the machine is l∈[i,j],i<j.

[0014] Preferably, the process of decoding the solution of the model includes:

[0015] For each machine M in the first stage f1k , f=1,2…F,k=1,2,…,W1,the set of workpieces of the machine is constructed by the machine allocation string θ k , repeat the following steps until θ k Empty: Determine θ k has the smallest e l Workpiece J l , determine the preparation start time and complete workpiece J l Processing, θ k =θ k \{J l};

[0016] For each of the remaining stages, we first construct the sets Θ = {1, 2, ..., n} and Q = {e1, e2, ..., e n}; Then repeat the following steps until Θ is empty: Select the one with the smallest e in Θ l Workpiece J l , using the minimum load rule to move the workpiece Jl Assigned to machine M flk , determine the workpiece in M flk Preparation start time and processing J l ,θ k =θ k \{J l} and Q=Q\{e l}.

[0017] Preferably, the population division process includes:

[0018] Determine the number of meme groups that need to be constructed based on the results of population reconstruction and the corresponding A solution, let The set of solutions is U;

[0019] Let h = 1, and repeat the following binary tournament selection process until The solution is assigned to meme group: randomly select two solutions x1,x2∈U; if x1 dominates x2, assign x1 to the meme group If x2 dominates x1, assign x2 to the meme group If x1 and x2 do not dominate each other, then randomly select one from x1 and x2 and assign it to the meme group h=h+1, delete the selected solution from U.

[0020] Preferably, the process of meme group search includes:

[0021] a. Calculate each meme group M i Quality mq i , where i = 1, 2, ..., s, all meme groups according to mq i Sort in descending order;

[0022] b. For each meme group M i , let w = 1;

[0023] If i≤2, perform the following steps:

[0024] b1. For M i Perform non-dominated sorting on all solutions in ;

[0025] b2. Randomly select a non-dominated solution x b ∈M i and x∈M i , x≠x b , for x b Perform a global search with x. If the new solution z satisfies the replacement criteria, use x b Replace z, update the external file Ω, and go to step b4;

[0026] b3. for x b Perform multi-neighborhood search, generate a new solution z, and determine whether the replacement condition is met. If so, use x b Replace z and update the external archive Ω;

[0027] b4.w=w+1, if w≤μ, go to step b1,

[0028] If i>2, perform the following steps:

[0029] b5. To M i Perform non-dominated sorting on all solutions in;

[0030] b6. Randomly select a non-dominated solution x b ∈M i and x∈M i -1∪M i-2 , x≠x b , for x b and x to perform a global search. If the new solution z satisfies the replacement criteria, use x b Replace z, update the external file Ω, and go to step b8;

[0031] b7. x b Perform multi-neighborhood search to generate a new solution z and determine whether the replacement condition is met. If so, use x b Replace z and update the external archive Ω;

[0032] b8.w=w+1, if w≤μ, go to step b5;

[0033] Where μ refers to the number of meme group searches, and the replacement condition is: the solution z dominates x b or z and x b They are not dominated by each other.

[0034] Preferably, the step of global search includes:

[0035] For the solution x b and x, generate a random number rand∈[0,1], if rand<α1, perform a two-point crossover on the scheduling string, otherwise, perform a two-point crossover on the machine allocation string, where α1 represents the probability of performing a crossover on the scheduling string.

[0036] Preferably, the process of population reconstruction includes:

[0037] Calculate each meme group M i The evolutionary quality eq i ;

[0038] Create a set G = {M i |eq i >α2};

[0039] make

[0040] merge meme groups form the set U.

[0041] The beneficial effects of the present invention are as follows: the present method takes the frog leaping algorithm as the framework, initializes the model of the dual-objective scheduling optimization problem of the encoded hybrid assembly line, randomly generates an initial population, distributes the generated solutions to the meme groups for population division, and performs a search process on all meme groups according to the quality of the meme groups. Whether the meme group participates in the population reconstruction is determined by the evolutionary quality. The method can provide a high-quality scheduling solution for the distributed hybrid assembly line with dual-objective optimization, which has significant advantages over the existing scheduling methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A schematic diagram of a dual-objective scheduling optimization method flow chart of an embodiment of the present invention;

[0044] Figure 2 A scheduling Gantt chart for an example of an embodiment of the present invention;

[0045] Figure 3 All algorithms of the embodiments of the present invention are about DI R and 95% confidence interval plot of the C indicator calculation results;

[0046] Figure 4 Graphs showing distribution of non-dominated solutions of four algorithms according to embodiments of the present invention. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0048] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0049] like Figure 1 As shown, the embodiment of this specification provides a dual-objective scheduling optimization method for solving a distributed hybrid flow shop, including the following steps:

[0050] A. Initialize the encoded dual-objective scheduling optimization model with n workpieces and W1 parallel machines in the first stage, and randomly generate The initial population P of solutions, let

[0051] The encoding process of the dual-objective scheduling optimization model includes: for a problem with n workpieces, F isomorphic factories, and all factories have W1 parallel machines in the first stage, the solution is expressed as the machine allocation string [ω1,ω2,…,ω n ] and the scheduling string [e1,e2,…,e n ]. i Indicates workpiece J i The machines allocated in the first stage, ω i is an integer, ω i ∈[1,W1],e l For workpiece J l The corresponding real number, the scheduling string is a real number string, for workpiece J i ,J i+1 ,…,J j E l Sort in ascending order to get workpiece J i ,J i+1 ,…,J j The processing order on the machine is l∈[i,j],i<j;

[0052] The decoding process is described as follows:

[0053] For each machine M in the first stage f1k, f=1,2…F,k=1,2,…,W1,the set of workpieces of the machine is constructed by the machine allocation string θ k , repeat the following steps until θ k Empty: Determine θ k has the smallest e l Workpiece J l , determine the preparation start time and complete workpiece J l Processing, θ k =θ k \{J l};

[0054] For each of the remaining stages, we first construct the sets Θ = {1, 2, ..., n} and Q = {e1, e2, ..., e n}; Then repeat the following steps until Θ is empty: Select the one with the smallest e in Θ l Workpiece J l , using the minimum load rule to move the workpiece J l Assigned to machine M flk , determine the workpiece in M flk Preparation start time and processing J l ,θ k =θ k \{J l} and Q=Q\{e l}.

[0055] The minimum load rule is described as follows: Assign a job to a machine with the smallest load among all available machines.

[0056] B. Population division: the resulting The solution is assigned to meme group;

[0057] To construct the meme group, the population division process is as follows:

[0058] Determine the number of meme groups that need to be constructed based on the results of population reconstruction and the corresponding A solution, let The set of solutions is U;

[0059] Let h = 1, and repeat the following binary tournament selection process until The solution is assigned to meme group: randomly select two solutions x1,x2∈U; if x1 dominates x2, assign x1 to the meme group If x2 dominates x1, assign x2 to the meme group If x1 and x2 do not dominate each other, then randomly select one from x1 and x2 and assign it to the meme group h=h+1, delete the selected solution from U.

[0060] When the initial population P is divided into populations, After the first population division, some meme groups do not participate in population reconstruction. is smaller than s, Less than N.

[0061] C. Meme group search: Perform a search process on all meme groups based on their quality;

[0062] The quality q of solution i i The definition is as follows:

[0063] q i =|{x j ∈P|x i Cannot control x j}|

[0064] where x i Cannot control x j Point to x j dominatex i or x j With x i No domination, q i It can also be seen as not being able to control x i The number of solutions.

[0065] Meme Group M i The solution quality of is calculated as follows:

[0066]

[0067] The process of meme group searching includes:

[0068] a. Calculate each meme group M i Quality mq i , where i = 1, 2, ..., s, all meme groups according to mq i Sort in descending order;

[0069] b. For each meme group M i , let w = 1;

[0070] If i≤2, perform the following steps:

[0071] b1. For M i Perform non-dominated sorting on all solutions in ;

[0072] b2. Randomly select a non-dominated solution x b ∈M i and x∈M i , x≠x b , for x bPerform a global search with x. If the new solution z satisfies the replacement criteria, use x b Replace z, update the external file Ω, and go to step b4;

[0073] b3. for x b Perform multi-neighborhood search, generate a new solution z, and determine whether the replacement condition is met. If so, use x b Replace z and update the external archive Ω;

[0074] b4.w=w+1, if w≤μ, go to step b1,

[0075] If i>2, perform the following steps:

[0076] b5. To M i Perform non-dominated sorting on all solutions in;

[0077] b6. Randomly select a non-dominated solution x b ∈M i and x∈M i-1 ∪M i-2 , x≠x b , for x b and x to perform a global search. If the new solution z satisfies the replacement criteria, use x b Replace z, update the external file Ω, and go to step b8;

[0078] b7. x b Perform multi-neighborhood search to generate a new solution z and determine whether the replacement condition is met. If so, use x b Replace z and update the external archive Ω;

[0079] b8.w=w+1, if w≤μ, go to step b5;

[0080] Where μ refers to the number of meme group searches, and the replacement condition is: the solution z dominates x b or z and x b They are not dominated by each other.

[0081] The detailed steps of global search are as follows: For the solution x b and x, generate a random number rand∈[0,1], if rand<α1, perform a two-point crossover on the scheduling string, otherwise, perform a two-point crossover on the machine allocation string. α1 represents the probability of performing a crossover on the scheduling string.

[0082] Taking the machine allocation string as an example, the two-point crossover process is as follows: randomly select two positions k1 and k2 (k1<k2), solve x b The genes between k1 and k2 in are arranged in the order of the same genes in x.

[0083] Since the scheduling subproblem is more complex than the machine allocation subproblem, α1>0.5 is set so that the scheduling subproblem can obtain more computing resources. α1=0.7 is determined by experiments.

[0084] Design 4 kinds of neighborhood structures N1, N2, N3, and N4. The description of neighborhood structure N1 is as follows: Determine the factory f with the longest completion time, and randomly select a job J from this factory i , randomly transfer the workpiece to any machine in the first stage of other factories. Change to another machine, e i Re-randomize.

[0085] The steps of the neighborhood structure N2 are as follows: Determine the factory f1 with the longest completion time and another randomly selected factory f2, f1≠f2. Select two workpieces J from f1 and f2 respectively. i and J j , exchange the positions of the two workpieces, that is, the values ​​of the machine allocation strings corresponding to the two workpieces are exchanged with each other.

[0086] Neighborhood structures N3 and N4 are similar to neighborhood structures N1 and N2, except that when selecting factories f1 and f2, the reference target value is the total delay time instead of the maximum completion time.

[0087] Solution x b The specific steps for performing multi-neighborhood search are as follows: Let β = 1, r = 1, and repeat the following steps until β > R or a new solution can replace x b : Generate a new solution z∈N r (x b ), if z satisfies the replacement criteria, replace x with z b and update the external file; otherwise, β=β+1, r=r+1. If r=5, let r=1. Where R is an integer, N r (x b ) represents x b Using the neighborhood structure N r The new solution generated.

[0088] The external file Ω is used to store the non-dominated solution set of DSFLA. When a solution z satisfies the replacement criterion, z is added to Ω, and the solutions in Ω are compared pairwise to remove the dominated solutions in Ω.

[0089] For DSFLA that considers the quality of meme groups, meme groups are divided into two categories according to their quality: M i ,i≤2 and M i ,i>2. For the first type of meme group, when performing a global search, the solution x is selected from the current meme group. For the second type of meme group, x is selected from M i-1 ∪M i-2The quality of the meme set determines the selected learning object x.

[0090] D. Population reconstruction: Determine the population involved in the reconstruction meme groups, using The solution is constructed into a new population P, and then divided again meme groups;

[0091] After the meme group performs global search and multi-neighborhood search, the evolutionary quality of the meme group is evaluated. During the meme group search, if the meme group M i There are many new solutions that meet the replacement criteria, indicating that M i The evolutionary quality of the meme groups is higher. Since the reconstruction process will change the structure of the solutions within the meme groups, excluding the meme groups with higher evolutionary quality from the population reconstruction will help to further utilize these meme groups to produce higher quality solutions.

[0092] In DSFLA considering the quality of meme groups, meme group M i The evolutionary quality eq i The definition is as follows:

[0093] eq i =EN i / TN i

[0094] Among them EN i and TN i Respectively represent the M in the meme group search process i The number of valid searches and the total number of searches.

[0095] Execution Meme Group M i During the search process, shilling EN i =1,TN i = 1. During the search process, if a new solution is generated by global search or multi-neighborhood search, then TN i =TN i +1; if the generated new solution meets the replacement criteria, then EN i =EN i +1.

[0096] The process of population reconstruction includes:

[0097] Calculate each meme group M i The evolutionary quality eq i ;

[0098] Create a set G = {M i |eq i >α2};

[0099] make

[0100] merge meme groups form the set U.

[0101] F. Determine whether the termination condition is met. If so, terminate the search process and output the external file. If not, repeat steps B to D.

[0102] The termination condition is the number of solution evaluations max_it.

[0103] G. Decode the solution in the external archive to obtain the dual-objective scheduling optimization result.

[0104] The following is a further explanation of this method with examples:

[0105] (1) Problem description

[0106] The multi-objective DHFSP consists of n workpieces and F isomorphic factories. Each factory is also a hybrid flow shop consisting of S stages, and the lth stage of factory f also has m l The same speed parallel machines. l =F×m l represents the total number of machines in all factories at stage l. i The processing time in stage l is p il , the delivery date is d i The sequence-dependent preparation time is taken into account. On the same machine in stage l, if workpiece J i The previous workpiece processed is J j , then workpiece J i The preparation time is u jil If workpiece J i For the first workpiece processed on the machine, the preparation time is u 0il . Usually, if l1≠l2,

[0107] The multi-objective DHFSP is an optimization problem that allocates jobs to plants and machines and determines the processing sequence of the jobs while minimizing the following two objectives.

[0108]

[0109]

[0110] Among them C i and C max Represents workpiece J i The completion time of the workpiece is the maximum completion time of all workpieces. tot Refers to the total delay time.

[0111] Table 1 describes the processing information of an instance of multi-objective DHFSP, which contains 20 workpieces, 3 factories and 3 stages. 0ig ,u jig ∈[5,10].

[0112] Table 1 An example of multi-objective DHFSP

[0113]

[0114] For a problem with n jobs and W1 parallel machines in the first stage, its solution is represented by the machine assignment string [ω1,ω2,…,ω n ] and the scheduling string [e1,e2,…,e n ]. i Represented as J i The machines allocated in the first stage, ω i is an integer, ω i ∈[1,W1],e l For workpiece J l The corresponding real number. The scheduling string is a real number string. Assume that job J i ,J i+1 ,…,J j Assigned to the same machine in the first stage, i.e. ω i =ω i+1 ,…,=ω j , the e of these artifacts l By sorting them in ascending order, we can determine the order in which they are processed on the machine, l∈[i,j], i<j.

[0115] The decoding process is described as follows:

[0116] 1) For each machine M in the first stage f1k , f = 1, 2…F, k = 1, 2,…, W1. The set of workpieces of the machine is constructed by the machine allocation string θ k Repeat the following steps until θ k Empty: Determine θ k has the smallest e l Workpiece J l , determine the preparation start time and complete workpiece J l Processing, θ k =θ k \{J l}.

[0117] 2) For each of the remaining stages, first construct the set Θ = {1, 2, ..., n} and Q = {e1, e2, ..., e n}; Then repeat the following steps until Θ is empty: Select the one with the smallest e in Θ l Workpiece Jl , using the minimum load rule to move the workpiece J l Assigned to machine M flk , determine the workpiece in M flk Preparation start time and processing J l ,θ k =θ k \{J l} and Q=Q\{e l}.

[0118] The minimum load rule is described as follows: Assign a job to a machine with the smallest load among all available machines.

[0119] For the example shown in Table 1, the solution consists of the machine allocation string [4, 1, 2, 4, 4, 1, 2, 3, 1, 4, 2, 1, 3, 1, 1, 1, 2, 3, 3, 3] and the scheduling string [0.45, 0.70, 0.95, 0.10, 0.25, 0.90, 1.00, 0.30, 0.65, 0.40, 0.50, 0.85, 0.20, 0.75, 0.80, 0.55, 0.60, 0.15, 0.05, 0.35]. It can be found that J2, J6, J9, J 12 ,J 14 ,J 15 ,J 16 Assigned to machine M 111 Upper, M 112 The workpieces processed are J3, J7, J 11 ,J 17 ,J8,J 13 ,J 18 ,J 19 ,J 20 Assigned to M 211 On, machine M 212 The workpiece to be processed is J8,J 13 ,J 18 ,J 19 ,J 20 ;M 111 The workpiece arrangement is J 16 ,J9,J2,J 14 ,J 15 ,J 12 ,J6.

[0120] As shown above, first arrange the processing of the workpieces in the first stage of each factory, and then process the processing of the workpieces in the second stage of each factory according to step 2. Taking the second stage of factory 1 as an example, the arrangement of all workpieces in the factory is J 11 ,J 16 ,J 17 ,J9,J2,J 14 ,J 15,J 12 ,J6,J3,J7. Starting from the first workpiece in the arrangement, arrange the workpieces in order. 11 , M 121 and M 122 For the same minimum available time, select the M with the smaller number. 121 As J 11 About J 16 , M 121 Load ratio M 122 Big, so J 16 Select Machine M 122 The remaining workpieces are assigned to machines in the same way. The Gantt chart corresponding to this example is shown in the attached figure. Figure 2 shown.

[0121] (2) Population division

[0122] To construct the meme group, the population division process is as follows:

[0123] 1) Determine the number of meme groups to be constructed based on the results of population reconstruction and the corresponding Then let The set of solutions is U;

[0124] 2) Let h = 1, and repeat the following binary tournament selection process until The solution is assigned to meme group: randomly select two solutions x1,x2∈U; if x1 dominates x2, assign x1 to the meme group If x2 dominates x1, assign x2 to the meme group If x1 and x2 do not dominate each other, then randomly select one from x1 and x2 and assign it to the meme group h=h+1, delete the selected solution from U.

[0125] When the initial population P is divided into populations, After the first population division, some meme groups do not participate in population reconstruction. is smaller than s, Less than N.

[0126] (3) Dynamic meme group search

[0127] The quality q of solution i i The definition is as follows:

[0128] q i =|{x j ∈P|x i Cannot control x j}|

[0129] where x i Cannot control x j Point to x j dominatex i or x j With x i No domination, q i It can also be seen as not being able to control x i The number of solutions.

[0130] Meme Group M i The solution quality of is calculated as follows:

[0131]

[0132] The detailed process of meme group search is described as follows:

[0133] 1) Calculate each meme group M i Quality mq i , where i = 1, 2, ..., s. All meme groups are based on mq i Sort in descending order. Assume that the quality of the sorted meme group satisfies the following relationship: mq1≥mq2≥…≥mq s .

[0134] 2) For each meme group M i , let w=1.

[0135] If i≤2, perform the following steps:

[0136] 2.1) For M i Perform non-dominated sorting on all solutions in ;

[0137] 2.2) Randomly select a non-dominated solution x b ∈M i and x∈M i , x≠x b , for x b and x to perform a global search. If the new solution z satisfies the replacement criteria, use x b Replace z, update the external file Ω, and go to step (2.4);

[0138] 2.3) For x b Perform multi-neighborhood search, generate a new solution z, and determine whether the replacement condition is met. If so, use x b Replace z and update the external archive Ω;

[0139] 2.4)w=w+1, if w≤μ, go to step (2.1).

[0140] If i>2, perform the following steps:

[0141] 2.5) For Mi Perform non-dominated sorting on all solutions in;

[0142] 2.6) Randomly select a non-dominated solution x b ∈M i and x∈M i-1 ∪M i-2 , x≠x b , for x b and x to perform a global search. If the new solution z satisfies the replacement criteria, use x b Replace z, update the external file Ω, and go to step (2.8);

[0143] 2.7) For x b Perform multi-neighborhood search to generate a new solution z and determine whether the replacement condition is met. If so, use x b Replace z and update the external archive Ω;

[0144] 2.8)w=w+1, if w≤μ, go to step (2.5).

[0145] Where μ refers to the number of meme group searches, and the replacement condition is: the solution z dominates x b or z and x b They are not dominated by each other.

[0146] The detailed steps of global search are as follows: For the solution x b and x, generate a random number rand∈[0,1], if rand<α1, perform a two-point crossover on the scheduling string, otherwise, perform a two-point crossover on the machine allocation string. α1 represents the probability of performing a crossover on the scheduling string.

[0147] Taking the machine allocation string as an example, the two-point crossover process is as follows: randomly select two positions k1 and k2 (k1<k2), solve x b The genes between k1 and k2 in are arranged in the order of the same genes in x.

[0148] Since the scheduling subproblem is more complex than the machine allocation subproblem, α1>0.5 is set so that the scheduling subproblem can obtain more computing resources. α1=0.7 is determined by experiments.

[0149] Design 4 kinds of neighborhood structures N1, N2, N3, and N4. The description of neighborhood structure N1 is as follows: Determine the factory f with the longest completion time, and randomly select a job J from this factory i , randomly transfer the workpiece to any machine in the first stage of other factories. Change to another machine, e i Re-randomize.

[0150] The steps of the neighborhood structure N2 are as follows: Determine the factory f1 with the longest completion time and another randomly selected factory f2, f1≠f2. Select two workpieces J from f1 and f2 respectively. i and J j , exchange the positions of the two workpieces, that is, the values ​​of the machine allocation strings corresponding to the two workpieces are exchanged with each other.

[0151] Neighborhood structures N3 and N4 are similar to neighborhood structures N1 and N2, except that when selecting factories f1 and f2, the reference target value is the total delay time instead of the maximum completion time.

[0152] Solution x b The specific steps for performing multi-neighborhood search are as follows: Let β = 1, r = 1, and repeat the following steps until β > R or a new solution can replace x b : Generate a new solution z∈N r (x b ), if z satisfies the replacement criteria, replace x with z b and update the external file; otherwise, β=β+1, r=r+1. If r=5, let r=1. Where R is an integer, N r (x b ) represents x b Using the neighborhood structure N r The new solution generated.

[0153] The external file Ω is used to store the non-dominated solution set of DSFLA. When a solution z satisfies the replacement criterion, z is added to Ω, and the solutions in Ω are compared pairwise to remove the dominated solutions in Ω.

[0154] For DSFLA that considers the quality of meme groups, meme groups are divided into two categories according to their quality: M i ,i≤2 and M i ,i>2. For the first type of meme group, when performing a global search, the solution x is selected from the current meme group. For the second type of meme group, x is selected from M i-1 ∪M i-2 The quality of the meme group determines the selected learning object x. Existing research on SFLA has not considered the quality of the meme group, and the search strategy of all meme groups is the same.

[0155] (4) Dynamic population reconstruction

[0156] After the meme group performs global search and multi-neighborhood search, the evolutionary quality of the meme group is evaluated. During the meme group search, if the meme group M i There are many new solutions that meet the replacement criteria, indicating that M iThe evolutionary quality of the meme groups is higher. Since the reconstruction process will change the structure of the solutions within the meme groups, excluding the meme groups with higher evolutionary quality from the population reconstruction will help to further utilize these meme groups to produce higher quality solutions.

[0157] In DSFLA considering the quality of meme groups, meme group M i The evolutionary quality eq i The definition is as follows:

[0158] eq i =EN i / TN i

[0159] Among them EN i and TN i Respectively represent the M in the meme group search process i The number of valid searches and the total number of searches.

[0160] Execution Meme Group M i During the search process, shilling EN i =1,TN i = 1. During the search process, if a new solution is generated by global search or multi-neighborhood search, then TN i =TN i +1; if the generated new solution meets the replacement criteria, then EN i =EN i +1.

[0161] The population reconstruction is described as follows:

[0162] 1) Calculate each meme group M i The evolutionary quality eq i ;

[0163] 2) Create a set G = {M i |eq i >α2};

[0164] 3) Order

[0165] 4) Merger meme groups form the set U.

[0166] Here, α2 is a real number, and experiments show that α2=0.1 has a better effect.

[0167] (5) Description of dual-objective scheduling optimization method

[0168] The steps of the dual-objective scheduling optimization method are as follows:

[0169] 1) Initialization. Randomly generate an initial population P containing N solutions, and let

[0170] 2) Population division. The solution is assigned to meme group.

[0171] 3) Meme group search. A search process is performed on all meme groups based on their quality.

[0172] 4) Population reconstruction. Determine the population involved in the reconstruction. meme groups, using The solution is constructed into a new population P, and then divided again Meme group.

[0173] 5) If the termination condition is not met, go to (2), otherwise terminate the search process.

[0174] 6) Output external file Ω.

[0175] The termination condition is the number of solution evaluations max_it.

[0176] (5) Experimental verification

[0177] 66 instances are randomly generated, expressed as n×S×f, and the relevant description of the instance is as follows il ∈[10,80],u 0il ,u jil ∈[5,10], d i ∈[d min ,d max ], When S=2, ml={3,3}; if S=4, ml={3,3,4,2}; if S=8, ml={3,3,4,2,4,3,3,2}. The parameters of the frog leaping algorithm are set as follows: N=60, s=6, μ=100, max_it=10 5 .

[0178] From Table 2, Table 3, Figure 3 and Figure 4 It can be seen from the calculation results that the dual-objective scheduling optimization method for solving distributed hybrid flow workshops involved in the present invention has significant advantages. Where D, D1, D2, D3, C, N and A represent DSFLA, DSFLA1, DSFLA2, DSFLA3, CMA, NSGA-II and MODABC / D respectively.

[0179] Table 2 All algorithms regarding the DI indicator R The calculation results

[0180]

[0181] Table 3 Calculation results of all algorithms on index C

[0182]

[0183] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention (including the claims) is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.

[0184] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A dual-objective scheduling optimization method for solving distributed hybrid flow workshops, characterized in that: The following steps are involved: A. Initialize the encoded dual-objective scheduling optimization model with n workpieces and W1 parallel machines in the first stage, and randomly generate The initial population P of solutions, let B. Population division: the resulting The solution is assigned to meme group; C. Meme group search: Perform a search process on all meme groups based on their quality; D. Population reconstruction: Determine the population involved in the reconstruction meme groups, using The solution is constructed into a new population P, and then divided again meme groups; F. Determine whether the termination condition is met. If so, terminate the search process and output the external file. If not, repeat steps B to D. G. Decode the solution in the external archive to obtain the dual-objective scheduling optimization result; The population division process includes: Determine the number of meme groups that need to be constructed based on the results of population reconstruction and the corresponding A solution, let The set of solutions is U; Let h = 1, and repeat the following binary tournament selection process until The solution is assigned to meme group: randomly select two solutions x1,x2∈U; if x1 dominates x2, assign x1 to the meme group If x2 dominates x1, assign x2 to the meme group If x1 and x2 do not dominate each other, then randomly select one from x1 and x2 and assign it to the meme group h=h+1, delete the selected solution from U; The process of meme group search includes: a. Calculate each meme group M i Quality mq i , where i = 1, 2, ..., s, all meme groups according to mq i Sort in descending order; b. For each meme group M i , let w = 1; If i≤2, perform the following steps: b1. For M i Perform non-dominated sorting on all solutions in ; b2. Randomly select a non-dominated solution x b ∈M i and x∈M i , x≠x b , for x b Perform a global search with x. If the new solution z satisfies the replacement criteria, use x b Replace z, update the external file Ω, and go to step b4; b3. for x b Perform multi-neighborhood search, generate a new solution z, and determine whether the replacement condition is met. If so, use x b Replace z and update the external archive Ω; b4.w=w+1, if w≤μ, go to step b1, If i>2, perform the following steps: b5. To M i Perform non-dominated sorting on all solutions in; b6. Randomly select a non-dominated solution x b ∈M i and x∈M i-1 ∪M i-2 , x≠x b , for x b Perform a global search with x. If the new solution z satisfies the replacement criteria, use x b Replace z, update the external file Ω, and go to step b8; b7. x b Perform multi-neighborhood search to generate a new solution z and determine whether the replacement condition is met. If so, use x b Replace z and update the external archive Ω; b8.w=w+1, if w≤μ, go to step b5, Where μ refers to the number of meme group searches, and the replacement condition is: the solution z dominates x b or z and x b They are not dominated by each other; The global search step includes: For the solution x b and x, generate a random number rand∈[0,1], if rand<α1, perform a two-point crossover on the scheduling string, otherwise, perform a two-point crossover on the machine allocation string, where α1 represents the probability of performing a crossover on the scheduling string; The population reconstruction process includes: Calculate each meme group M i The evolutionary quality eq i ; Create a set G = {M i |eq i >α2}; make merge meme groups form the set U.

2. The dual-objective scheduling optimization method according to claim 1, characterized in that: The encoding process of the dual-objective scheduling optimization model includes: For a problem with n workpieces, F isomorphic factories, and W1 parallel machines in all factories in the first stage, the solution is expressed as the machine allocation string [ω1,ω2,…,ω n ] and the scheduling string [e1,e2,…,e n ], where ω i Indicates workpiece J i The machines allocated in the first stage, ω i is an integer, ω i ∈[1,W1],e l For workpiece J l The corresponding real number, the scheduling string is a real number string, for workpiece J i ,J i+1 ,…,J j E l Sort in ascending order to get workpiece J i ,J i+1 ,…,J j The processing order on the machine is l∈[i,j],i<j.

3. The dual-objective scheduling optimization method according to claim 2, characterized in that: The process of decoding the solution to the model involves: For each machine M in the first stage f1k , f=1,2…F,k=1,2,…,W1,the set of workpieces of the machine is constructed by the machine allocation string θ k , repeat the following steps until θ k Empty: Determine θ k has the smallest e l Workpiece J l , determine the preparation start time and complete workpiece J l Processing, θ k =θ k \{J l }; For each of the remaining stages, we first construct the sets Θ = {1, 2, ..., n} and Q = {e1, e2, ..., e n }; Then repeat the following steps until Θ is empty: Select the one with the smallest e in Θ l Workpiece J l , using the minimum load rule to move the workpiece J l Assigned to machine M flk , determine the workpiece in M flk Preparation start time and processing J l ,θ k =θ k \{J l } and Q=Q\{e l }.

Citation Information

Patent Citations

  • Meme evolution multiobjective optimization scheduling method based on objective importance decomposition

    CN105488568A

  • Method for solving multi-target flexible job shop scheduling based on artificial bee colony algorithm

    CN113569483A