CN116011723A - Intelligent dispatching method and application of coking and coking mixed flow shop based on Harris eagle algorithm - Google Patents
Intelligent dispatching method and application of coking and coking mixed flow shop based on Harris eagle algorithm Download PDFInfo
- Publication number
- CN116011723A CN116011723A CN202211164848.9A CN202211164848A CN116011723A CN 116011723 A CN116011723 A CN 116011723A CN 202211164848 A CN202211164848 A CN 202211164848A CN 116011723 A CN116011723 A CN 116011723A
- Authority
- CN
- China
- Prior art keywords
- position information
- population
- coking
- harris
- formula
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention discloses an intelligent dispatching method and application of a coking and coking mixed flow shop based on a Harris eagle algorithm, and the method comprises the following steps: 1, establishing a coking process intelligent scheduling model for a coking mixed flow shop scheduling problem by acquiring production information of a coke production line of a coking workshop; 2, coding the Harisk eagle individuals by adopting an arrangement coding mode, and forming a coking workshop scheduling scheme based on a workpiece first-to-first machining rule and an earliest idle machine rule as a decoding mode; and 3, performing iterative optimization on the coking mixed flow shop scheduling model by utilizing an improved Harris eagle algorithm, outputting a global optimal scheduling scheme and arranging coke production. According to the invention, by using an intelligent method, the dispatching optimization efficiency and accuracy of the coking and coking mixed flow shop are improved, the intellectualization of dispatching is realized, and scientific decision is made by assisting dispatching personnel.
Description
Technical Field
The invention belongs to the technical field of computer integrated manufacturing, and particularly relates to an intelligent dispatching method for a coking and coking mixed flow shop based on a Harris eagle algorithm and application thereof.
Background
Hybrid flow shop scheduling refers to a production shop, also known as a flexible flow shop, that includes multiple processes and one or more parallel machines per process, arranged in a continuous line. The workshop structure can effectively eliminate the influence of a bottleneck machine on production continuity, improve the efficiency of the whole production line, and effectively balance the utilization rate of the machine and increase the productivity. In a hybrid flow shop scheduling problem, a single process may have multiple available machines in parallel, and thus a processing machine may be selected from the multiple parallel machines. The goal of mixed flow shop scheduling is to consider not only the proper machine arrangement for each process, but also how to arrange the processing sequence of the processing tasks, which is a more difficult NP-hard problem.
Coke is a pulse of energy economy in China, and has higher economic value and strategic significance. Coking is an important process for preparing coke, and although the coking process is complicated in the type of coking intermediate products and processing technology, the coking process adopts a streamline processing mode, the process is clear, and a plurality of parallel processing devices exist in each process, so that key coking steps can be extracted, and the method belongs to the scheduling problem of a mixed flow shop. There is currently no study on the scheduling problem of coking workshops for two main reasons: firstly, a coking and coking process belongs to the traditional chemical product manufacturing industry, has dangers in the production process, has low automation and standardization degrees and has limited application scenes; second, compared with conventional mixed flow shop scheduling, the problem of coke product production shop scheduling has the characteristics of more constraint conditions and great complexity. Therefore, the research on intelligent production of coke has higher practical value and theoretical significance.
The method for solving the scheduling problem of the mixed flow shop is mainly divided into an accurate solving method and an approximate method. The accurate solving method is to build an optimal solution which completely accords with the actual problem model of production and finally solves the problem aiming at the specific problem, but the scheduling problem of the mixed flow shop is proved to be an NP-hard problem, so that the method is difficult to be suitable for the scheduling problem of the mixed flow shop in a large scale.
Coking production is used as an important prop industry of energy economy, and indexes such as production efficiency and production cost of enterprises are directly influenced by how to scientifically arrange processing tasks of coking workshops and reasonably allocate workshop resources to realize scheduling optimization of a production system. In addition, because the coking production process flow is complex and the quantity of intermediate products is large, the scheduling problem of the coking production workshop is researched by fresh students.
Disclosure of Invention
The invention aims to solve the defects in the prior art, and provides an intelligent dispatching method and application of a coking and coking mixed flow shop based on a Harris eagle algorithm, so that an intelligent method can be adopted to replace or assist dispatching personnel to make decisions, and therefore the dispatching efficiency and accuracy of the shop can be improved.
In order to achieve the aim of the invention, the invention adopts the following technical scheme:
the invention relates to an intelligent dispatching method for a coking and coking mixed flow shop based on a Harris eagle algorithm, which is characterized by being applied to the production of M mixed coals with different proportions which are processed into coke after passing through S procedures of the coking shop, and comprising the following steps:
step 1: obtaining production information of a coke production line of a coking workshop, establishing an objective function of a coking mixed flow shop scheduling problem by using a formula (1), and establishing constraint conditions by using formulas (2) - (7), thereby forming a coking mixed flow shop scheduling model:
X i,i-1,m,k +X i-1,i,m,k ≤1 (3)
C ij ≥C i,j+1 +p ij (6)
X i,j,k 、X i,i-1,m,k ∈{0,1} (7)
in the formulas (1) - (7), X i,j,k Indicating whether the jth step of the ith blended coal is processed on the kth machine, if X i,j,k By 1, we mean that the workpiece is processed on the kth machine, if X i,j,k =0, then means not machined on the kth machine; x is X i,i-1,m,k Indicating whether the jth step of processing the ith-1 th mixed coal is preferred for the jth step of processing the ith mixed coal on the kth machine, and if so, letting X i,i-1,m,k 1, otherwise, let X i,i-1,m,k Is 0; s represents the number of steps; p is p ij The processing time of the ith mixed coal in the jth procedure is shown; m is m j Representing the number of parallel machines in the jth machining process; c (C) ij Indicating the finishing time of the ith mixed coal in the jth processing procedure; c (C) i,j+1 Indicating the finishing time of the ith mixed coal in the (j+1) th process; y represents a relaxation variable;representing the maximum finishing time of the ith blended coal; i=1, 2,; j=1, 2,. -%, S; k=1, 2, m j ;
Step 2: determining an initial scheduling scheme consisting of the processing sequence and the machine distribution sequence of the mixed coal in each procedure according to the historical experience of coke production in a coking workshop;
defining the maximum iteration termination time as T, and enabling the current iteration time t=0; making the current initial scheduling scheme be the optimal scheduling scheme of the t-1 th iterationI.e., the prey location of the t-1 th iteration;
step 3: solving the coking and coking mixed flow shop scheduling model by utilizing an improved Harris eagle algorithm;
step 3.1: defining the population scale as N; constructing Harris eagle set of the t th generation population as The position information of the v th Harris hawk representing the t generation population is recorded as { pi }, and the position information of each Harris hawk is recorded as M mixed coals processing sequence codes v,1 ,π v,2 ,...,π v,i ,...,π v,M -a }; wherein pi v,i Representing the processing sequence of the ith mixed coal in the v-th Harris eagle;
distributing each mixed coal to the earliest available machine for processing according to the finishing sequence of the last procedure of the mixed coal, and randomly selecting one machine for processing if a plurality of machines are available at the same time, so that the position information of each Harisch eagle is decoded into the machine distribution sequence of M mixed coal processing;
the processing sequence of M mixed coals represented by the position information of the v-th Harris hawk in the t-th generation population and the machine distribution sequence of M mixed coals are used for forming a v-th coking workshop scheduling scheme of the t-th iteration, wherein v=1, 2, … and N; n is population scale;
step 3.2: taking the objective function F as the fitness function of the population of the t th generationWherein (1)>Representing the fitness function of the v-th Harris eagle in the t-th generation population;
step 3.3: calculating the fitness value of each halisk in the t generation population according to the formula (1), and setting the position information of the halisk with the optimal fitness value as the position of the prey in the t iteration
Step 3.4: the method comprises the steps of updating the escaping energy of the hunting, and then executing a corresponding position updating strategy in searching or developing behaviors according to the escaping energy of the hunting and the generated random number;
step 3.4.1: calculating the escape energy E of the hunting object in the t iteration by using the formula (8) t :
E t =2E t,0 ×((1-t/T) 1/3 ) 1/2 (8)
In the formula (8), E t,0 Random numbers within interval (-1, 1) at the t-th iteration;
step 3.4.2: if |E t The I is more than or equal to 1, then the random exploration stage is entered, and the v hawk of the t generation population is updated by using the formula (9)Position information of (a)Thereby obtaining the position information of the v th Harriscral of the t+1st generation population +.>Thus obtaining the population of the t+1st generation;
in the formulas (9) and (10),position information representing individuals randomly selected by the t generation population; r is (r) 1 、r 2 、r 3 Three random numbers in the expression interval (0, 1,)>Representing the average position of harris eagles of the t-th generation population, LB representing the upper bound of the algorithm search space, UB representing the lower bound of the algorithm search space;
if |E|<1, the development behavior is executed, and one strategy is selected from the four strategies to obtain the position information of the v Harris hawk of the t+1st generation populationThus obtaining the population of the t+1st generation;
step 3.4.3: dividing the t+1th generation population into a plurality of sub-populations, and carrying out sub-population information exchange operation on any two sub-populations by adopting a crossing method to obtain an updated t+1th generation population;
step 3.5: calculating the position information of the v Harris eagle in the updated t+1st generation populationIs adapted to (a)And with the prey position of the t-th iteration +.>Is>Comparing if->Position information of the v th Harris eagle->The position of the prey as the t+1st iteration, i.e. the optimal scheduling scheme of the t+1st iteration +.>Otherwise, the prey position of the t-th iteration +.>As a prey location for the t+1st iteration;
step 3.6: after t+1 is assigned to T, the sequence is returned to step 3.3 until T > T, so that the position of the prey of the T-th iteration is output as a globally optimal scheduling scheme and production is scheduled.
The coking and coking mixed flow shop scheduling method of the invention is also characterized in that the four strategies in the step 3.4.2 comprise:
strategy 1: when |E t The I is more than or equal to alpha and the r is more than or equal to beta, alpha, beta and r are three random numbers in the interval (0, 1), and the formula (11) is utilized to update the position information of the v th Harris hawk of the t-th generation populationThereby obtaining the firstPositional information of the v th Harris eagle of the t+1 generation population +.>/>
In the formulas (11) and (12),representing the difference between the position of the prey in the t iteration population and the position information of the v Harris eagle, J represents the random jump intensity in the whole escape process of the prey, and J is a random number in the interval (0, 2);
strategy 2: when |E t The I is more than or equal to alpha and r is more than or equal to beta, and the position information of the v hawk of the t+1st generation population is obtained by utilizing the formula (13)
Strategy 3: when |E t The I is more than or equal to alpha and r<Beta, using the formula (14) and the formula (15), obtaining the position information Y or Z of the v-th Harriscrant of the t+1st generation population:
Z=Y+S×LF(D) (15)
in the formulas (14) and (15), r4 represents a random number in a section (0, 1), D represents a dimension of a scheduling problem of the coking mixed flow workshop, S represents a random vector with a size of 1 xD, and LF is a Levy flight function;
if the fitness valueMake->Thereby obtaining the position information of the v-th Harris eagle of the t+1st generation population by using the formula (14)>
If the fitness valueMake->Thereby obtaining the position information of the v-th Harris hawk of the t+1st generation population by using the formula (15)> The fitness value of the v-th Harris eagle of the t+1st generation population obtained by the formula (14) is represented by +.>A fitness value of a v-th Harris hawk of the t+1st generation population obtained by the formula (15);
strategy 4: when |E t |<Alpha and r<Beta, using the formula (16) and the formula (17), obtaining the position information Y or Z of the v-th Harriset of the t+1st generation population:
Z=Y+S×LF(D) (17)
if the fitness valueMake->Thereby obtaining positional information of the v-th Harris eagle of the t+1st population +.>
If the fitness valueMake->Whereby the positional information of the v-th Harriset hawk of the t+1th population of formula (17) is used +>
The sub-population information exchange in step 3.4.3 includes a random selection operation and an elite population operation:
step 3.4.3.1: the fitness values of all harris hawks in the t+1st generation of population are sorted in ascending order and divided into e sub-populations of the t+1st generation, wherein each sub-population has N/e harris hawks;
step 3.4.3.2: position information of randomly selected ith Harris eagle in any two sub-populations of the t+1st generation using formula (18) and formula (19)And position information of jth Harriset eagle->Performing crossover operation to obtain position information +.>
In the formula (18) and the formula (19), gamma is a random number between [0,1 ];
if it isThen the position information of the new Harris hawk after crossing is +.>Position information giving the ith Harriset eagle +.>Otherwise, the position information of the ith Harris eagle +.>Remain unchanged; wherein (1)>Position information representing new harris eagle after crossing +.>Adaptation value of F i ′t Position information indicating the ith Harriset eagle->Is a fitness value of (a);
if it isThen the position information of the new Harris hawk after crossing is +.>Position information giving the j-th Harris eagle +.>Otherwise, the position information of the jth Harris eagle +.>Remain unchanged, wherein->Position information representing new harris eagle after crossing +.>F j ′ t represents the position information of the jth Harris eagle +.>Is a fitness value of (a);
step 3.4.3.3: processing all the sub-populations according to the process of the step 3.4.3.2 to obtain updated e sub-populations of the t+1st generation;
step 3.4.3.4: ascending and sorting fitness values of haustics in the updated t+1th generation e sub-populations to obtain optimal individual information in each sub-population, and recording the optimal individual information as elite individuals;
step 3.4.3.5: positional information of elite individuals in any two sub-populations of the updated t+1st generation using formulas (20) and (21)And->Performing crossover operation to obtain position information of two new elite individuals after crossover
In the formula (20) and the formula (21), μ is a random number between [0,1 ];
if it isThen the position information of the new elite individual after crossing is +.>Giving elite individuals position information +.>Otherwise, elite individual position information +.>Remain unchanged, wherein->Position information representing new elite individual after crossing +.>Adaptation value of F a ′t Position information representing elite harris eagle in a sub-population +.>Is a fitness value of (a);
if it isThen the position information of the new elite individual after crossing is +.>Giving elite individuals position information +.>Otherwise, elite individual position information +.>Remain unchanged, wherein->Position information representing new elite individual after crossing +.>Adaptation value of F b ′t Position information representing elite individuals in sub-population +.>Is a fitness value of (a);
the invention provides an electronic device comprising a memory and a processor, characterized in that the memory is used for storing a program for supporting the processor to execute any one of the methods, and the processor is configured to execute the program stored in the memory.
The invention relates to a computer readable storage medium, on which a computer program is stored, characterized in that the computer program when being run by a processor performs the steps of any one of the methods.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the actual coking workshop demand, the invention provides a haustilago-based optimization method for solving the coking workshop scheduling scheme, and the haustilago-based optimization method is applied to an actual industrial scene, so that the application field of a group intelligent optimization algorithm is widened, the defect of lack of intelligent pain points in the traditional industrial production scheduling field is practically solved, the error caused by manual reasons in scheduling is avoided, the flexible adjustment of a production plan is ensured, and the utilization rate of a production machine is improved.
2. The Harris hawk optimization algorithm has the characteristics of simple structure, rapid convergence and the like, and is very suitable for solving the problem of scheduling of a large-scale mixed flow shop. The coking mixed running water scheduling problem tends to be high-dimensional in dimension, the performance of a standard Harris eagle optimization algorithm for solving the problem is still to be improved, and meanwhile, the algorithm is easy to sink into local optimization, so that an optimal scheduling scheme cannot be obtained. Therefore, the algorithm is purposefully designed and improved on the basis of considering the Harris eagle optimization algorithm, so that the scheduling problem of the coking mixed flow shop is solved more effectively.
Drawings
FIG. 1 is a flow chart for solving an intelligent scheduling problem of a coking mixed flow shop based on a Harris eagle algorithm;
FIG. 2 is a flow chart of a coking process from a coking plant according to the present invention;
FIG. 3 is a layout of a coking and mixing flow shop according to the present invention;
FIG. 4 is a Gantt chart of a four-workpiece two-stage hybrid flow shop schedule obtained by the prior art decoding method.
Detailed Description
The invention will be further described with reference to the accompanying drawings and examples.
In this embodiment, as shown in fig. 1, an intelligent dispatching optimization method for a coking and coking mixed flow shop based on a haustilago algorithm is applied to the production of M kinds of mixed coals with different proportions processed into coke after passing through S procedures of the coking shop, and includes the following steps:
step 1: referring to fig. 2, process information of a coking plant coke production line is acquired. The key working procedures are extracted from the coking process flow, and the scheduling problem of the coking mixing flow shop is constructed. The coking process flow mainly comprises four parts of coal preparation, coking, coke quenching and coke screening. The key processes are coal blending, iron removal, crushing by a reversible counter-hammer crusher, coal taking by a coal tower, high-temperature carbonization by a carbonization chamber, coke blocking machine conveying, coke quenching Jiao Daxi, coke cooling by a coke cooling table and coke cooling and screening. In the coking process, the mixed coal needs to go through the same processing procedures to obtain coke products, at least one parallel machine exists in each procedure, the working hours in each step are different due to the different quality of the mixed coal, and the problems of infinite buffer interval, neglecting equipment faults, arrival delay and the like are assumed to exist between different stages. The coking mixed flow shop scheduling is to optimize the production plan decision of the coking shop, and the production time of coke is minimized by reasonably arranging the processing sequence of mixed coal and efficiently configuring the production resources of the shop.
Referring to fig. 3, a layout diagram of equipment in a coking mixed flow shop is shown, although the types of intermediate products of coking products and the processing technology are complex, the main coking process adopts a flow line processing mode, the technological process is clear, a plurality of parallel processing equipment exist in each process, and the problem of scheduling in the mixed flow shop is solved; establishing an objective function of the coking mixing flow shop scheduling problem by using the formula (1), and establishing constraint conditions by using the formulas (2) - (7), thereby forming a coking mixing flow shop scheduling model:
X i,i-1,m,k +X i-1,i,m,k ≤1 (3)
C ij ≥C i,j+1 +p ij (6)
X i,j,k 、X i,i-1,m,k ∈{0,1} (7)
in the formulas (1) - (7), X i,j,k Indicating whether the jth step of the ith blended coal is processed on the kth machine, if X i,j,k By 1, we mean that the workpiece is processed on the kth machine, if X i,j,k =0, then means not machined on the kth machine; x is X i,i-1,m,k Indicating whether the jth step of processing the ith-1 th mixed coal is preferred for the jth step of processing the ith mixed coal on the kth machine, and if so, letting X i,i-1,m,k 1, otherwise, let X i,i-1,m,k Is 0; s represents the number of steps; p is p ij The processing time of the ith mixed coal in the jth procedure is shown; m is m j Representing the number of parallel machines in the jth machining process; c (C) ij Indicating the finishing time of the ith mixed coal in the jth processing procedure; c (C) i,j+1 Indicating the finishing time of the ith mixed coal in the (j+1) th process; y represents a relaxation variable;representing the maximum finishing time of the ith blended coal; i=1, 2,; j=1, 2,. -%, S; k=1, 2, m j ;
Step 2: determining an initial scheduling scheme consisting of the processing sequence and the machine distribution sequence of the mixed coal in each procedure according to the historical experience of coke production in a coking workshop;
defining the maximum iteration termination time as T, and enabling the current iteration time t=0; making the current initial scheduling scheme be the optimal scheduling scheme of the t-1 th iterationI.e., the prey location of the t-1 th iteration;
step 3: because the original Harris hawk optimization algorithm has the problem that population diversity is easy to lose in the later iteration stage, the method falls into the locally optimal congenital defect, and the improved Harris hawk algorithm is used for solving the coking mixed flow shop scheduling model, and the specific steps are as follows:
step 3.1: defining the population scale as N; constructing Harris eagle set of the t th generation population as The position information of the v th Harris hawk representing the t generation population is recorded as { pi }, and the position information of each Harris hawk is recorded as M mixed coals processing sequence codes v,1 ,π v,2 ,...,π v,i ,...,π v,M And }, where pi v,i Representing the processing sequence of the ith mixed coal in the v-th Harris eagle, wherein the specific operation is to assume that 4 mixed coals exist in a coking workshop to be coked, numbering the mixed coals according to the sequence, and then randomly and fully arranging the mixed coals, wherein the number represents the processed priority of the mixed coals; when the idle machine exists and the machining conditions are met, preferentially considering to machine the workpiece with the front coding position; for example, the mixed coal sequence 4,1,3,2, shows that in the first pass, a machine is arranged for mixed coal 4, and then for mixed coals 1,3,2 in sequence.
Distributing each mixed coal to the earliest available machine for processing according to the finishing sequence of the last procedure of the mixed coal, and randomly selecting one machine for processing if a plurality of machines are available at the same time, so that the position information of each Harisch eagle is decoded into the machine distribution sequence of M mixed coal processing; referring to fig. 4, a schematic diagram of two processes of four kinds of mixed coal using the above decoding method is shown;
the processing sequence of M mixed coals represented by the position information of the v-th Harris hawk in the t-th generation population and the machine distribution sequence of M mixed coals are used for forming a v-th coking workshop scheduling scheme of the t-th iteration, wherein v=1, 2, … and N; n is population scale;
step 3.2: taking the objective function F as the fitness function of the population of the t th generationWherein (1)>Represent the firstthe fitness function of the v-th Harris eagle in the t-generation population; />
Step 3.3: calculating the fitness value of each Harisch eagle in the t generation population according to the formula (1); and setting the position information of the Harris hawk with the optimal fitness value as the position of the prey in the t-th iteration
Step 3.4: the method comprises the steps of updating the escaping energy of the hunting, and then executing a corresponding position updating strategy in searching or developing behaviors according to the escaping energy of the hunting and the generated random number;
step 3.4.1: because the energy changes to be nonlinear when the prey escapes, a brand new prey energy updating formula is provided, and the global search and the local search of the algorithm are balanced. Calculating the escape energy E of the hunting object in the t iteration by using the formula (8) t :
E t =2E t,0 ×((1-t/T) 1/3 ) 1/2 (8)
In the formula (8), E t,0 Random numbers within interval (-1, 1) at the t-th iteration;
step 3.4.2: if |E t The I is more than or equal to 1, the random exploration stage is entered, and the position information of the v-th Harris hawk of the t-th generation population is updated by using the formula (9)Thereby obtaining the position information of the v th Harriscral of the t+1st generation population +.>Thus obtaining the population of the t+1st generation;
in the formulas (9) and (10),position information representing individuals randomly selected by the t generation population; r is (r) 1 、r 2 、r 3 Representing random numbers in interval (0, 1, ">Representing the average position of the harris eagle of the t-th generation population, LB representing the upper bound of the algorithm search space and UB representing the lower bound of the algorithm search space.
If |E|<1, the development behavior is executed, and one strategy is selected from the four strategies to obtain the position information of the v Harris hawk of the t+1st generation populationThus obtaining the population of the t+1st generation;
strategy 1: when |E t The I is more than or equal to alpha and the r is more than or equal to beta, alpha, beta and r are random numbers in the interval (0, 1), and the formula (11) is utilized to update the position information of the v-th Harris hawk of the t-th generation populationThereby obtaining the position information of the v-th Harriset eagle of the t+1st generation population
In the formulas (11) and (12),representing the position of a prey in a t-th iteration populationThe difference in current position of the eagle, J, represents the random jump intensity throughout the life of the game, J being the random number of interval (0, 2).
Strategy 2: when |E t The I is more than or equal to alpha and r is more than or equal to beta, and the position information of the v hawk of the t+1st generation population is obtained by utilizing the formula (13)
Strategy 3: when |E t The I is more than or equal to alpha and r<Beta, since the prey still has a large jump capacity J, the harris eagle enables a fast dive attack, if the attack fails (the Y fitness is not improved), then a random walk Z is performed, if the walk fails, then the return to the home is made. The sine and cosine optimization algorithm (Sine Cosine Algorithm, SCA) realizes an optimizing process by utilizing the periodical change of a sine and cosine function, the position updating mode enables the algorithm to explore a larger area during exploration, the algorithm can search accurately in a smaller range during local development, the position updating mode of the SCA is comprehensively utilized and applied to the local search position updating of the Harris eagle algorithm, the Harris eagle algorithm is improved, and the overall optimizing level of the Harris eagle algorithm is improved. Obtaining position information Y or Z of the v-th Harris eagle of the t+1st generation population by using the formula (14) and the formula (15):
Z=Y+S×LF(D) (15)
in the formulas (14) and (15), r4 represents a random number in a section (0, 1), D represents a dimension of a scheduling problem of the coking mixed flow workshop, S represents a random vector with a size of 1 xD, and LF is a Levy flight function;
if the fitness valueMake->Thereby obtaining the position information of the v-th Harris eagle of the t+1st generation population by using the formula (14)>
If the fitness valueMake->Thereby obtaining the position information of the v-th Harris hawk of the t+1st generation population by using the formula (15)> The fitness value of the v-th Harris eagle of the t+1st generation population obtained by the formula (14) is represented by +.>A fitness value of a v-th Harris hawk of the t+1st generation population obtained by the formula (15);
strategy 4: when |E t |<Alpha and r<Beta, using the formula (16) and the formula (17), obtaining the position information Y or Z of the v-th Harriset of the t+1st generation population:
Z=Y+S×LF(D) (17)
if the fitness valueMake->Thereby obtaining the position information of the v-th Harris hawk of the t+1st generation population by using the formula (16)>
If the fitness valueMake->Thereby utilizing the positional information of the v-th Harriset eagle of the t+1th generation population of formula (17)>
Step 3.4.3: because the Harris eagle algorithm easily loses population diversity in the later iteration period, a population information communication mechanism is provided for the defect, the specific operation is that the t+1th generation population is divided into a plurality of sub-populations, the sub-population information communication operation is carried out on any two sub-populations by adopting a crossing method, and the updated t+1th generation population is obtained; the main purpose of adopting the population information communication mechanism is that after repeated iterative position updating, harris eagle individuals are gathered, the position information is single, and the algorithm is difficult to achieve global optimum, so that attention is paid to randomly selecting individuals to be crossed, and the population diversity is enriched;
step 3.4.3.1: the fitness values of all harris hawks in the t+1st generation of population are sorted in ascending order and divided into e sub-populations of the t+1st generation, wherein each sub-population has N/e harris hawks;
step 3.4.3.2: position information of randomly selected ith Harris eagle in any two sub-populations of the t+1st generation using formula (18) and formula (19)And position information of jth Harriset eagle->Performing crossover operation to obtain position information +.>
In the formula (18) and the formula (19), gamma is a random number between [0,1 ];
if it isThen the position information of the new Harris hawk after crossing is +.>Position information giving the ith Harriset eagle +.>Otherwise, keeping the original position information unchanged; wherein (1)>Position information representing new harris eagle after crossing +.>Adaptation value of F i ′t Position information indicating the ith Harriset eagle->Is a fitness value of (a);
then using (19) willPosition information of new harris eagle after crossing +.>Position information giving the j-th Harris eagle +.>Otherwise, the original position information is kept unchanged, wherein +.>Position information representing new harris eagle after crossing +.>F j ′ t Position information +.>Is a fitness value of (a);
step 3.4.3.3: processing all the sub-populations according to the process of the step 3.4.3.2 to obtain updated e sub-populations of the t+1st generation;
step 3.4.3.4: ascending and sorting fitness values of haustics in the updated t+1th generation e sub-populations to obtain optimal individual information in each sub-population, and recording the optimal individual information as elite individuals;
step 3.4.3.5: positional information of elite individuals in any two sub-populations of the updated t+1st generation using formulas (20) and (21)And->Performing crossover operation to obtain position information of two new elite individuals after crossover
In the formulas (20) and (21), μ is a random number between [0,1]
If it isThen the position information of the new elite individual after crossing is +.>Giving elite individuals position information +.>Otherwise, hold location information +.>Unchanged; wherein (1)>Representing position information of new elite individual after crossingAdaptation value of F a ′t Position information representing elite individuals in sub-population +.>Is a fitness value of (a);
if it isThen the position information of the new elite individual after crossing is +.>ImpartingPosition information of elite individual->Otherwise, hold location information +.>Unchanged; wherein (1)>Representing position information of new elite individual after crossingAdaptation value of F a ′ t Position information representing elite individuals in sub-population +.>Is used for the adaptation value of the (c).
Step 3.5: calculating the position information of the v Harris eagle in the updated t+1st generation populationIs adapted to (a)And with the prey position of the t-th iteration +.>Is>Comparing if->Position information of the v th Harris eagle->The position of the prey as the t+1st iteration, i.e. the optimal scheduling scheme of the t+1st iteration +.>Otherwise, the prey position of the t-th iteration +.>As a prey location for the t+1st iteration;
step 3.6: after t+1 is assigned to T, the sequence is returned to step 3.3 until T > T, so that the position of the prey of the T-th iteration is output as a globally optimal scheduling scheme and production is scheduled.
Claims (5)
1. The intelligent dispatching method for the coking and coking mixed flow shop based on the Harris eagle algorithm is characterized by being applied to the production of M kinds of mixed coals with different proportions which are processed into coke after passing through S procedures of the coking shop, and comprises the following steps:
step 1: obtaining production information of a coke production line of a coking workshop, establishing an objective function of a coking mixed flow shop scheduling problem by using a formula (1), and establishing constraint conditions by using formulas (2) - (7), thereby forming a coking mixed flow shop scheduling model:
C ij ≥C i,j+1 +p ij (6)
X i,j,k 、X i,i-1,m,k ∈{0,1} (7)
in the formulas (1) - (7), X i,j,k Indicating whether the jth step of the ith blended coal is processed on the kth machine, if X i,j,k By 1, we mean that the workpiece is processed on the kth machine, if X i,j,k =0, then means not machined on the kth machine; x is X i,i-1,m,k Indicating whether the jth step of processing the ith-1 th mixed coal is preferred for the jth step of processing the ith mixed coal on the kth machine, and if so, letting X i,i-1,m,k 1, otherwise, let X i,i-1,m,k Is 0; s represents the number of steps; p is p ij The processing time of the ith mixed coal in the jth procedure is shown; m is m j Representing the number of parallel machines in the jth machining process; c (C) ij Indicating the finishing time of the ith mixed coal in the jth processing procedure; c (C) i,j+1 Indicating the finishing time of the ith mixed coal in the (j+1) th process; y represents a relaxation variable;representing the maximum finishing time of the ith blended coal; i=1, 2,; j=1, 2,. -%, S; k=1, 2, m j ;
Step 2: determining an initial scheduling scheme consisting of the processing sequence and the machine distribution sequence of the mixed coal in each procedure according to the historical experience of coke production in a coking workshop;
defining the maximum iteration termination time as T, and enabling the current iteration time t=0; making the current initial scheduling scheme be the optimal scheduling scheme of the t-1 th iterationI.e., the prey location of the t-1 th iteration;
step 3: solving the coking and coking mixed flow shop scheduling model by utilizing an improved Harris eagle algorithm;
step 3.1: defining the population scale as N; constructing Harris eagle set of the t th generation population as The position information of the v th Harris hawk representing the t generation population is recorded as { pi }, and the position information of each Harris hawk is recorded as M mixed coals processing sequence codes v,1 ,π v,2 ,...,π v,i ,...,π v,M -a }; wherein pi v,i Representing the processing sequence of the ith mixed coal in the v-th Harris eagle;
distributing each mixed coal to the earliest available machine for processing according to the finishing sequence of the last procedure of the mixed coal, and randomly selecting one machine for processing if a plurality of machines are available at the same time, so that the position information of each Harisch eagle is decoded into the machine distribution sequence of M mixed coal processing;
the processing sequence of M mixed coals represented by the position information of the v-th Harris hawk in the t-th generation population and the machine distribution sequence of M mixed coals are used for forming a v-th coking workshop scheduling scheme of the t-th iteration, wherein v=1, 2, … and N; n is population scale;
step 3.2: taking the objective function F as the fitness function of the population of the t th generationWherein (1)>Representing the fitness function of the v-th Harris eagle in the t-th generation population;
step 3.3: calculating the fitness value of each halisk in the t generation population according to the formula (1), and setting the position information of the halisk with the optimal fitness value as the position of the prey in the t iteration
Step 3.4: the method comprises the steps of updating the escaping energy of the hunting, and then executing a corresponding position updating strategy in searching or developing behaviors according to the escaping energy of the hunting and the generated random number;
step 3.4.1: calculating the escape energy E of the hunting object in the t iteration by using the formula (8) t :
E t =2E t,0 ×((1-t/T) 1/3 ) 1/2 (8)
In the formula (8), E t,0 Random numbers within interval (-1, 1) at the t-th iteration;
step 3.4.2: if |E t The I is more than or equal to 1, the random exploration stage is entered, and the position information of the v-th Harris hawk of the t-th generation population is updated by using the formula (9)Thereby obtaining the position information of the v th Harriscral of the t+1st generation population +.>Thus obtaining the population of the t+1st generation;
in the formulas (9) and (10),position information representing individuals randomly selected by the t generation population; r is (r) 1 、r 2 、r 3 Three random numbers in the expression interval (0, 1,)>Representing the average position of harris eagles of the t-th generation population, LB representing the upper bound of the algorithm search space, UB representing the lower bound of the algorithm search space;
if |E|<1, the development behavior is executed, and one strategy is selected from the four strategies to obtain the position information of the v Harris hawk of the t+1st generation populationThus obtaining the population of the t+1st generation;
step 3.4.3: dividing the t+1th generation population into a plurality of sub-populations, and carrying out sub-population information exchange operation on any two sub-populations by adopting a crossing method to obtain an updated t+1th generation population;
step 3.5: calculating the position information of the v Harris eagle in the updated t+1st generation populationIs->And with the prey position of the t-th iteration +.>Is>Comparing if->Position information of the v th Harris eagle->The position of the prey as the t+1st iteration, i.e. the optimal scheduling scheme of the t+1st iteration +.>Otherwise, the prey position of the t-th iteration +.>As a prey location for the t+1st iteration;
step 3.6: after t+1 is assigned to T, the sequence is returned to step 3.3 until T > T, so that the position of the prey of the T-th iteration is output as a globally optimal scheduling scheme and production is scheduled.
2. The coking and coking mixing flow shop scheduling method according to claim 1, wherein the four strategies in step 3.4.2 include:
strategy 1: when |E t The I is more than or equal to alpha and the r is more than or equal to beta, alpha, beta and r are three random numbers in the interval (0, 1), and the formula (11) is utilized to update the position information of the v th Harris hawk of the t-th generation populationThereby obtaining the position information of the v th Harriscral of the t+1st generation population +.>
In the formulas (11) and (12),representing the difference between the position of the prey in the t-th iteration population and the position information of the v-th Harris eagle, J represents the randomness during the whole prey escape processJump intensity, and J is a random number of interval (0, 2);
strategy 2: when |E t The I is more than or equal to alpha and r is more than or equal to beta, and the position information of the v hawk of the t+1st generation population is obtained by utilizing the formula (13)
Strategy 3: when |E t The I is more than or equal to alpha and r<Beta, using the formula (14) and the formula (15), obtaining the position information Y or Z of the v-th Harriscrant of the t+1st generation population:
Z=Y+S×LF(D) (15)
in the formulas (14) and (15), r4 represents a random number in a section (0, 1), D represents a dimension of a scheduling problem of the coking mixed flow workshop, S represents a random vector with a size of 1 xD, and LF is a Levy flight function;
if the fitness valueMake->Thereby obtaining the position information of the v-th Harris eagle of the t+1st generation population by using the formula (14)>
If the fitness valueMake->Thereby obtaining the position information of the v-th Harris hawk of the t+1st generation population by using the formula (15)> The fitness value of the v-th Harris eagle of the t+1st generation population obtained by the formula (14) is represented by +.>A fitness value of a v-th Harris hawk of the t+1st generation population obtained by the formula (15);
strategy 4: when |E t |<Alpha and r<Beta, using the formula (16) and the formula (17), obtaining the position information Y or Z of the v-th Harriset of the t+1st generation population:
Z=Y+S×LF(D) (17)
if the fitness valueMake->Thereby obtaining positional information of the v-th Harris eagle of the t+1st population +.>
3. The coking and coking mixed flow shop scheduling method according to claim 2, wherein the sub-population information exchange in the step 3.4.3 includes a random selection operation and an elite population operation:
step 3.4.3.1: the fitness values of all harris hawks in the t+1st generation of population are sorted in ascending order and divided into e sub-populations of the t+1st generation, wherein each sub-population has N/e harris hawks;
step 3.4.3.2: position information of randomly selected ith Harris eagle in any two sub-populations of the t+1st generation using formula (18) and formula (19)And position information of jth Harriset eagle->Performing crossover operation to obtain position information +.>/>
In the formula (18) and the formula (19), gamma is a random number between [0,1 ];
if it isThen the position information of the new Harris hawk after crossing is +.>Position information giving the ith Harriset eagle +.>Otherwise, the position information of the ith Harris eagle +.>Remain unchanged; wherein (1)>Position information representing new harris eagle after crossing +.>Adaptation value of F i ′ t Position information indicating the ith Harriset eagle->Is a fitness value of (a);
if it isThen the position information of the new Harris hawk after crossing is +.>Position information giving the j-th Harris eagle +.>Otherwise, the position information of the jth Harris eagle +.>Remain unchanged, wherein->Position information representing new harris eagle after crossing +.> Position information +.>Is a fitness value of (a);
step 3.4.3.3: processing all the sub-populations according to the process of the step 3.4.3.2 to obtain updated e sub-populations of the t+1st generation;
step 3.4.3.4: ascending and sorting fitness values of haustics in the updated t+1th generation e sub-populations to obtain optimal individual information in each sub-population, and recording the optimal individual information as elite individuals;
step 3.4.3.5: positional information of elite individuals in any two sub-populations of the updated t+1st generation using formulas (20) and (21)And->Performing crossover operation to obtain position information of two new elite individuals after crossover
In the formula (20) and the formula (21), μ is a random number between [0,1 ];
if it isThen the position information of the new elite individual after crossing is +.>Giving elite individuals position information +.>Otherwise, elite individual position information +.>Remain unchanged, wherein->Position information representing new elite individual after crossing +.>Is adapted to the value of->Position information representing elite harris eagle in a sub-population +.>Is a fitness value of (a);
if it isThen use is made of (21)) Position information of new elite individual after crossing +.>Giving elite individuals position information +.>Otherwise, elite individual position information +.>Remain unchanged, wherein->Position information representing new elite individual after crossing +.>Is adapted to the value of->Position information representing elite individuals in sub-population +.>Is used for the adaptation value of the (c).
4. An electronic device comprising a memory and a processor, wherein the memory is configured to store a program that supports the processor to perform the method of any of claims 1-3, the processor being configured to execute the program stored in the memory.
5. A computer readable storage medium having a computer program stored thereon, characterized in that the computer program when run by a processor performs the steps of the method according to any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211164848.9A CN116011723A (en) | 2022-09-23 | 2022-09-23 | Intelligent dispatching method and application of coking and coking mixed flow shop based on Harris eagle algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211164848.9A CN116011723A (en) | 2022-09-23 | 2022-09-23 | Intelligent dispatching method and application of coking and coking mixed flow shop based on Harris eagle algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116011723A true CN116011723A (en) | 2023-04-25 |
Family
ID=86030487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211164848.9A Pending CN116011723A (en) | 2022-09-23 | 2022-09-23 | Intelligent dispatching method and application of coking and coking mixed flow shop based on Harris eagle algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116011723A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116822884A (en) * | 2023-06-30 | 2023-09-29 | 上海海事大学 | Multi-crown block cooperative scheduling method in flexible manufacturing system |
-
2022
- 2022-09-23 CN CN202211164848.9A patent/CN116011723A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116822884A (en) * | 2023-06-30 | 2023-09-29 | 上海海事大学 | Multi-crown block cooperative scheduling method in flexible manufacturing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109902954B (en) | Flexible job shop dynamic scheduling method based on industrial big data | |
CN110598941A (en) | Bionic strategy-based dual-target scheduling method for particle swarm optimization manufacturing system | |
CN112561225B (en) | Flexible job shop scheduling method based on marker post co-evolution algorithm | |
CN113792924A (en) | Single-piece job shop scheduling method based on Deep reinforcement learning of Deep Q-network | |
CN110516978A (en) | A kind of electronic product commissioning production line mixed flow scheduled production method | |
CN114186791A (en) | Multi-model small-batch-oriented dynamic scheduling method for debugging production of complex equipment products | |
CN111144710A (en) | Construction and dynamic scheduling method of sustainable hybrid flow shop | |
Xianzhou et al. | An improved genetic algorithm for dual-resource constrained flexible job shop scheduling | |
CN116011723A (en) | Intelligent dispatching method and application of coking and coking mixed flow shop based on Harris eagle algorithm | |
CN110597213A (en) | Production scheduling method and system for distributed hybrid flow shop | |
CN115935616A (en) | Multi-objective optimization method for scheduling of sequence-dependent flow shop groups of consistent batches | |
Wang et al. | Optimization of disassembly line balancing using an improved multi‐objective Genetic Algorithm | |
CN109214695B (en) | High-end equipment research, development and manufacturing cooperative scheduling method and system based on improved EDA | |
CN110472765A (en) | A kind of low entropy cooperative optimization method of plant layout's scheduling | |
Wang et al. | Energy-efficient scheduling for flexible job shop under multi-resource constraints using non-dominated sorting teaching-learning-based optimization algorithm | |
CN113377696A (en) | Bus data processing method based on computer equipment | |
CN113139720A (en) | Casting shop production scheduling optimization method with learning effect | |
CN110928261A (en) | Distributed estimation scheduling method and system for distributed heterogeneous flow shop | |
Liu et al. | Optimal scheduling method for a bell-type batch annealing shop and its application | |
CN116466659A (en) | Distributed assembly flow shop scheduling method based on deep reinforcement learning | |
WO2023087418A1 (en) | Computer second-type assembly line balance optimization method based on migration genetic algorithm | |
CN110059908A (en) | New workpiece weight method for optimizing scheduling based on self-adapted genetic algorithm | |
Gao et al. | Flow shop scheduling with variable processing times based on differential shuffled frog leaping algorithm | |
Wang et al. | Multi-objective optimization model for seru production system formation under uncertain condition | |
CN111489035A (en) | Mold combination distribution method based on combination of machine learning and backtracking method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |