Multi-target dual-resource constraint flexible job-shop scheduling method considering learning effect

By introducing the hybrid population algorithm and load balancing strategy into dual-resource constrained flexible job shop scheduling, the scheduling problem under worker learning effects and resource constraints is solved, and more efficient multi-objective optimization and resource utilization are achieved.

CN118551983APending Publication Date: 2024-08-27NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 11 Cited by

Patent Information

Application Number
CN202410707888.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The existing dual-resource constrained flexible job shop scheduling algorithm fails to effectively consider the learning effect of workers, resulting in uncontrollable processing time and easy falling into local optimality, thus affecting scheduling efficiency and resource utilization.

Method used

An improved cultural gene algorithm based on mixed populations is used, combined with Jaya operator and genetic operator for individual update, and a multi-rule random redistribution based on load balancing and a knowledge-driven variable neighborhood search strategy are designed to expand the search space and improve convergence efficiency. and local search capabilities.

Benefits of technology

It effectively expands the multi-objective optimization capabilities of DRCFJSP, takes into account worker learning effects, machine energy consumption and worker costs, improves the overall efficiency and resource utilization of the scheduling plan, and avoids illegal solutions and local optimal traps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551983A
    Figure CN118551983A
Patent Text Reader

Abstract

The invention discloses a multi-target dual-resource constraint flexible job-shop scheduling method considering a learning effect, which adopts an improved culture genetic algorithm based on a mixed population to solve a scheduling model, and studies dual-resource constraint flexible job-shop scheduling considering the learning effect by taking the maximum completion time, machine energy consumption and worker cost as targets. A related scheduling model is established, and an improved culture gene algorithm based on a mixed population is provided for solving. In order to improve the efficiency of solving a complex model by an algorithm, a hybrid individual updating strategy fusing a Jaya operator and a genetic operator is designed, the search range of a population is expanded, meanwhile, a multi-rule random redistribution strategy based on load balance is provided, the convergence quality of individuals is improved, and the algorithm is provided for overcoming the defect that the algorithm is prone to falling into local optimum in the later period. A knowledge-driven variable neighborhood search strategy is adopted, and the local search capability is enhanced. And finally, the effectiveness of the algorithm is verified through production instance simulation.
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 optimization, and in particular relates to a multi-objective dual-resource constraint flexible job shop scheduling method considering learning effect. Background Art

[0002] The Flexible Job-shop Scheduling Problem (FJSP) is a classic problem in the field of production scheduling. The Dual Resource Constrained Flexible Job-shop Scheduling Problem (DRCFJSP), as an extension of FJSP, is a typical NP-hard problem. DRCFJSP adds worker flexibility to FJSP. A process needs to select a worker who can operate the machine at the same time as the processing machine in order to complete the process. Compared with FJSP, DRCFJSP is more practical in daily production scheduling, especially for precision processing manufacturing systems that focus on product quality, such as aviation structural parts.

[0003] The learning effect of workers refers to the phenomenon that workers constantly repeat the same or similar work content in daily production activities, so that their own operating experience continues to accumulate, their operating proficiency is improved, and the processing time is reduced. Due to the differences between workers, different workers have different skill levels and learning abilities, which have a direct impact on the actual processing time of the process. In the production system, the learning effect of workers mainly constructs a dynamic curve through four factors: initial skill level, learning ability, task difficulty, and number of operation repetitions. Although this learning effect curve can effectively show the dynamic improvement process of workers' skill levels in the production process, it does not take into account the limitations of the workers themselves, that is, it does not set an upper limit for the workers' production efficiency. In actual production, although workers can improve their corresponding skills through repeated work, their skills will not continue to rise indefinitely with the accumulation of experience. Most workers will maintain their skills at a stable level due to the diminishing marginal effect. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a multi-objective dual-resource constraint flexible job shop scheduling method considering learning effect, and propose an improved memetic algorithm based on hybrid population (Improved Memetic Algorithm Based on Hybrid Population, IHMA) based on the framework of memetic algorithm, and design three improvement strategies. First, in view of the problem that the distribution of frontier solution set is not high due to the single individual update mode of the algorithm, a hybrid individual update strategy based on Jaya operator and genetic operator is designed to expand the search space of the population. Secondly, in view of the disadvantage that the complexity of the dual flexible constraints leads to incomplete convergence of the algorithm, a multi-rule random redistribution strategy based on load balancing is added to improve the evolution level of individuals. Finally, in view of the disadvantage that the algorithm itself is prone to fall into local optimality, a knowledge-driven variable neighborhood search strategy is adopted to prompt the population to jump out of the local optimality.

[0005] In order to solve the above technical problems, the present invention provides a multi-objective dual-resource constraint flexible job shop scheduling method considering learning effect, comprising the following steps:

[0006] Step 1: Establish a multi-objective dual-resource constraint flexible job shop scheduling model considering worker learning effect;

[0007] Step 2, determine the parameters of the improved genetic algorithm based on the mixed population, including the population size popsize, the maximum number of iterations maxgen, the crossover probability pc, and the mutation probability pm; perform the following steps 3 to 11 to solve the scheduling model using the improved genetic algorithm based on the mixed population;

[0008] Step 3: Determine the individual encoding method according to the processing data in the production instance, and initialize and generate the initial population R1(t) as the parent population;

[0009] Step 4: For each individual in the parent population R1(t), a repair-type plug-in active decoding considering the learning effect is used to generate an active scheduling plan. According to the scheduling plan, the three target values ​​of the individual are recorded: maximum completion time, total machine energy consumption, and total worker cost. The individuals in the population R1(t) are quickly non-dominated and sorted. The individuals with dominance level 1 are saved to construct the frontier solution set.

[0010] Step 5: Generate the branch population R2(t) from the parent population R1(t) through the Jaya operator;

[0011] Step 6: Generate the branch population R3(t) from the parent population R1(t) through the genetic operator;

[0012] Step 7: Mix R1(t), R2(t) and R3(t) and perform fast non-dominated sorting, arrange all individuals in order of dominance, save the first popsize individuals to form the offspring population R1'(t) and replace the parent population to obtain the updated parent population R1(t);

[0013] Step 8: Perform a multi-rule random redistribution operation based on load balancing on the individuals of the parent population R1(t) updated in step 7, and update R1(t);

[0014] Step 9: Perform a fast non-dominated sort on the individuals of the parent population R1(t) updated in step 8, select individuals whose dominance level exceeds a preset value according to the population percentage, perform a knowledge-driven variable neighborhood search operation, and update R1(t);

[0015] Step 10: Perform fast non-dominated sorting on the parent population R1(t) updated in step 9, and update the frontier solution set;

[0016] Step 11: Determine whether the current number of iterations t reaches the set number of iterations. If not, then t=t+1, and repeat steps 4-10. If so, output the frontier solution set in the population as the optimal solution set.

[0017] Preferably, in step 1, the process of constructing a multi-objective dual-resource constraint flexible job shop scheduling model is as follows:

[0018] Assume that w workers operate m machines to process n workpieces. i There is a certain η i The process consists of:

[0019] The actual processing time of a process is determined by three factors: the machine, the worker's skill level, and the worker's learning effect. First, the process determines the standard processing time through the assigned machine, then the worker determines the current skill level through the learning effect, and finally, the actual processing time is obtained based on the standard processing time and the worker's current skill level.

[0020] The scheduling goal is to determine the processing order of all processes, allocate machines and workers to each process within the range of optional flexible resource sets, and obtain the best scheduling solution, which is described as follows:

[0021] Based on five factors, namely, workers’ initial skill level, job difficulty, learning ability, number of operation repetitions, and skill upper limit, the following improved learning effect model is obtained:

[0022] β=lg(γ kl ) / lg2;

[0023]

[0024] Among them, β represents the learning factor, γ kl represents the learning rate of the lth worker for the kth machine, γ kl ∈[0,1],T ijkl T represents the actual processing time of the jth process of the i-th workpiece on the k-th machine operated by the l-th worker, ijk represents the standard processing time of the jth process of the i-th workpiece on the k-th machine, represents the initial skill level of the lth worker operating the kth machine, represents the upper limit of the skill of the lth worker operating the kth machine, F is the incompressible factor, expressed as the man-machine ratio, r kl represents the cumulative number of times the lth worker operates the kth machine;

[0025] Construct a multi-objective dual-resource flexible job shop scheduling model with learning effect as the objective function:

[0026] min(f1)=min(max(C i ));

[0027]

[0028] The constraints of the multi-objective dual-resource flexible job shop scheduling model are set as follows:

[0029]

[0030] ST ij +α(1-Y i'j'ijk )≥CT i'j' , which means that the same machine can only process one workpiece at any one time;

[0031] ST ij +α(1-Z i'j'ijl )≥CT i'j' , which means that the same worker can only process one workpiece at any one time;

[0032] It means that any process can only be performed by one worker on one machine;

[0033] ST ij ≥ 0, CT ij ≥0, indicating that the start time and completion time of any process are greater than or equal to 0;

[0034] Where f1, f2, f3 represent the first, second and third objective functions of the scheduling model. The first objective function is the minimum of the maximum completion time of all workpieces, the second objective function is the minimum of the total energy consumption of the machine, and the third objective function is the minimum of the total worker cost; n represents the total number of workpieces, η i represents the total number of processes of the i-th workpiece, m represents the total number of machines, w represents the total number of workers, i,i'=1,2,3,…,n represents the workpiece index, j,j'=1,2,3,…,η i represents the process index, k=1,2,3,…,m represents the machine index, l=1,2,3,…,w represents the worker index; C i represents the completion time of the i-th job; M k represents the kth machine, CM k Indicates M k The completion time, Indicates M k No-load energy consumption, Indicates M k Load energy consumption; W l represents the lth worker, wc l W l Unit cost of ij represents the jth process of the i-th workpiece, ST ij Indicates process O ij Start time, CT ij Indicates process O ij Completion time, ST i(j+1) Indicates process O i(j+1) Start time, CT i'j' Indicates process O i'j' Completion time, α represents an infinite integer, X ijkl =1 indicates process O ij Processed by worker l on machine k, otherwise X ijkl =0, Y i'j'ijk =1 indicates process O ij With O i'j' Processing on machine k and process O i'j' Before O ij Processing, other conditions Y i'j'ijk =0, Z i'j'ijl =1 indicates process O ij With O i'j' Processed by worker l and process O i'j' Before O ij Processing, other cases Z i'j'ijl =0.

[0035] Preferably, in step 3, a three-segment coding method is used to express the individual information in the population. The first segment is the process sorting coding sequence OS, which is used to determine the order of workpiece processing; the second segment is the machine selection coding sequence MS, which indicates the processing machine assigned to the process; the third segment is the worker selection coding sequence WS, which indicates the processing worker selected by the process.

[0036] Preferably, in step 3, the population is initialized, the OS code is generated by random selection, and the MS sequence and the WS sequence are initialized by an improved GLR method of global selection GS, local selection LS and random selection RS based on the consideration of the worker learning effect, with a ratio of 6:3:1.

[0037] Preferably, in step 4, a repair-type insert-type active decoding taking into account the learning effect is adopted, and the processing time of the process in the current scheduling plan is recalculated after the process is inserted and shifted left to generate a corresponding active scheduling plan.

[0038] Preferably, in step 5, a discretized Jaya update operator is used to generate a branch population R2(t) for the parent population R1(t), and the specific process is to traverse all individuals in the parent population R1(t);

[0039] In the individual update process of Jaya operator, X best is a randomly selected individual from the frontier solution set, X worst is a randomly selected individual from the worst Pareto rank individuals in the current population;

[0040] The update process for a single individual is as follows:

[0041] OS serial update process:

[0042] Delete parent individuals P and X worst The same elements at the same position generate the intermediate individual temp, and delete X best The same elements as temp, and finally X best The remaining elements in are assigned to temp in sequence to generate the offspring individual C;

[0043] Update process of MS and WS sequences:

[0044] Delete parent individuals P and X worst The same element at the same position generates the intermediate individual temp, and X best The elements at the corresponding positions are assigned to temp to generate the offspring individual C;

[0045] After the update operation of a single individual is completed, the offspring individual C is stored in the offspring population R2(t). After all individuals in the parent population R1(t) are traversed, the offspring population R2(t) is output.

[0046] Preferably, in step 6, a genetic operator is used to generate a branch population R3(t) from the parent population R1(t), and the specific process includes selection, random parent crossover and multi-level mutation;

[0047] Among them, the individuals in the parent population R1(t) are selected by tournament selection to generate the intermediate population F1(t), two individuals in the intermediate population F1(t) are randomly selected, and a random number between [0,1] is generated at the same time;

[0048] If the random number is less than or equal to the crossover probability pc, the two individuals will perform a crossover operation, and the offspring individuals generated by the crossover will be brought into the intermediate population F2(t). The OS sequence will perform an improved crossover IPOX based on the priority of workpieces, and the MS sequence and WS sequence will perform a random probability crossover RPX. If the random number is greater than the crossover probability pc, the randomly selected individuals will be directly brought into the population F2(t) until the population size of F2(t) is the same as that of R1(t).

[0049] After the crossover operation is completed, the mutation operation is continued, traversing all individuals in the population F2(t), and generating a random number between [0,1] when traversing a single individual;

[0050] If the random number is less than or equal to the mutation probability pm, the individual will perform the mutation operation. For OS sequence, the exchange mutation method is adopted. For MS sequence and WS sequence, random replacement mutation is adopted. After the operation is completed, the individual will be brought into the offspring population R3(t). If the random number is greater than the mutation probability pm, the individual will be directly brought into the offspring population R3(t). After all individuals in F2(t) are traversed, the offspring population R3(t) is output.

[0051] Preferably, in step 7, R1(t), R2(t) and R3(t) are mixed and then fast non-dominated sorting is performed, and all individuals are arranged in order according to the principle of maximum dominance level and the principle of maximum crowding degree under the same dominance level.

[0052] Preferably, in step 8, the load characteristics of all individuals in the population R1(t) are optimized, that is, a multi-rule random redistribution operation based on load balancing is performed on the individuals, and the individuals in the population randomly select one of the four operators L1-L4 for optimization, and the operations performed by each operator are as follows:

[0053] L1: Randomly select a process on the machine with the largest load rate. If there is only one optional machine for this process, reselect it. Otherwise, traverse the optional machines of this process in ascending order of load rate, replace the element value of the MS sequence corresponding to the process position, and select the corresponding worker according to the principle of shortest processing time to replace the element value of the corresponding position of the WS sequence. Finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual target values ​​according to the dominant relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged;

[0054] L2: Randomly select a process from the worker with the largest load rate. If there is only one optional worker for this process, reselect it. Otherwise, traverse the optional workers of this process in ascending order of load rate, replace the element value of the WS sequence corresponding to the process position, and select the corresponding machine according to the principle of shortest processing time, update the element value of the corresponding position of the MS sequence, and finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual target values ​​according to the dominant relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged;

[0055] L3: Randomly select a process on a machine other than the machine with the lowest load rate. If there is no machine with the lowest load rate among the optional machines for this process, reselect it. Otherwise, replace the optional machine of this process with the machine with the lowest load rate, replace the element value of the corresponding process position in the MS sequence, and select the corresponding worker according to the principle of shortest processing time, and replace the element value of the corresponding position in the WS sequence. Finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual target values ​​according to the dominant relationship between the two. If the new individual is superior, replace the original individual with the new individual, otherwise keep the original individual unchanged;

[0056] L4: Randomly select a process from workers other than the worker with the lowest load rate. If there is no worker with the lowest load rate among the available workers for this process, reselect. Otherwise, replace the available machine of this process with the worker with the lowest load rate, replace the element value of the corresponding process position of the WS sequence, and select the corresponding machine according to the principle of shortest processing time, replace the element value of the corresponding position of the MS sequence. Finally, bring the obtained new individual into the decoding operator to obtain the objective function value of the individual, and judge the advantages and disadvantages of the two according to the dominant relationship between the new and old individual objective values. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged.

[0057] Preferably, in step 9, the population R1(t) is fast non-dominated sorted, and the individuals exceeding the preset value after sorting R1(t) are subjected to knowledge-driven variable neighborhood search, and the maximum number of local search iterations is set. The variable neighborhood search is implemented by a threshold method;

[0058] First, multiple neighborhood structures are defined, each corresponding to a method of changing individual information; during the search process, the current individual is brought into different neighborhood structures to generate a new individual, which is then brought into the decoding operator and evaluated through non-adaptive sorting; if the new individual is better than the current individual, the current individual is accepted and updated; otherwise, another neighborhood structure is selected for trial, and the number of iterations is increased by one after all neighborhood structures are tried once. When the maximum number of iterations is met, the search ends and the optimal individual found is output;

[0059] The neighborhood structure design adopts a combination of random search and critical path search. The critical path represents the shortest path of the flexible resource from the start node to the end node. The process on this path is the critical process, and the adjacent multiple critical processes are critical blocks. The individual critical path is obtained through the corresponding scheduling scheme. There are four neighborhood structures N1-N4. The operations performed by each neighborhood structure are as follows:

[0060] N1: Randomly select a process on the critical path, and check whether there is idle time for other optional machines other than the original processing machine in this process so that the process can be shifted left and inserted. If there is idle time that meets the conditions, the insertion is performed. Otherwise, the machine with the smallest load rate is selected to replace the original processing machine of this process to generate a new individual; the obtained new individual is brought into the decoding operator to obtain the objective function value of the individual, and the advantages and disadvantages of the new and old individual objective values ​​are judged according to the dominant relationship between the two. If the new individual is better, the new individual will replace the original individual, otherwise the original individual will remain unchanged;

[0061] N2: Traverse the key blocks in the critical path. If the key block contains more than two processes, exchange the two adjacent processes at the beginning of the key block and the two adjacent processes at the end of the block to generate a new individual. Substitute the obtained new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual objective values ​​according to the dominant relationship between the two. If the new individual is superior, replace the original individual with the new individual, otherwise keep the original individual unchanged.

[0062] N3: Randomly select r3 processes to traverse, and replace the processing machines and workers in each process according to the principle of minimum processing time, minimum machine energy consumption and minimum worker cost. Randomly select one of the three principles for each process to perform the replacement, and finally traverse r3 processes to generate new individuals; bring the obtained new individuals into the decoding operator to obtain the objective function value of the individual, and judge the advantages and disadvantages of the new and old individual target values ​​according to the dominant relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged;

[0063] N4: Randomly select two processes on the OS sequence and swap the positions of the two processes to generate a new individual; bring the new individual into the decoding operator to obtain the individual's objective function value, and judge the superiority of the two according to the dominance relationship between the new and old individual objective values. If the new individual is superior, replace the original individual with the new individual, otherwise keep the original individual unchanged.

[0064] The beneficial effects of the present invention are as follows: on the basis of DRCFJSP, the present invention considers the learning effect of workers, machine energy consumption and worker cost, expands DRCFJSP into a multi-objective DRCFJSP with variable processing time, and specifically designs an improved hybrid genetic algorithm for solving. Firstly, in view of the variable processing time characteristic in the model, the greedy decoding of left shift insertion is improved, which improves the convergence efficiency while avoiding the generation of illegal solutions; the hybrid individual update method of Jaya operator and genetic operator is adopted to expand the search surface of the population in the solution space, which makes up for the deficiency of the single population update method of evolutionary algorithm in multi-objective optimization; according to the load balancing principle and the dual flexibility characteristics of the model, a multi-rule random redistribution strategy containing 4 operators is designed to reduce the load gap between flexible resources, improve the convergence quality of individuals, and solve the problem of incomplete convergence of evolutionary algorithms in solving complex models; the knowledge-driven variable neighborhood search strategy is adopted to implement local search for elite individuals, and further convergence of individuals is achieved through the adjustment evolution of key processes, which enhances the local search ability of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a schematic diagram of the algorithm flow of the present invention.

[0066] Figure 2 It is a schematic diagram of an encoding example of the present invention.

[0067] Figure 3 It is a schematic diagram of IPOX crossover of the present invention.

[0068] Figure 4 It is a schematic diagram of the RPX crossover of the present invention.

[0069] Figure 5 It is a schematic diagram of OS sequence update of discrete Jaya of the present invention.

[0070] Figure 6 Schematic diagram of the update of MS and WS sequences of discrete Jaya of the present invention.

[0071] Figure 7 Schematic diagram of the optimal solution set of the present invention. DETAILED DESCRIPTION

[0072] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0073] The multi-objective dual-resource constraint flexible job shop scheduling method considering learning effect described in the present invention improves the traditional cultural genetic algorithm, designs an individual update strategy based on a mixed population in the global search stage, adds a multi-rule random redistribution strategy based on load balancing, and adopts a variable neighborhood search strategy combining a knowledge-driven neighborhood structure with a random search neighborhood structure in the local search stage. The process is as follows: Figure 1 As shown, the following steps are included:

[0074] Step 1: Establish a multi-objective dual-resource constrained flexible job shop scheduling model considering worker learning effect.

[0075] Step 2: Determine the parameters of the improved genetic algorithm based on mixed population, including the population size popsize, the maximum number of iterations maxgen, the crossover probability pc, and the mutation probability pm; perform the following steps 3 to 12 to solve the scheduling model using the improved genetic algorithm based on mixed population.

[0076] Step 3: Determine the individual coding method based on the processing data. A single individual includes three layers of gene sequences: process sorting OS, machine selection MS, and worker selection WS.

[0077] Step 4: The OS sequence is randomly initialized, and the MS sequence and WS sequence are initialized using GLR hybrid to generate the initial population R1(t) as the parent population.

[0078] Step 5: For each individual in the initial parent population R1(t), a repair-type plug-in active decoding that takes into account the learning effect is used to generate an active scheduling plan. According to the scheduling plan, the three target values ​​of the individual are recorded: maximum completion time, total machine energy consumption, and total worker cost. The individuals in the population R1(t) are quickly non-dominated and sorted, and the individuals with a dominance level of 1 are saved to construct the frontier solution set.

[0079] Step 6: Generate the branch population R2(t) from the parent population R1(t) through the Jaya operator.

[0080] Step 7: Generate the branch population R3(t) from the parent population R1(t) through the genetic operator.

[0081] Step 8: Mix R1(t), R2(t) and R3(t) and perform fast non-dominated sorting, arrange all individuals in order of dominance level, save the first popsize individuals to form the offspring population R1'(t) and replace the parent population to obtain the updated parent population R1(t).

[0082] Step 9: Perform a multi-rule random redistribution operation based on load balancing on the individuals of R1(t) updated in step 8, and update R1(t).

[0083] Step 10: Perform a fast non-dominated sort on the individuals in R1(t) updated in step 9, select the top 10% of elite individuals for a knowledge-driven variable neighborhood search operation, and update R1(t).

[0084] Step 11: Perform fast non-dominated sorting on the individuals of R1(t) updated in step 10 and update the frontier solution set.

[0085] Step 12: Determine whether the current number of iterations t reaches the set number of iterations. If not, then t=t+1, and repeat steps 5-11. If so, output the frontier solution set in the population as the optimal solution set.

[0086] The construction process of the multi-objective dual-resource constraint flexible job shop scheduling model is as follows:

[0087] Assume that w workers operate m machines to process n workpieces. i There is a certain η i It consists of a number of processes.

[0088] The actual processing time of a process is determined by three factors: the machine, the worker's skill level, and the worker's learning effect. First, the process determines the standard processing time through the assigned machine, then the worker determines the current skill level through the learning effect, and finally, the actual processing time is obtained based on the standard processing time and the worker's current skill level.

[0089] The scheduling goal is to determine the processing order of all processes, allocate machines and workers to each process within the range of optional flexible resource sets, and obtain the best scheduling solution, which is described as follows:

[0090] Based on five factors, namely, workers’ initial skill level, job difficulty, learning ability, number of operation repetitions, and skill upper limit, the following improved learning effect model is obtained:

[0091] β=lg(γ kl ) / lg2;

[0092]

[0093] Among them, β represents the learning factor, γ kl represents the learning rate of the lth worker for the kth machine, γ kl ∈[0,1],T ijkl T represents the actual processing time of the jth process of the i-th workpiece on the k-th machine operated by the l-th worker, ijk represents the standard processing time of the jth process of the i-th workpiece on the k-th machine, represents the initial skill level of the lth worker operating the kth machine, represents the upper limit of the skill of the lth worker operating the kth machine, F is the incompressible factor, expressed as the man-machine ratio, r kl Represents the cumulative number of times the lth worker operates the kth machine.

[0094] Construct a multi-objective dual-resource flexible job shop scheduling model with learning effect as the objective function:

[0095] min(f1)=min(max(C i ));

[0096]

[0097] The constraints of the multi-objective dual-resource flexible job shop scheduling model are set as follows:

[0098]

[0099] ST ij +α(1-Y i'j'ijk )≥CT i'j' , which means that the same machine can only process one workpiece at any one time;

[0100] ST ij +α(1-Z i'j'ijl )≥CT i'j' , which means that the same worker can only process one workpiece at any one time;

[0101] It means that any process can only be performed by one worker on one machine;

[0102] ST ij ≥ 0, CT ij ≥0, indicating that the start time and completion time of any process are greater than or equal to 0.

[0103] Where f1, f2, f3 represent the first, second and third objective functions of the scheduling model. The first objective function is the minimum of the maximum completion time of all workpieces, the second objective function is the minimum of the total energy consumption of the machine, and the third objective function is the minimum of the total worker cost; n represents the total number of workpieces, η i represents the total number of processes of the i-th workpiece, m represents the total number of machines, w represents the total number of workers, i,i'=1,2,3,…,n represents the workpiece index, j,j'=1,2,3,…,η i represents the process index, k=1,2,3,…,m represents the machine index, l=1,2,3,…,w represents the worker index; C i represents the completion time of the i-th job; M k represents the kth machine, CM k Indicates M kThe completion time, Indicates M k No-load energy consumption, Indicates M k Load energy consumption; W l represents the lth worker, wc l W l Unit cost of ij represents the jth process of the i-th workpiece, ST ij Indicates process O ij Start time, CT ij Indicates process O ij Completion time, ST i(j+1) Indicates process O i(j+1) Start time, CT i'j' Indicates process O i'j' Completion time, α represents an infinite integer, X ijkl =1 indicates process O ij Processed by worker l on machine k, otherwise X ijkl =0, Y i'j'ijk =1 indicates process O ij With O i'j' Processing on machine k and process O i'j' Before O ij Processing, other conditions Y i'j'ijk =0, Z i'j'ijl =1 indicates process O ij With O i'j' Processed by worker l and process O i'j' Before O ij Processing, other cases Z i'j'ijl =0.

[0104] Finally, the frontier solution set generated by the algorithm for solving the production instance can obtain the corresponding three-dimensional point diagram as follows Figure 7 As shown, the x-axis represents the maximum completion time, the y-axis represents the total energy consumption of the machine, and the z-axis represents the total cost of the workers.

[0105] Coding format: The present invention uses three-segment coding to represent individual information, namely OS, MS and WS, a total of three different gene sequences. Figure 2 The OS part represents the process coding sequence, and the elements in each gene bit represent the workpiece number. Different times the same element appears represent different processes in the same workpiece. The MS part represents the machine coding sequence. Each gene bit represents the processing machine corresponding to each process after all processes are arranged in sequence, and the elements in the gene bit represent the machine number. The WS part represents the worker coding sequence. Each gene bit represents the operator of the processing machine corresponding to each process after all processes are arranged in sequence, and the elements in the gene bit represent the worker number.

[0106] Decoding format: Based on the idea of ​​greedy decoding, the present invention takes into account the process constraints, machine constraints, worker constraints and the learning effect of workers, and designs a repair-type insertion active decoding. The decoding process is specifically to traverse the processes on the OS sequence in turn, and extract the processing machines and workers corresponding to the processes from the MS sequence and the WS sequence. According to the processing order of the processes on the machines and workers, they are divided into four situations, and different operations are performed respectively. If there is no idleness in the machine and the worker, passive scheduling is adopted; if the machine is idle but the worker is not idle, the process is inserted by shifting left in front; if the machine is not idle but the worker is idle, the process is inserted by shifting left in front after the worker is idle; if both the machine and the worker are idle, the process is inserted by shifting left in front after the worker is idle, and the left shift of the worker and the machine is considered. After the left shift insertion, the processing time of the processed process is recalculated and these processes are shifted left in front. When all the processes on the OS sequence are traversed, the corresponding scheduling plan can be generated. Finally, the required objective function is calculated according to the scheduling plan.

[0107] Production example: Based on the actual production data of an aviation equipment manufacturing enterprise, the aviation structural parts production example DHKL01 was obtained after simplification and organization. Table 1 gives the resource constraint information of the process in the DHKL01 example. There are 6 workers and 8 equipment in the workshop, which are divided into 4 equipment groups. The equipment and workers corresponding to each group are different. This production workshop needs to process 8 aviation structural parts. The process flow of each structural part is different. The specific process and equipment processing information are shown in Table 2. The workers in this production workshop have different initial skill levels for operating different equipment, and the learning rate and skill level upper limit of different workers are also different. The corresponding relationship between machines and workers is shown in Table 3. The 8 equipment in the workshop have different no-load energy consumption and load energy consumption, and the unit time cost of the 6 workers is also high and low, as shown in Table 4.

[0108] Table 1 Optional machine and worker information for the process

[0109]

[0110] Table 2 Workpiece processing information of DHKL01

[0111]

[0112]

[0113] Table 3 Correspondence between machines and workers (initial skills / learning rate / skill limit)

[0114]

[0115]

[0116] Table 4 Machine energy consumption and worker cost

[0117]

[0118] Hybrid initialization: The OS sequence of the present invention is generated by random selection (RS), and the MS sequence and WS sequence are generated by the GLR initialization method combining global selection (GS), local selection (LS) and random selection, wherein the global selection method is to set a machine load array, and the value of each bit corresponds to the processing time on the corresponding machine. Randomly select a workpiece in the workpiece set, start from the first process of the current workpiece, select the processing time of all "machine + worker" combinations in the current process plus the corresponding time in the array, and use the "machine + worker" combination with the shortest time as the processing machine and worker of the current process, and add the processing time to the corresponding position in the machine load array, and so on, until the machines and workers of all processes of the current workpiece are allocated, and then randomly select a workpiece to start, until the processes of all workpieces are allocated. There are two differences between local selection and global selection. First, the workpieces in the workpiece set are traversed in order instead of randomly selected, and second, the machine load array will be reset after all processes of any workpiece are allocated. The remaining operations are the same as global search. The usage ratio of the three initialization methods is 6:3:1.

[0119] Fast non-dominated sorting: The present invention evaluates the quality of individuals through fast non-dominated sorting. Fast non-dominated sorting is to assign corresponding dominance levels to individuals through dominance relationships, and sort all individuals in the population. The higher the dominance level, the higher the quality of the individual. In multi-objective optimization problems, a single individual has multiple target values, and the quality of a single individual can be judged by its performance on each target. If an individual A is better than individual B in at least one target and is not inferior to individual B in other targets, it is considered that individual A dominates individual B, that is, the overall quality of A is better than B, and A has a higher dominance level than B. Conversely, if individual A is better than individual B in at least one target, but inferior to individual B in other targets, it is considered that individual A and individual B do not dominate each other, that is, the quality and dominance level of individuals A and B are considered to be the same.

[0120] Initialization and update of the frontier solution set: In the present invention, the frontier solution set is used as an external archive set of the algorithm to store the best individuals. When the algorithm generates the initial population, the population is quickly non-dominated sorted and individuals with a dominance level of 1 are taken to form the initial frontier solution set. The update process of the frontier solution set is to take individuals with a dominance level of 1 in the current population and mix them with individuals in the frontier solution set to form an intermediate population, and then perform a fast non-dominated sort, and take individuals with a dominance level of 1 in the intermediate population to form a new frontier solution set.

[0121] Genetic operator update method: The present invention uses genetic operators as one of the individual update methods, specifically including selection, random parent crossover and multi-level mutation. Among them, tournament selection is used as the selection operator of the algorithm. Three individuals are randomly selected from the parent population, and the best individual among these three individuals is found to enter the crossover pool. If the number of individuals in the crossover pool is the same as that of the parent population, the crossover pool is output as the offspring population. Regarding the crossover method, an improved crossover IPOX based on workpiece priority is used for the OS sequence. The operation process is as follows: Figure 3 As shown. Randomly select two individuals in the population as parent individuals P1 and P2 and initialize the offspring individuals C1 and C2, randomly divide the workpiece set J into two subsets Job1 and Job2, put the workpiece containing Job1 in the parent P1 into the offspring C1, put the workpiece containing Job2 in the parent P2 into the offspring C2, keep the position unchanged, put the workpiece containing Job2 in the parent P1 into the offspring C2, put the workpiece containing Job1 in the parent P2 into the offspring C1, keep the order unchanged. The MS sequence and WS sequence of the present invention both use random probability crossover RPX, and the execution process is as follows Figure 4 As shown. Generate a random number array R1 with a length equal to the total number of processes and a value of 0 or 1, and traverse each value in the random array. If the value is 0, the value of the corresponding gene position of the parent individual P1 is assigned to the offspring individual C1, and the value of the corresponding gene position of the parent individual P2 is assigned to the offspring individual C2. If the value is 1, the value of the corresponding gene position of the parent individual P1 is assigned to the offspring individual C2, and the value of the corresponding gene position of the parent individual P2 is assigned to the offspring individual C1. Regarding the mutation method: the OS sequence is subjected to an exchange mutation method to increase the diversity of the population. Randomly select two positions in the individual P1, exchange the values ​​of the two positions, and then output the individual. For the MS sequence and the WS sequence, the present invention adopts a random replacement mutation. Randomly select r1 variant gene positions in the individual P1, randomly replace the machines and workers on the gene positions, and update the MS sequence and the WS sequence.

[0122] Jaya operator update method: X best is a randomly selected individual from the frontier solution set, X worst is a randomly selected individual from the worst Pareto rank individuals in the current population. The update process of the OS sequence is to delete the parent individual P i With X worst The same elements at the same position generate the intermediate individual temp, and delete X best The same elements as temp, and finally X best The remaining elements in are assigned to temp in sequence to generate the descendant individual C i , the specific process is as follows Figure 5 The update process of MS and WS sequences is to delete the parent individual Pi With X worst The same element at the same position generates the intermediate individual temp, and X best The element at the corresponding position is assigned to temp to generate the offspring individual C i The specific process is as follows Figure 6 shown.

[0123] Multi-rule random redistribution update method: traverse all individuals in the population R1(t), calculate the load rate of each machine and worker in the scheduling plan of a single individual, and after the calculation is completed, randomly bring the individual into one of the operators L1-L4. If the individual is optimized, the individual is updated, otherwise the original individual remains unchanged.

[0124] L1: Randomly select a process on the machine with the highest load rate. If there is only one optional machine for this process, reselect it. Otherwise, traverse the optional machines of this process in ascending order of load rate, replace the element value of the MS sequence corresponding to the process position, and select the corresponding worker according to the principle of shortest processing time to replace the element value of the corresponding position of the WS sequence. Finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the two according to the dominance relationship between the new and old individual target values. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged.

[0125] L2: Randomly select a process from the worker with the largest load rate. If there is only one optional worker for this process, reselect it. Otherwise, traverse the optional workers of this process in ascending order of load rate, replace the element value of the WS sequence corresponding to the process position, and select the corresponding machine according to the principle of shortest processing time, update the element value of the corresponding position of the MS sequence, and finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the pros and cons of the new and old individual target values ​​according to the dominance relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged.

[0126] L3: Randomly select a process on a machine other than the machine with the lowest load rate. If there is no machine with the lowest load rate among the optional machines for this process, reselect it. Otherwise, replace the optional machine for this process with the machine with the lowest load rate, replace the element value of the corresponding process position in the MS sequence, and select the corresponding worker according to the principle of shortest processing time, replace the element value of the corresponding position in the WS sequence. Finally, bring the new individual into the decoding operator to obtain the individual's objective function value, and judge the pros and cons of the new and old individual target values ​​according to the dominance relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged.

[0127] L4: Randomly select a process from workers other than the worker with the lowest load rate. If there is no worker with the lowest load rate among the available workers for this process, reselect. Otherwise, replace the optional machine of this process with the worker with the lowest load rate, replace the element value of the corresponding process position in the WS sequence, and select the corresponding machine according to the principle of shortest processing time, replace the element value of the corresponding position in the MS sequence. Finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the pros and cons of the new and old individual target values ​​according to the dominance relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged.

[0128] Based on the knowledge-driven variable neighborhood search update method: the search steps are as follows:

[0129] Step 1: Set the maximum number of iterations of the variable neighborhood search to Q max , and initialize its number of iterations q = 1.

[0130] Step2: If q<=Q max , go to Step 3, otherwise, go to Step 6.

[0131] Step 3: Define 4 neighborhood structures N(i), (i=1,2,3,4), and set i=1.

[0132] Step 4: Bring the elite individual x into the neighborhood structure N(i) for search. If the solution x' is better than x, set x = x'.

[0133] i=1, otherwise, let i=i+1.

[0134] Step 5: If i<=4, return to Step 3; otherwise, set i=1, q=q+1, and return to Step 2.

[0135] Step 6: Output x.

[0136] The variable neighborhood search based on knowledge drive is adopted, and the maximum number of iterations of local search is set. The variable neighborhood search is implemented by threshold method. First, multiple neighborhood structures are defined, each corresponding to a method of changing individual information; during the search process, the current individual is brought into different neighborhood structures to generate new individuals, and then brought into the decoding operator and evaluated by non-adaptive sorting; if the new individual is better than the current individual, the current individual is accepted and updated; otherwise, another neighborhood structure is selected for trial, and the number of iterations is increased by one after all neighborhood structures are tried once. When the maximum number of iterations is met, the search ends and the optimal individual found is output.

[0137] The neighborhood structure design adopts a combination of random search and critical path search. The critical path represents the shortest path of the flexible resource from the start node to the end node. The process on this path is the critical process, and the adjacent multiple critical processes are critical blocks. The individual critical path is obtained through the corresponding scheduling scheme. There are four neighborhood structures N1-N4. The operations performed by each neighborhood structure are as follows:

[0138] N1: Randomly select a process on the critical path, and check whether there is idle time for other optional machines other than the original processing machine in this process so that the process can be shifted left and inserted. If there is idle time that meets the conditions, the insertion is performed. Otherwise, the machine with the smallest load rate is selected to replace the original processing machine of this process to generate a new individual; the obtained new individual is brought into the decoding operator to obtain the objective function value of the individual, and the advantages and disadvantages of the new and old individual objective values ​​are judged according to the dominant relationship between the two. If the new individual is better, the new individual will replace the original individual, otherwise the original individual will remain unchanged;

[0139] N2: Traverse the key blocks in the critical path. If the key block contains more than two processes, exchange the two adjacent processes at the beginning of the key block and the two adjacent processes at the end of the block to generate a new individual. Substitute the obtained new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual objective values ​​according to the dominant relationship between the two. If the new individual is superior, replace the original individual with the new individual, otherwise keep the original individual unchanged.

[0140] N3: Randomly select r3 processes to traverse, Z represents an integer set. The processing machines and workers of each process are replaced according to the principle of minimum processing time, minimum machine energy consumption and minimum worker cost. A single process randomly selects one of the three principles to perform the replacement. Finally, after traversing r3 processes, a new individual is generated. The new individual is brought into the decoding operator to obtain the objective function value of the individual, and the advantages and disadvantages of the new and old individual objective values ​​are judged according to the dominant relationship between the new and old individual objective values. If the new individual is better, the new individual will replace the original individual, otherwise the original individual will remain unchanged.

[0141] N4: Randomly select two processes on the OS sequence and swap the positions of the two processes to generate a new individual; bring the new individual into the decoding operator to obtain the individual's objective function value, and judge the superiority of the two according to the dominance relationship between the new and old individual objective values. If the new individual is superior, replace the original individual with the new individual, otherwise keep the original individual unchanged.

Claims

