Method for solving flexible workshop scheduling problem based on improved Golden Litsea Optimization algorithm

By combining GLS and RI initialization and new nonlinear convergence factors and improvements to the golden sine algorithm, the Golden Jackal optimization algorithm improves global and local search capabilities in flexible workshop scheduling problems, solves the problem of the algorithm falling into local optimality, and achieves high efficiency Search for the optimal solution.

CN118551966AActive Publication Date: 2024-08-27YANCHENG INST OF TECH +1

Patent Information

Application Number
CN202410608967.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-27
Estimated Expiration
2044-05-16

AI Technical Summary

Technical Problem

The Golden Jackal optimization algorithm is easy to fall into local optimality when solving flexible workshop scheduling problems, and its diversity is limited, making it difficult to effectively search for the global optimal solution.

Method used

A method based on a combination of GLS and RI initialization is used to generate the population, and the golden jackal optimization algorithm is improved by combining the new nonlinear convergence factor and the golden sine algorithm. The global and local search capabilities of the algorithm are improved by iteratively updating machine selection and process sequencing.

Benefits of technology

It improves the global search capability and local search capability of the Golden Jackal optimization algorithm in flexible workshop scheduling problems, ensures the efficiency and accuracy of finding the optimal solution, and provides the best scheduling solution that meets the actual needs of the workshop.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551966A
    Figure CN118551966A
Patent Text Reader

Abstract

The invention provides a method for solving a flexible workshop scheduling problem based on an improved Golden Litsea Optimization algorithm, and the method comprises the steps: generating an initialized population based on the combination of GLS initialization and RI initialization, and calculating the fitness value of an individual in the initialized population; the fitness values of the individuals are compared, and male litsea rotundifolia and female litsea rotundifolia are determined according to the comparison result; setting the current maximum number of iterations as 0, performing position updating on the machine selection part and the process sorting part respectively, performing iterative processing according to a position updating result, and updating the current optimal solution based on an iterative processing result; and judging whether the current iteration meets an iteration termination condition or not, if the current iteration meets the iteration termination condition, outputting an optimal solution, and otherwise, executing the step 3 to carry out next iteration. The global search capability is improved while the local search capability of the Golden Litsea optimization algorithm is improved, and it is ensured that an optimal solution conforming to workshop global deployment is provided for the flexible workshop scheduling problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of scheduling control, and in particular to a method for solving flexible workshop scheduling problems based on an improved golden jackal optimization algorithm. Background Art

[0002] As an extension of the classic job shop scheduling problem (JSP), the Flexible Job Shop Scheduling Problem (FJSP) is widely used in manufacturing operations, chemical industry, assembly and other fields. FJSP is more difficult than JSP because it relaxes the restrictions on processing machines and introduces the decision-making content of the job path. Since FJSP is closer to the actual needs of current factory production, it has become a hot topic in the field of production and assembly scheduling problems in recent years.

[0003] The Golden Jackal Optimization Algorithm (GJO) is one of the swarm intelligence optimization algorithms for solving the flexible workshop scheduling problem. Its main feature is that the entire population is divided into two parts: the golden jackal group and the prey group, and the individual positions of the population are updated in the two stages of searching for prey and encircling prey, so that the algorithm takes into account both global search and local search. The algorithm has certain defects. Since the update of the prey position depends on the male jackal, and under certain conditions, the diversity of the golden jackal is limited, the algorithm is easy to fall into the local optimum. Therefore, the present invention proposes a method for solving the flexible workshop scheduling problem based on the improved golden jackal optimization algorithm. Summary of the invention

[0004] The present invention provides a method for solving the flexible workshop scheduling problem based on an improved golden jackal optimization algorithm, so as to solve the above-mentioned problem.

[0005] The present invention provides a method for solving the flexible workshop scheduling problem based on an improved golden jackal optimization algorithm, comprising:

[0006] Step 1: Generate an initialization population based on the combination of GLS initialization and RI initialization, and calculate the fitness values ​​of individuals in the initialization population;

[0007] Step 2: Compare the fitness values ​​of the individuals, and determine the male golden jackal and the female golden jackal based on the comparison results;

[0008] Step 3: Set the current maximum number of iterations to 0, update the positions of the machine selection part and the process sorting part respectively, perform iterative processing according to the position update results, and update the current optimal solution based on the iterative processing results;

[0009] Step 4: Determine whether the current iteration meets the iteration termination condition. If so, output the optimal solution. Otherwise, execute step 3 for the next iteration.

[0010] Preferably, in a method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm, before executing step 1, the method includes:

[0011] Obtain relevant iteration parameter setting information; wherein the relevant iteration parameters include population size, maximum number of iterations, crossover probability factor, mutation probability factor and initialization rule fusion ratio. Preferably, in a method for solving a flexible workshop scheduling problem based on an improved golden jackal optimization algorithm,

[0012] Before executing step 1, the method includes: improving the golden jackal optimization algorithm based on the new nonlinear convergence factor and the golden sine algorithm. Preferably, in a method for solving the flexible workshop scheduling problem based on the improved golden jackal optimization algorithm,

[0013] Step 3 specifically includes: calculating the fitness value of the individual after the position update according to the decoding strategy, if the fitness value is greater than the current individual, replacing the current individual based on the individual after the position update; performing a crossover mutation operation on the replaced individual, and calculating a new solution of the crossover mutation operation according to the decoding strategy, if the new solution is better than the solution corresponding to the current individual, accepting the new solution as the optimal solution;

[0014] The solution executes the variable neighborhood search strategy, generates a new neighborhood solution and evaluates it. If the new neighborhood solution is better than the current optimal solution, the current optimal solution is updated.

[0015] In the method of solving the flexible workshop scheduling problem using the jackal optimization algorithm,

[0016] When calculating the fitness value of the individual after the position update according to the decoding strategy, if the fitness value is greater than the current individual, the Cauchy-Gauss mutation strategy is used to randomly perturb the optimal individual generated in each iteration in the process of replacing the current individual based on the individual after the position update.

[0017] Preferably, in a method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm, step 1 specifically includes:

[0018] Respectively obtain the machine selection fusion ratios of multiple first target selection rules included in the GLS initialization;

[0019] Respectively obtain the process ranking fusion ratios of multiple second target selection rules included in RI initialization;

[0020] According to the machine selection fusion ratio, the first target selection rule is fused to generate a GLS initialization rule, and the machine selection part of the original population is initialized based on the GLS initialization rule to obtain the machine selection part initialization result;

[0021] According to the process sorting fusion ratio, the second target selection rules are fused to generate RI initialization rules, and the process sorting part of the original population is initialized based on the RI initialization rules to obtain the initialization result of the process sorting part;

[0022] Based on the initialization results of the machine selection part and the process sorting part, an initialization population is obtained;

[0023] Based on the genetic algorithm, the fitness values ​​of individuals in the initialized population are calculated. Preferably, in a method based on

[0024] In the method for solving the flexible shop scheduling problem by improving the golden jackal optimization algorithm, after executing step 1, it includes: intelligently modifying the iterative setting parameters based on the initialization population data,

[0025] Specifically, it includes: determining the number of production adaptation machines for the products to be produced and the types of products to be produced based on the population size setting information;

[0026] Based on the type of product to be produced, obtain the production process of the product to be produced, determine the production process of the product to be produced, and the sequential association relationship between the processes;

[0027] According to the number of production adaptation machines and the sequential association relationship, obtain the historical scheduling processing data corresponding to the machines of similar historical production products;

[0028] Based on historical scheduling processing data, predict the best scheduling strategy for products to be produced;

[0029] According to the optimal scheduling strategy, the optimal solution position is predicted for the current initialized population, and the number of iteration terminations is determined based on the prediction results;

[0030] and comparing the number of iteration terminations with the maximum number of iterations in the relevant iteration parameter setting information to obtain a setting error degree, and when the setting error degree is greater than a preset value, modifying the maximum number of iterations based on the number of iteration terminations;

[0031] Otherwise, the number of iteration terminations is kept unchanged. Preferably, in a method for solving a flexible shop scheduling problem based on an improved golden jackal optimization algorithm, based on historical scheduling processing data, an optimal scheduling strategy for a product to be produced is predicted, including: obtaining multiple optimal selection rankings based on the historical scheduling processing data, and determining multiple different production scheduling sequences based on the optimal selection rankings; comparing multiple different production scheduling sequences to obtain the same scheduling subsequences and different scheduling subsequences;

[0032] Extract scheduling features for different scheduling subsequences respectively, obtain scheduling similar features and compare the features, and schedule similar features;

[0033] Based on the similarity characteristics of the scheduling and the local process characteristics corresponding to the same scheduling subsequence, the sorting order of the initialized population is adjusted to obtain the optimal scheduling strategy.

[0034] Preferably, in a method for solving a flexible shop scheduling problem based on an improved golden jackal optimization algorithm, before executing step 1, the method includes: after a user inputs original population information, obtaining operation and maintenance data of each machine in the original population, and judging whether there is a faulty machine in the original population based on the operation and maintenance data;

[0035] If it exists, the fault operation and maintenance data corresponding to the faulty machine is obtained, and based on the fault operation and maintenance data, the fault location of the faulty machine is determined, and the machine production parts are matched with the production process of the product to be produced to obtain a production operation pairing group;

[0036] Based on the fault location, combined with the production operation pairing group, the abnormal production process is determined; and the production correlation relationship between the faulty machine and the remaining machines is obtained. Based on the production relationship, it is determined whether the faulty machine can perform abnormal production process jump; if it can, the auxiliary machine corresponding to the abnormal production process jump is obtained, and based on the abnormal production process and the auxiliary machine, a process skip label is generated and added to the corresponding machine in the optimal population arrangement sequence;

[0037] Otherwise, a machine fault elimination instruction is generated to eliminate the faulty machine from the optimal population arrangement sequence, and based on the total number of eliminated faulty machines, the population size is adaptively adjusted, and the execution continues; if it does not exist, step 1 is directly executed. Preferably, in a method for solving a flexible workshop scheduling problem based on an improved golden jackal optimization algorithm,

[0038] Iterative processing is performed according to the position update result, including: when a process skip tag is detected in the machine selection part, the abnormal production process corresponding to the current iterative selection machine is automatically replaced with the assisting process corresponding to the assisting machine. Compared with the prior art, the present invention has at least the following beneficial effects:

[0039] The present invention generates an initialized population by combining GLS initialization with RI initialization, calculates the fitness values ​​of individuals in the initialized population, and initializes the original population by combining random inversion with combined heuristic rules, which is beneficial to improving the generation diversity and high quality of the initialized population and providing a basis for the golden jackal to improve the diversity; then the fitness values ​​of the individuals are compared, and according to the comparison results, the male golden jackal (i.e., the optimal individual) and the female golden jackal (i.e., the suboptimal individual) are determined to provide an initial basis for improving the operation of the golden jackal optimization algorithm; then the current maximum number of iterations is set to 0, the positions of the machine selection part and the process sorting part are updated respectively, and iterative processing is performed according to the position update results, and based on the iterative processing results, the current optimal solution is updated; and the judgment Whether the current iteration meets the iteration termination condition, if it meets the iteration termination condition, then output the optimal solution, otherwise execute step 3 for the next iteration; achieve the goal of using multiple strategies to improve the golden jackal optimization algorithm to completely solve the flexible workshop scheduling problem, and at the same time, based on the new nonlinear convergence factor, improve the calculation of the prey loss energy of the golden jackal in the prey search process in the golden jackal optimization algorithm, which is beneficial to improve the global search ability of the golden jackal optimization algorithm; based on the golden sine algorithm, improve the position update formula of the golden jackal in the prey hunting process, which is beneficial to improve the local search ability of the golden jackal optimization algorithm, and search for the optimal solution more efficiently. While improving the local search ability of the golden jackal optimization algorithm, the global search ability is improved to ensure that the best solution that meets the global deployment of the workshop is provided for the flexible workshop scheduling problem.

[0040] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.

[0041] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0043] Figure 1 It is a flow chart of a method for solving the flexible workshop scheduling problem based on the improved golden jackal optimization algorithm of the present invention;

[0044] Figure 2 This is a flow chart of step 3 of a method for solving a flexible shop scheduling problem based on an improved golden jackal optimization algorithm of the present invention;

[0045] Figure 3 Flowchart for the conversion from continuous space to discrete space;

[0046] Figure 4 Flowchart for the conversion from discrete space to continuous space;

[0047] Figure 5 A schematic diagram of the variable neighborhood search strategy of the present invention;

[0048] Figure 6 The present invention is a flowchart of step 1 of a method for solving a flexible shop scheduling problem based on an improved golden jackal optimization algorithm. DETAILED DESCRIPTION

[0049] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0050] Embodiment 1: The present invention provides a method for solving the flexible workshop scheduling problem based on an improved golden jackal optimization algorithm, such as Figure 1 As shown, including:

[0051] Step 1: Generate an initialization population based on the combination of GLS initialization and RI initialization, and calculate the fitness values ​​of individuals in the initialization population;

[0052] Step 2: Compare the fitness values ​​of the individuals, and determine the male golden jackal and the female golden jackal based on the comparison results;

[0053] Step 3: Set the current maximum number of iterations to 0, update the positions of the machine selection part and the process sorting part respectively, perform iterative processing according to the position update results, and update the current optimal solution based on the iterative processing results;

[0054] Step 4: Determine whether the current iteration meets the iteration termination condition. If so, output the optimal solution. Otherwise, execute step 3 for the next iteration.

[0055] Before executing step 1, it includes: obtaining relevant iteration parameter setting information;

[0056] The relevant iteration parameters include population size, maximum number of iterations, crossover probability factor, mutation probability factor and initialization rule fusion ratio;

[0057] Before executing step 1, it includes: improving the golden jackal optimization algorithm based on a new nonlinear convergence factor and a golden sine algorithm.

[0058] In this embodiment, GLS initialization refers to the initialization rule obtained by fusing the global selection (GS) rule, the local selection (LS) rule, and the random selection (RS) rule according to a certain fusion ratio, wherein the sum of the fused person ratios corresponding to the GS rule, the LS rule, and the RS rule is 1.

[0059] GS starts from a global perspective and ensures that the machine with the shortest processing time is given priority to balance the load of the entire processing machine; LS starts from a local perspective and ensures that the process with the shortest processing time in a workpiece is given priority to balance the load on each independent machine; RS uses random initialization to disperse the initialization population throughout the solution space.

[0060] In this embodiment, RI initialization refers to the initialization rule obtained by fusing the two rules of Random Selection (RS) and Invert Selection (IS) according to a certain fusion ratio, wherein the sum of the fusion ratios corresponding to the IS rule and the RS rule is 1.

[0061] RS randomly shuffles the process codes generated in the encoding method, which helps to improve the diversity of the initial population; IS reverses the order of the process codes generated in the encoding method, generates new process plans, and enhances the breadth of the initial population.

[0062] The present invention adopts two-segment integer coding, corresponding to the machine selection part and the process sorting part respectively, and the length of each segment of coding is the total number of workpieces. The first part is the machine selection part code (MS), which is used to determine the processing machine of each process on the workpiece, and the second part is the process sorting code (OS), which is used to determine the order of processing the workpieces:

[0063] The MS part is updated by using a random crossover strategy on the initial population, that is, traversing the entire population, selecting several genes on two individuals in the population for exchange operations under the crossover probability, otherwise the individuals of the initial population are used;

[0064] The OS part adopts a mechanism of mutual conversion between continuous space and discrete space coding, including two steps: conversion from continuous space to discrete space and conversion from discrete space to continuous space, as follows:

[0065] Step A: Conversion from continuous space to discrete space. The specific steps are as follows: Figure 3As shown in the figure: first, randomly select values ​​within the specified range [-m, m] and correspond them to each process one by one, then use the ROV rule (Ranked Order Value, ascending sorting rule) to assign values ​​to each process, that is, sort the generated random numbers in ascending order from small to large and assign element numbers (i.e., ROV values) and element sequence numbers, and finally rearrange the ROV values ​​and element sequence codes according to the original randomly generated random numbers to obtain a new process sorting scheme, where m represents the total number of machines available for selection in the machine selection part;

[0066] Step B: Conversion from discrete space to continuous space. The specific steps are as follows: Figure 4 As shown: First, randomly select values ​​within the specified range [-m, m] and correspond to each process. Then, sort the random numbers in ascending order and assign ROV values ​​and element sequence numbers. Finally, reorder the ROV values ​​according to the process sorting scheme to obtain a continuous space vector.

[0067] Correspondingly, the present invention adopts a two-stage decoding method, and its decoding strategy includes: for the decoding of the machine part, the machine part code is read from left to right and converted into a machine sequence matrix and a time sequence matrix. For the decoding of the process part, the process insertion method is adopted, and the subsequent process is inserted into the idle time period of the corresponding machine as much as possible without changing the scheduled process, so as to shorten the maximum completion time of the corresponding machine.

[0068] The present invention adopts a discrete integer code consisting of two parts to realize the combination of the improved golden jackal optimization algorithm and the flexible workshop scheduling problem.

[0069] In this embodiment, the improvement of the golden jackal optimization algorithm based on the new nonlinear convergence factor refers to improving the calculation of the prey loss energy of the golden jackal in the prey search process in the golden jackal optimization algorithm based on the new nonlinear convergence factor.

[0070] Among them, the new nonlinear convergence factor is calculated as follows:

[0071]

[0072] Among them, E1 represents the new nonlinear convergence factor (i.e., prey loss energy); t represents the current maximum number of iterations of the population; and T represents the maximum number of iterations of the population.

[0073] The improvement of the golden jackal optimization algorithm based on the golden sine algorithm refers to improving the position update formula of the golden jackal in the process of prey hunting based on the golden sine algorithm, and improving the position update formula as follows:

[0074] Y1(t)=|sin(r1)|*prey(t)+sin(r1)*r2*|x1*Y M(t)-x2*prey(t)|

[0075] Among them, Y1(t) represents the updated position of the male golden jackal, and Y2(t) represents the updated position of the female golden jackal; r1 is a random number with a value range of [0, 2π]; r2 is a random number in the range of [0, π]; x1 and x2 are the coefficients obtained by introducing the golden section, x1 = π*(1-μ) + (-π*μ), x2 = -π*(1-μ) + (π*μ); μ represents the golden section number, Prey(t) represents the prey position vector; Y M (t) indicates the current position of the male golden jackal; Y FM (t) indicates the current position of the female golden jackal.

[0076] The beneficial effects of the above technical solution are as follows: the present invention generates an initialized population by combining GLS initialization with RI initialization, calculates the fitness values ​​of individuals in the initialized population, and initializes the original population by combining random inversion with combined heuristic rules, which is beneficial to improving the generation diversity and high quality of the initialized population, and provides a basis for the golden jackal to improve the diversity; then the fitness values ​​of the individuals are compared, and based on the comparison results, the male golden jackal (i.e., the optimal individual) and the female golden jackal (i.e., the suboptimal individual) are determined to provide an initial basis for improving the operation of the golden jackal optimization algorithm; then the current maximum number of iterations is set to 0, the positions of the machine selection part and the process sorting part are updated respectively, and iterative processing is performed according to the position update results, and based on the iterative processing results, the current optimal solution is updated; the current iteration is judged Whether the iteration termination condition is met, if the iteration termination condition is met, the optimal solution is output, otherwise step 3 is executed for the next iteration; the goal of using multiple strategies to improve the golden jackal optimization algorithm to completely solve the flexible workshop scheduling problem is achieved, and at the same time, based on the new nonlinear convergence factor, the calculation of the prey loss energy of the golden jackal in the prey search process in the golden jackal optimization algorithm is improved, which is beneficial to improve the global search ability of the golden jackal optimization algorithm; improving the golden jackal optimization algorithm based on the golden sine algorithm means improving the position update formula of the golden jackal in the prey hunting process based on the golden sine algorithm, which is beneficial to improve the local search ability of the golden jackal optimization algorithm, and more efficiently search for the optimal solution. While improving the local search ability of the golden jackal optimization algorithm, the global search ability is improved to ensure that the best solution that meets the global deployment of the workshop is provided for the flexible workshop scheduling problem.

[0077] Embodiment 2:

[0078] Based on Example 1, step 3, as Figure 2 As shown, specifically including:

[0079] Step 301: Calculate the fitness value of the individual after the position is updated according to the decoding strategy. If the fitness value is greater than the current individual, replace the current individual based on the individual after the position is updated.

[0080] Step 302: Perform a crossover mutation operation on the replaced individual, and calculate a new solution of the crossover mutation operation according to a decoding strategy. If the new solution is better than the solution corresponding to the current individual, the new solution is accepted as the optimal solution.

[0081] Step 303: Execute the variable neighborhood search strategy on the optimal solution, generate a new neighborhood solution and evaluate it. If the new neighborhood solution is better than the current optimal solution, the current optimal solution is updated.

[0082] In this embodiment, for the crossover operation, the machine selection part selects random reserved crossover under the crossover probability, and the process sorting part selects the improved reserved process sequence crossover operation under the crossover probability. For the mutation operation, the machine selection part adopts the single point mutation method under the mutation probability. And the process sorting part adopts the nearest neighbor mutation method under the mutation probability.

[0083] In this embodiment, the variable neighborhood search strategy refers to changing the order of different processes on the critical path without changing the selection of the corresponding critical process processing machine. The present invention designs different neighborhood structures according to the position and number of key blocks (multiple non-interval key processes on the same machine constitute a key block), specifically Figure 5 As shown:

[0084] 1) If the starting key block includes more than two processes, only the two processes connected at the end of the block are exchanged. If the two connected processes belong to the same workpiece, they are not exchanged;

[0085] 2) If the internal key block contains three or more processes, swap the block head with the second to last process, and swap the block tail with the second process. ;

[0086] 3) If the last key block contains more than two processes, only the two processes connected at the beginning of the block are exchanged. If the two connected processes belong to the same workpiece, they are not exchanged.

[0087] Among them, the critical path refers to the longest path from the first process to the last process of the machine in a FJSP feasible scheduling plan without any idle time in between;

[0088] Each process on the critical path is called a critical process. The beneficial effects of the above technical solution are:

[0089] First, the fitness value of the individual after the position update is calculated according to the decoding strategy. If the fitness value is greater than the current individual, the current individual is replaced based on the individual after the position update; then the crossover mutation operation is performed on the replaced individual, and the new solution of the crossover mutation operation is calculated according to the decoding strategy. If the new solution is better than the solution corresponding to the current individual, the new solution is accepted as the optimal solution; finally, the variable neighborhood search strategy is performed on the optimal solution to generate a new neighborhood solution and evaluate it. If the new neighborhood solution is better than the current optimal solution, the current optimal solution is updated, and the iterative process is executed to realize the automatic selection of the optimal solution. Genetic operations such as random retention crossover and single-point mutation are introduced during the iterative execution process, which is beneficial to improve the local search ability of the golden jackal optimization algorithm; the variable neighborhood operation strategy based on the critical path is used to deeply mine the optimal individual after each iteration, which is beneficial to expand the golden jackal search space, avoid excessive local optimization, and provide a solution strategy that is more in line with the global deployment of the workshop for the scheduling problem of the flexible workshop.

[0090] Embodiment 3:

[0091] On the basis of Example 2, the fitness value of the individual after the position is updated is calculated according to the decoding strategy. If the fitness value is greater than the current individual, the current individual is replaced based on the individual after the position is updated. In the process, the Cauchy-Gaussian mutation strategy is used to randomly perturb the optimal individual generated in each iteration.

[0092] In this embodiment, the Cauchy-Gaussian variation formula is as follows:

[0093] Y new (t)=Y(t)[1+λ1cauchy(0,1)+(1-λ1)Gauss(0,1)]

[0094] Where Y(t) represents the optimal individual generated after each iteration, λ1 represents the adaptive adjustment parameter, cauchy(0,1) and Gauss(0,1) represent random numbers that obey the Cauchy distribution and Gaussian distribution, respectively.

[0095] The beneficial effects of the above technical solution are as follows: when calculating the fitness value of the individual after the position update according to the decoding strategy, if the fitness value is greater than the current individual, the current individual is replaced based on the individual after the position update. In the process, the Cauchy-Gaussian mutation strategy is used to randomly perturb the optimal individual generated in each iteration. The optimal individual is perturbed by the new Cauchy-Gaussian mutation strategy, which effectively avoids local stagnation of the golden jackal optimization algorithm.