1. A multi-objective dual-resource constrained flexible job shop scheduling method considering learning effect, characterized in that: The steps include: Step 1: Establish a multi-objective dual-resource constraint flexible job shop scheduling model considering worker learning effect; Step 2, determine the parameters of the improved genetic algorithm based on mixed population, including population size popsize, maximum number of iterations maxgen, crossover probability pc, and mutation probability pm; Execute the following steps 3 to 11 to solve the scheduling model using the improved genetic algorithm based on the mixed population; Step 3: Determine the individual encoding method according to the processing data in the production instance, and initialize and generate the initial population R1(t) as the parent population; Step 4: For each individual in the parent population R1(t), a repair-type plug-in active decoding considering the learning effect is used to generate an active scheduling plan. According to the scheduling plan, the three target values ​​of the individual are recorded: maximum completion time, total machine energy consumption, and total worker cost. The individuals in the population R1(t) are quickly non-dominated and sorted. The individuals with dominance level 1 are saved to construct the frontier solution set. Step 5: Generate the branch population R2(t) from the parent population R1(t) through the Jaya operator; Step 6: Generate the branch population R3(t) from the parent population R1(t) through the genetic operator; Step 7: Mix R1(t), R2(t) and R3(t) and perform fast non-dominated sorting, arrange all individuals in order of dominance, save the first popsize individuals to form the offspring population R1'(t) and replace the parent population to obtain the updated parent population R1(t); Step 8: Perform a multi-rule random redistribution operation based on load balancing on the individuals of the parent population R1(t) updated in step 7, and update R1(t); Step 9: Perform a fast non-dominated sort on the individuals of the parent population R1(t) updated in step 8, select individuals whose dominance level exceeds a preset value according to the population percentage, perform a knowledge-driven variable neighborhood search operation, and update R1(t); Step 10: Perform fast non-dominated sorting on the parent population R1(t) updated in step 9, and update the frontier solution set; Step 11: Determine whether the current number of iterations t reaches the set number of iterations. If not, then t=t+1, and repeat steps 4-10. If so, output the frontier solution set in the population as the optimal solution set.

2. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 1 is characterized in that: In step 1, the construction process of the multi-objective dual-resource constraint flexible job shop scheduling model is as follows: Assume that w workers operate m machines to process n workpieces. i There is a certain η i The process consists of: The actual processing time of a process is determined by three factors: the machine, the worker's skill level, and the worker's learning effect. First, the process determines the standard processing time through the assigned machine, then the worker determines the current skill level through the learning effect, and finally, the actual processing time is obtained based on the standard processing time and the worker's current skill level. The scheduling goal is to determine the processing order of all processes, allocate machines and workers to each process within the range of optional flexible resource sets, and obtain the best scheduling solution, which is described as follows: Based on five factors, namely, workers’ initial skill level, job difficulty, learning ability, number of operation repetitions, and skill upper limit, the following improved learning effect model is obtained: β=lg(γ kl ) / lg2; Among them, β represents the learning factor, γ kl represents the learning rate of the lth worker for the kth machine, γ kl ∈[0,1],T ijkl T represents the actual processing time of the jth process of the i-th workpiece on the k-th machine operated by the l-th worker, ijk represents the standard processing time of the jth process of the i-th workpiece on the k-th machine, represents the initial skill level of the lth worker operating the kth machine, represents the upper limit of the skill of the lth worker operating the kth machine, F is the incompressible factor, expressed as the man-machine ratio, r kl represents the cumulative number of times the lth worker operates the kth machine; Construct a multi-objective dual-resource flexible job shop scheduling model with learning effect as the objective function: min(f1)=min(max(C i )); The constraints of the multi-objective dual-resource flexible job shop scheduling model are set as follows: ST ij +α(1-Y i'j'ijk )≥CT i'j' , which means that the same machine can only process one workpiece at any one time; ST ij +α(1-Z i'j'ijl )≥CT i'j' , which means that the same worker can only process one workpiece at any one time; It means that any process can only be performed by one worker on one machine; ST ij ≥ 0, CT ij ≥0, indicating that the start time and completion time of any process are greater than or equal to 0; Where f1, f2, f3 represent the first, second and third objective functions of the scheduling model. The first objective function is the minimum of the maximum completion time of all workpieces, the second objective function is the minimum of the total energy consumption of the machine, and the third objective function is the minimum of the total worker cost; n represents the total number of workpieces, η i represents the total number of processes of the i-th workpiece, m represents the total number of machines, w represents the total number of workers, i,i'=1,2,3,…,n represents the workpiece index, j,j'=1,2,3,…,η i represents the process index, k=1,2,3,…,m represents the machine index, l=1,2,3,…,w represents the worker index; C i represents the completion time of the i-th job; M k represents the kth machine, CM k Indicates M k The completion time, Indicates M k No-load energy consumption, Indicates M k Load energy consumption; W l represents the lth worker, wc l W l Unit cost of ij represents the jth process of the i-th workpiece, ST ij Indicates process O ij Start time, CT ij Indicates process O ij Completion time, ST i(j+1) Indicates process O i(j+1) Start time, CT i'j' Indicates process O i'j' Completion time, α represents an infinite integer, X ijkl =1 indicates process O ij Processed by worker l on machine k, otherwise X ijkl =0, Y i'j'ijk =1 indicates process O ij With O i'j' Processing on machine k and process O i'j' Before O ij Processing, other conditions Y i'j'ijk =0, Z i'j'ijl =1 indicates process O ij With O i'j' Processed by worker l and process O i'j' Before O ij Processing, other cases Z i'j'ijl =0.

3. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 2 is characterized in that: In step 3, a three-segment coding method is used to express the individual information in the population. The first segment is the process sorting coding sequence OS, which is used to determine the order of workpiece processing; the second segment is the machine selection coding sequence MS, which indicates the processing machine assigned to the process; the third segment is the worker selection coding sequence WS, which indicates the processing worker selected by the process.

4. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 3 is characterized in that: In step 3, the population is initialized, the OS code is generated by random selection, and the MS sequence and WS sequence are initialized by an improved GLR method of global selection GS, local selection LS and random selection RS based on the consideration of the worker learning effect, with a ratio of 6:3:

1.

5. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 1, characterized in that: In step 4, a repair-type insertion-type active decoding considering the learning effect is adopted. After the process is inserted into the left shift, the processing time of the process in the current scheduling plan is recalculated and shifted left to generate the corresponding active scheduling plan.

6. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 3 or 4, characterized in that: In step 5, the discretized Jaya update operator is used to generate the branch population R2(t) for the parent population R1(t). The specific process is to traverse all individuals in the parent population R1(t); In the individual update process of Jaya operator, X best is a randomly selected individual from the frontier solution set, X worst is a randomly selected individual from the worst Pareto rank individuals in the current population; The update process for a single individual is as follows: OS serial update process: Delete parent individuals P and X worst The same elements at the same position generate the intermediate individual temp, and delete X best The same elements as temp, and finally X best The remaining elements in are assigned to temp in sequence to generate the offspring individual C; Update process of MS and WS sequences: Delete parent individuals P and X worst The same element at the same position generates the intermediate individual temp, and X best The elements at the corresponding positions are assigned to temp to generate the offspring individual C; After the update operation of a single individual is completed, the offspring individual C is stored in the offspring population R2(t). After all individuals in the parent population R1(t) are traversed, the offspring population R2(t) is output.

7. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 3 or 4, characterized in that: In step 6, the parent population R1(t) is subjected to genetic operators to generate the branch population R3(t), and the specific process includes selection, random parent crossover and multi-level mutation; Among them, the individuals in the parent population R1(t) are selected by tournament selection to generate the intermediate population F1(t), two individuals in the intermediate population F1(t) are randomly selected, and a random number between [0,1] is generated at the same time; If the random number is less than or equal to the crossover probability pc, the two individuals will perform a crossover operation, and the offspring individuals generated by the crossover will be brought into the intermediate population F2(t). The OS sequence will perform an improved crossover IPOX based on the priority of workpieces, and the MS sequence and WS sequence will perform a random probability crossover RPX. If the random number is greater than the crossover probability pc, the randomly selected individuals will be directly brought into the population F2(t) until the population size of F2(t) is the same as that of R1(t). After the crossover operation is completed, the mutation operation is continued, traversing all individuals in the population F2(t), and generating a random number between [0,1] when traversing a single individual; If the random number is less than or equal to the mutation probability pm, the individual will perform the mutation operation. For OS sequence, the exchange mutation method is adopted. For MS sequence and WS sequence, random replacement mutation is adopted. After the operation is completed, the individual will be brought into the offspring population R3(t). If the random number is greater than the mutation probability pm, the individual will be directly brought into the offspring population R3(t). After all individuals in F2(t) are traversed, the offspring population R3(t) is output.

8. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 3 or 4, characterized in that: In step 7, R1(t), R2(t) and R3(t) are mixed and then fast non-dominated sorting is performed, and all individuals are arranged in order according to the principle of maximum dominance level and the principle of maximum crowding degree under the same dominance level.

9. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 3 or 4, characterized in that: In step 8, the load characteristics of all individuals in the population R1(t) are optimized, that is, a multi-rule random redistribution operation based on load balancing is implemented on the individuals. The individuals in the population randomly select one of the four operators L1-L4 for optimization. The operations performed by each operator are as follows: L1: Randomly select a process on the machine with the largest load rate. If there is only one optional machine for this process, reselect it. Otherwise, traverse the optional machines of this process in ascending order of load rate, replace the element value of the MS sequence corresponding to the process position, and select the corresponding worker according to the principle of shortest processing time to replace the element value of the corresponding position of the WS sequence. Finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual target values ​​according to the dominant relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged; L2: Randomly select a process from the worker with the largest load rate. If there is only one optional worker for this process, reselect it. Otherwise, traverse the optional workers of this process in ascending order of load rate, replace the element value of the WS sequence corresponding to the process position, and select the corresponding machine according to the principle of shortest processing time, update the element value of the corresponding position of the MS sequence, and finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual target values ​​according to the dominant relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged; L3: Randomly select a process on a machine other than the machine with the lowest load rate. If there is no machine with the lowest load rate among the optional machines for this process, reselect it. Otherwise, replace the optional machine of this process with the machine with the lowest load rate, replace the element value of the corresponding process position in the MS sequence, and select the corresponding worker according to the principle of shortest processing time, and replace the element value of the corresponding position in the WS sequence. Finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual target values ​​according to the dominant relationship between the two. If the new individual is superior, replace the original individual with the new individual, otherwise keep the original individual unchanged; L4: Randomly select a process from workers other than the worker with the lowest load rate. If there is no worker with the lowest load rate among the available workers for this process, reselect. Otherwise, replace the optional machine of this process with the worker with the lowest load rate, replace the element value of the corresponding process position in the WS sequence, and select the corresponding machine according to the principle of shortest processing time, replace the element value of the corresponding position in the MS sequence. Finally, bring the new individual into the decoding operator to obtain the objective function value of the individual, and judge the pros and cons of the new and old individual target values ​​according to the dominance relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged.

10. The multi-objective dual-resource constraint flexible job shop scheduling method according to claim 3 or 4, characterized in that: In step 9, the population R1(t) is quickly non-dominated sorted, and the individuals after sorting R1(t) that exceed the preset value are subjected to knowledge-driven variable neighborhood search, and the maximum number of iterations of local search is set. The variable neighborhood search is implemented using the threshold method; First, multiple neighborhood structures are defined, each corresponding to a method of changing individual information; during the search process, the current individual is brought into different neighborhood structures to generate a new individual, which is then brought into the decoding operator and evaluated through non-adaptive sorting; if the new individual is better than the current individual, the current individual is accepted and updated; otherwise, another neighborhood structure is selected for trial, and the number of iterations is increased by one after all neighborhood structures are tried once. When the maximum number of iterations is met, the search ends and the optimal individual found is output; The neighborhood structure design adopts a combination of random search and critical path search. The critical path represents the shortest path of the flexible resource from the start node to the end node. The process on this path is the critical process, and the adjacent multiple critical processes are critical blocks. The individual critical path is obtained through the corresponding scheduling scheme. There are four neighborhood structures N1-N4. The operations performed by each neighborhood structure are as follows: N1: Randomly select a process on the critical path, and check whether there is idle time for other optional machines other than the original processing machine in this process so that the process can be shifted left and inserted. If there is idle time that meets the conditions, the insertion is performed. Otherwise, the machine with the smallest load rate is selected to replace the original processing machine of this process to generate a new individual; The obtained new individual is brought into the decoding operator to obtain the objective function value of the individual, and the advantages and disadvantages of the new and old individual objective values ​​are judged according to the dominant relationship between the two. If the new individual is better, the new individual will replace the original individual, otherwise the original individual will remain unchanged; N2: Traverse the key blocks in the critical path. If the key block contains more than two processes, exchange the two adjacent processes at the beginning of the key block and the two adjacent processes at the end of the block to generate a new individual. Substitute the obtained new individual into the decoding operator to obtain the objective function value of the individual, and judge the superiority of the new and old individual objective values ​​according to the dominant relationship between the two. If the new individual is superior, replace the original individual with the new individual, otherwise keep the original individual unchanged. N3: Randomly select r3 processes to traverse, and replace the processing machines and workers in each process according to the principle of minimum processing time, minimum machine energy consumption and minimum worker cost. Randomly select one of the three principles for each process to perform the replacement, and finally traverse r3 processes to generate new individuals; bring the obtained new individuals into the decoding operator to obtain the objective function value of the individual, and judge the advantages and disadvantages of the new and old individual target values ​​according to the dominant relationship between the two. If the new individual is better, replace the original individual with the new individual, otherwise keep the original individual unchanged; N4: Randomly select two processes on the OS sequence and swap the positions of the two processes to generate a new individual; bring the new individual into the decoding operator to obtain the individual's objective function value, and judge the superiority of the two according to the dominance relationship between the new and old individual objective values. If the new individual is superior, replace the original individual with the new individual, otherwise keep the original individual unchanged.

Citation Information

Cited By

  • Electricity-carbon double-factor imported uncorrelated parallel machine green scheduling method

    CN119378848A

  • Distributed workshop scheduling method for additive and subtractive composite manufacturing

    CN119536155A

  • A distributed job shop scheduling method for additive and subtractive hybrid manufacturing

    CN119536155B

  • Multi-workshop job task cooperative scheduling method based on tabu search and NSGA-II fusion algorithm

    CN119647681A

  • Flexible assembly job shop green dynamic multi-target scheduling method under personnel learning effect

    CN119739131A