[0096] Embodiment 4:

[0097] On the basis of Example 1, step 1, such as Figure 6 As shown, specifically including:

[0098] Step 101: respectively obtaining machine selection fusion ratios of multiple first target selection rules included in GLS initialization;

[0099] Respectively obtain the process ranking fusion ratios of multiple second target selection rules included in RI initialization;

[0100] Step 102: According to the machine selection fusion ratio, the first target selection rule is fused to generate a GLS initialization rule, and the machine selection part of the original population is initialized based on the GLS initialization rule to obtain a machine selection part initialization result;

[0101] Synchronously, according to the process sorting fusion ratio, the second target selection rule is fused to generate the RI initialization rule, and the process sorting part of the original population is initialized based on the RI initialization rule to obtain the initialization result of the process sorting part;

[0102] Step 103: Based on the initialization results of the machine selection part and the initialization results of the process sorting part, an initialization population is obtained;

[0103] Step 104: Based on the genetic algorithm, calculate the fitness value of individuals in the initialized population.

[0104] Beneficial effects of the solution: The present invention adopts a fusion of multiple selection rules to generate an initialization strategy that combines random inversion and combined heuristic rules, and uses this initialization strategy to initialize the machine selection part and the process sorting part with different rules respectively, which is conducive to generating a high-quality and diverse initial population and improving the solution efficiency of the subsequent golden jackal optimization algorithm.

[0105] Embodiment 5:

[0106] On the basis of Example 1, after executing step 1, it includes: based on the initialization population data, intelligently modifying the iteration setting parameters, specifically including: based on the population size setting information, determining the number of production adaptation machines for the product to be produced and the type of product to be produced;

[0107] Based on the type of product to be produced, obtain the production process of the product to be produced, determine the production process of the product to be produced, and the sequential association relationship between the processes;

[0108] According to the number of production adaptation machines and the sequential association relationship, obtain the historical scheduling processing data corresponding to the machines of similar historical production products;

[0109] Based on historical scheduling processing data, the optimal scheduling strategy for the products to be produced is predicted;

[0110] The optimal scheduling strategy is used to predict the optimal solution position of the current initialized population, and the number of iteration terminations is determined based on the prediction results; and the number of iteration terminations is compared with the maximum number of iterations in the relevant iteration parameter setting information to obtain the setting error degree. When the setting error degree is greater than the preset value, the maximum number of iterations is modified based on the number of iteration terminations;

[0111] Otherwise, the number of iteration terminations is kept unchanged. In this embodiment, the product to be produced refers to the product to be produced corresponding to the flexible workshop scheduling problem. In this embodiment, the production-adapted machine refers to the machine in the workshop that can complete the production of the product to be produced. In this embodiment, the number of iteration terminations refers to the predicted optimal number of iterations of the current initialized population. In this embodiment, the setting error degree refers to the ratio of the difference between the number of iteration terminations and the maximum number of iterations to the number of iteration terminations. Beneficial effects of the above technical solution: After obtaining the initialized population, the present invention determines the number of production-adapted machines for the product to be produced and the type of product to be produced based on the population size setting information;

[0112] Based on the type of product to be produced, obtain the production process of the product to be produced, determine the production process of the product to be produced, and the sequential association relationship between the processes;

[0113] According to the number of production adaptation machines and the sequential association relationship, obtain the historical scheduling processing data corresponding to the machines of similar historical production products;

[0114] Based on historical scheduling processing data, the optimal scheduling strategy for the products to be produced is predicted;

[0115] The optimal scheduling strategy predicts the optimal solution position for the current initialized population, and determines the number of iteration terminations based on the prediction results; and compares the number of iteration terminations with the maximum number of iterations in the relevant iteration parameter setting information to obtain the setting error degree. When the setting error degree is greater than the preset value, the maximum number of iterations is modified based on the number of iteration terminations; otherwise, the number of iteration terminations is kept unchanged. The intelligent modification of the number of iterations according to the population data of the golden jackal optimization algorithm is realized, which ensures the optimal solution to the flexible workshop scheduling problem while reducing the number of invalid iterations, and effectively improves the efficiency of solving the scheduling problem.

[0116] Embodiment 6:

[0117] On the basis of Example 5, based on the historical scheduling processing data, the optimal scheduling strategy for the product to be produced is predicted, including:

[0118] Based on historical scheduling processing data, multiple optimal selection rankings are obtained, and multiple different production scheduling sequences are determined based on the optimal selection rankings;

[0119] Compare multiple different production scheduling sequences to obtain the same scheduling subsequences and different scheduling subsequences;

[0120] Extract scheduling features for different scheduling subsequences respectively, obtain scheduling similar features and compare the features, and schedule similar features;

[0121] Based on the similarity characteristics of the scheduling and the local process characteristics corresponding to the same scheduling subsequence, the sorting order of the initialized population is adjusted to obtain the optimal scheduling strategy.

[0122] In this embodiment,

[0123] The beneficial effects of the above technical solution are as follows: the present invention obtains multiple optimal selection rankings based on historical scheduling processing data, and determines multiple different production scheduling sequences based on the optimal selection rankings; compares multiple different production scheduling sequences to obtain the same scheduling subsequences and different scheduling subsequences; extracts scheduling features from different scheduling subsequences respectively to obtain scheduling similar features and compares the features to obtain scheduling similar features; based on the scheduling similar features and the local process features corresponding to the same scheduling subsequences, adjusts the sorting order of the initialized population to obtain the optimal scheduling strategy, realizes the prediction of the optimal scheduling strategy for the products to be produced through historical scheduling processing data, and provides a basis for intelligent modification of the number of iterations.

[0124] Embodiment 7:

[0125] On the basis of Example 1, before executing step 1, it includes: after the user inputs the original population information, obtaining the operation and maintenance data of each machine in the original population, and judging whether there is a faulty machine in the original population based on the operation and maintenance data; if there is, obtaining the fault operation and maintenance data corresponding to the faulty machine, determining the fault location of the faulty machine based on the fault operation and maintenance data, matching the machine production parts with the production process of the product to be produced, and obtaining a production operation pairing group;

[0126] Based on the fault location, combined with the production operation pairing group, the abnormal production process is determined; and the production correlation relationship between the faulty machine and the remaining machines is obtained. Based on the production relationship, it is determined whether the faulty machine can perform abnormal production process jump; if it can, the auxiliary machine corresponding to the abnormal production process jump is obtained, and based on the abnormal production process and the auxiliary machine, a process skip label is generated and added to the corresponding machine in the optimal population arrangement sequence;

[0127] Otherwise, a machine fault elimination instruction is generated to eliminate the faulty machine from the optimal population arrangement sequence, and based on the total number of eliminated faulty machines, the population size is adaptively adjusted and the execution continues;

[0128] If it does not exist, directly execute step 1. In this embodiment, the operation pairing group refers to the pairing group formed by the one-to-one correspondence between the components processed and produced by each part of the machine and the process of the product to be produced. In this embodiment, the abnormal production process refers to the process that the faulty machine cannot complete. In this embodiment, the remaining machines refer to other machines in the workshop except the current faulty machine.

[0129] In this embodiment, the generation association relationship refers to whether the products generated by different machines can be exchanged with each other at a certain process, or whether one machine can take over the current production results of another machine to continue the remaining processes, or can produce part of the remaining processes and then transfer them back to the original machine production line.

[0130] In this embodiment, the assisting machine refers to other machines that have a generated association relationship with the faulty machine.

[0131] In the embodiment, the process skipping label refers to the label carried by the faulty machine that needs to skip the abnormal production process and assist the machine to complete the abnormal production process.

[0132] For all machines in the original population before executing step

[0133] Screening is carried out to propose unusable faulty machines to avoid the situation where the optimal solution to the lucky shop scheduling problem obtained by the golden jackal optimization algorithm is an invalid solution. At the same time, machines that can make some processes fail are retained, which is conducive to improving population diversity.

[0134] Embodiment 8:

[0135] Based on Embodiment 7, iterative processing is performed according to the position update result, including: when the machine

[0136] When the selection part detects a process skip tag, it automatically replaces the abnormal production process corresponding to the current iteration selected machine with the assisting process corresponding to the assisting machine.

[0137] Effect: When the machine selection part of the present invention detects a process skip label, it automatically replaces the abnormal production process corresponding to the current iteratively selected machine with the assisting process corresponding to the assisting machine. While improving the diversity of the golden jackal population, it is beneficial to improve the selectable range of solutions to the flexible workshop scheduling problem and the utilization rate of machines in the workshop, thereby improving the workshop production capacity.

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

Claims

1. A method for solving the flexible shop scheduling problem based on an improved golden jackal optimization algorithm, characterized in that: include: Step 1: Generate an initialization population based on the combination of GLS initialization and RI initialization, and calculate the fitness values ​​of individuals in the initialization population; Step 2: Compare the fitness values ​​of the individuals, and determine the male golden jackal and the female golden jackal based on the comparison results; Step 3: Set the current maximum number of iterations to 0, update the positions of the machine selection part and the process sorting part respectively, perform iterative processing according to the position update results, and update the current optimal solution based on the iterative processing results; Step 4: Determine whether the current iteration meets the iteration termination condition. If so, output the optimal solution. Otherwise, execute step 3 for the next iteration.

2. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 1 is characterized in that: Before executing step 1, include: Get relevant iteration parameter setting information; The relevant iteration parameters include population size, maximum number of iterations, crossover probability factor, mutation probability factor and initialization rule fusion ratio.

3. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 1 is characterized in that: Before executing step 1, include: The golden jackal optimization algorithm is improved based on a new nonlinear convergence factor and the golden sine algorithm.

4. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 1 is characterized in that: Step 3 specifically includes: Calculate the fitness value of the individual after the position is updated according to the decoding strategy, and if the fitness value is greater than the current individual, replace the current individual based on the individual after the position is updated; Perform a crossover mutation operation on the replaced individual, and calculate a new solution of the crossover mutation operation according to the decoding strategy. If the new solution is better than the solution corresponding to the current individual, the new solution is accepted as the optimal solution; A variable neighborhood search strategy is executed on the optimal solution to generate a new neighborhood solution and evaluate it. If the new neighborhood solution is better than the current optimal solution, the current optimal solution is updated.

5. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 4 is characterized in that: When calculating the fitness value of the individual after the position update according to the decoding strategy, if the fitness value is greater than the current individual, the Cauchy-Gauss mutation strategy is used to randomly perturb the optimal individual generated in each iteration in the process of replacing the current individual based on the individual after the position update.

6. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 1 is characterized in that: Step 1 specifically includes: Respectively obtain the machine selection fusion ratios of multiple first target selection rules included in the GLS initialization; Respectively obtain the process ranking fusion ratios of multiple second target selection rules included in RI initialization; According to the machine selection fusion ratio, the first target selection rule is fused to generate a GLS initialization rule, and the machine selection part of the original population is initialized based on the GLS initialization rule to obtain the machine selection part initialization result; According to the process sorting fusion ratio, the second target selection rules are fused to generate RI initialization rules, and the process sorting part of the original population is initialized based on the RI initialization rules to obtain the initialization result of the process sorting part; Based on the initialization results of the machine selection part and the process sorting part, an initialization population is obtained; Based on the genetic algorithm, the fitness values ​​of individuals in the initialized population are calculated.

7. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 1 is characterized in that: After executing step 1, including: Based on the initial population data, the iteration setting parameters are intelligently modified, including: Based on the population size setting information, determine the number of production-adaptive machines for the products to be produced and the types of products to be produced; Based on the type of product to be produced, obtain the production process of the product to be produced, determine the production process of the product to be produced, and the sequential association relationship between the processes; According to the number of production adaptation machines and the sequential association relationship, obtain the historical scheduling processing data corresponding to the machines of similar historical production products; Based on historical scheduling processing data, predict the best scheduling strategy for products to be produced; According to the optimal scheduling strategy, the optimal solution position is predicted for the current initialized population, and the number of iteration terminations is determined based on the prediction results; and comparing the number of iteration terminations with the maximum number of iterations in the relevant iteration parameter setting information to obtain a setting error degree, and when the setting error degree is greater than a preset value, modifying the maximum number of iterations based on the number of iteration terminations; Otherwise, the number of iteration terminations remains unchanged.

8. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 7 is characterized in that: Based on historical scheduling processing data, the optimal scheduling strategy for the products to be produced is predicted, including: Based on historical scheduling processing data, multiple optimal selection rankings are obtained, and multiple different production scheduling sequences are determined based on the optimal selection rankings; Compare multiple different production scheduling sequences to obtain the same scheduling subsequences and different scheduling subsequences; Extract scheduling features for different scheduling subsequences respectively, obtain scheduling similar features and compare the features, and schedule similar features; Based on the similarity characteristics of the scheduling and the local process characteristics corresponding to the same scheduling subsequence, the sorting order of the initialized population is adjusted to obtain the optimal scheduling strategy.

9. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 1 is characterized in that: Before executing step 1, it includes: after the user inputs the original population information, obtaining the operation and maintenance data of each machine in the original population, and judging whether there is a faulty machine in the original population based on the operation and maintenance data; If it exists, the fault operation and maintenance data corresponding to the faulty machine is obtained, and based on the fault operation and maintenance data, the fault location of the faulty machine is determined, and the machine production parts are matched with the production process of the product to be produced to obtain a production operation pairing group; Based on the fault location and combined with the production operation pairing group, the abnormal production process is determined; And obtain the production correlation relationship between the faulty machine and the remaining machines, and based on the production relationship, determine whether the faulty machine can perform abnormal production process jump; If possible, obtain the assisting machine corresponding to the abnormal production process jump, generate a process skipping label based on the abnormal production process and the assisting machine, and add it to the corresponding machine in the optimal population arrangement sequence; Otherwise, a machine fault elimination instruction is generated to eliminate the faulty machine from the optimal population arrangement sequence, and based on the total number of eliminated faulty machines, the population size is adaptively adjusted and the execution continues; If it does not exist, go directly to step 1.

10. The method for solving the flexible shop scheduling problem based on the improved golden jackal optimization algorithm according to claim 9 is characterized in that: Iterate based on the location update result, including: When a process skip tag is detected in the machine selection part, the abnormal production process corresponding to the current iteration selected machine is automatically replaced by the assisting process corresponding to the assisting machine.

Citation Information

Patent Citations

  • Automatic selection method of dynamic scheduling strategy of semiconductor production line

    CN103217960A

  • Service value chain service data feature selection method based on litsea rotundifolia optimization algorithm

    CN115858534A

  • AU2020103613A4

Cited By

  • Flexible workshop scheduling optimization method based on meta-heuristic algorithm

    CN121684562A

  • Flexible job shop scheduling optimization method based on meta-heuristic algorithm

    CN121684562B