ISIJ International
Online ISSN : 1347-5460
Print ISSN : 0915-1559
ISSN-L : 0915-1559
Instrumentation, Control and System Engineering
An Improved Elitist GA-based Solution for Integrated Batch Planning Problem in a Steelmaking Plant
Wu Shuang-PingXu An-Jun
著者情報
ジャーナル オープンアクセス HTML

2022 年 62 巻 6 号 p. 1227-1238

詳細
Abstract

To solve the problem of preparing the integrated batch planning for a steelmaking plant, this paper considers the continuous/quasi-continuous characteristics of the steel manufacturing process operation. On the premise of analysing the constraints of steelmaking procedure and continuous casting procedure, this paper firstly develops the charge plan model and casting plan model, and then forms and solves the integrated batch planning model. According to the actual of the production site, this paper introduces an improved elitist genetic algorithm (IEGA), defines the matching chromosome coding and decoding strategies with the actual, and suggests improving the genetic operators. Finally, we verify the proposed model and algorithm on the production data of a real steelmaking plant. We clarify the applicability of developing an integrated batch planning model based on model analysis and demonstrate the effectiveness of the IEGA through algorithm analysis.

1. Introduction

The production plan of a steelmaking plant includes contract plan, batch plan, operation plan, dynamic scheduling and other optimization problems at different levels. Among them, a batch plan is located in a transition layer between a contract plan and an operation plan. It should not only undertake the production contract pool after preparing the contract plan, but also consider the slab width, production process, delivery time and other constraints to realize continuous production at a steel plant. In the steelmaking plant, the casting procedure takes casts as the basic unit, and the steelmaking procedure takes charges as the minimum unit, so the batch plan includes two aspects: charge plan and casting plan.

A charge plan is to optimize the slab of different steel types and specifications to obtain different charges according to the constraints of steelmaking production process. A casting plan is to optimize the different charges to obtain different casts according to the constraints of continuous casting production process. The two aspects can cooperate with each other to finally realize the stable production process. This paper carries out the research from these two aspects, but before modeling, will carefully analyze and discuss the existing relevant research, and then will develop and solve the integrated batch planning model.

2. Research Status of Integrated Batch Planning Problem in a Steelmaking Plant

Scholars at home and abroad have done many researches on batch plan of a steelmaking plant. Aiming at the research on the charge plan, Quelhadj et al.1) first proposed the steelmaking plant production process is an important link of steel production, and the charge plan optimization of the steelmaking procedure can save the cost and benefit of steelmaking plant. Moreover, he modelled the charge plan optimization model of the steelmaking procedure as an integer programming model and solved it by tabu search algorithm. To allow two-strand caster to cast slabs with different widths, Cheng et al.2) established a charge plan model to minimize the number of casts and the difference in adjacent slab widths within the charge, and solved it using variable neighborhood combined with simulated annealing algorithm.

For the study of the casting plan, Tang et al.3,4) established two casting plan models respectively. The difference between them lies in whether the casts are known and whether the charges are all arranged. Yadollahpour et al.5) presented a comprehensive two-phase approach to solve the casting plan. Considering the hot rolling procedure, the integrated batch planning mathematical model6) based on multi-objective optimization is established, and the improved genetic algorithm is used to solve it. Aiming at the production plan and scheduling problem of Baosteel’s steelmaking plant, Tang et al.7) considered the sequence dependent constraints and casting width selection decisions, and proposed a column generation-based branch-and-price solution approach to obtain the optimal solutions.

For the study of integrated batch planning, some references have been listed above, and many common points have been found. By analyzing the existing literature, this paper summarizes the modeling method and solving method.

2.1. Modeling Method

For the study of batch planning model of the steelmaking plant, the commonly used modeling methods are: ① conventional modeling method, ② intelligent modeling method, ③ comprehensive integration method. The main idea of the conventional modeling method is the analogy, for example, the scheduling problem of the steelmaking plant is compared to the mixed flow shop problem,8) the charge plan problem is compared to the one-dimensional packing problem,9) the casting plan problem is compared to the traveling salesman problem.10) However, to fit classical problem with practical problem, the use of conventional modelling method should pay attention to the improvement of classical problem, which will directly affect the effect of modelling and solving. Intelligent modeling method is mainly based on artificial intelligence or computational intelligence, such as multi-agent system,11,12) eM-Plant software13,14) and Flexsim software.15,16) The use of intelligent modeling method has certain advantages. It breaks through the fixed thinking of conventional modeling method and can get to the core of the problem. For example, the appearance of human-computer interaction no longer separates people from computers, making the process of information exchange between people and computers more smooth, which is very favorable to prepare and adjust the plans. The comprehensive integration method is to combine the first two methods. For example, Wang et al.17) combined the optimal scheduling method, expert system, case-based reasoning and other technologies to establish a mathematical model for conflict resolution of linear programming, and obtained a conflict-free and optimized plan. However, the combination of multiple methods is naturally influenced by the advantages and disadvantages of the combination, and whether they complement each other needs to be further proved.

2.2. Solving Method

For the study of batch planning model of the steelmaking plant, the commonly used solving methods are: ① heuristic method, ② operations research method, ③ intelligent solving method. The heuristic method is to use experience in solving a problem and choose the method that has already worked, rather than systematically and with certain steps to seek answers. For example, Yang et al.18) made a heuristic algorithm to solve the steelmaking-continuous casting scheduling model. The operations research method is to use the method of operations research to solve the production planning problem, which is mainly used to solve the small-scale problem. For example, Tang et al.19) used the branch and bound method to determine the lower bound according to the last machine in the process shop scheduling, and can obtain the results from the computer simulation experiment. Cui et al.20) proposed a difference of convex functions algorithm to solve the scheduling problem of steelmaking - continuous casting process. At present, the most widely used method is intelligent solving method, which uses intelligent optimization algorithm to solve the production planning and scheduling problems, for example, tabu search algorithm,21) genetic algorithm22,23) or hybrid algorithm24,25) combining multiple algorithms. Lin et al.26) used a modified imprecision-propagating multi-objective evolutionary algorithm to solve the multi-objective integrated model of continuous cast-hot rolling section. However, defining an appropriate intelligent algorithm is necessary to apply specific changes to adapt to a developed model and to address the premature or the local optimum problem of an algorithm itself.

As for the research on batch planning of the steelmaking plant, the amount of research is too much. But, the foreign scholars have studied relatively little, which is determined by the environment of the global metallurgical industry. However, in the existing researches, the theoretical research takes the majority, and the pursuit is mostly to improve the algorithm. The establishment of the model tends to be independent, the practicability of the algorithm or model is not considered, and the coordination before and after the batch planning of the steelmaking plant is not considered. Bases on the research of the charge plan and the casting plan, considering the integration of the two, the feedback and adjustment between the two are very important and of more practical significance under the premise of sequence.

3. Modelling of the Integrated Batch Planning Model

3.1. Problem Description

When the production capacity of the steelmaking and continuous casting equipment and the requirements of the downstream production process are met, the charge plan takes the given preselected contract pool as the input condition and the steelmaking process constraint as the main constraint condition, and the contract optimization combination into the charges. The requirements of different contracts are not consistent, and there are some differences in steel grade, specification, physical characteristics, delivery time and other factors. Therefore, under the requirement of ensuring the minimum smelting furnace capacity, the charge plan should pursue the goals of the minimum delivery time difference, the maximum finished material rate, the lowest production cost and the minimum residual material.

Based on the results of the charge plan and the constraints of the continuous casting procedure, the casting plan optimizes all the charges and combines into the casts. When organizing the production of casters, the decision maker should consider many factors, such as the difference of steel grade due to the continuous casting of molten steel between the charges of the same cast, the abnormal blank due to the adjustment of the width between the charges, the equipment adjustment cost and adjustment time brought by each cast. Therefore, the casting plan should ensure the charges that are combined for the same cast should be in accordance with the minimum steel grade, width (non-increasing order) and delivery time difference, and pursue as many charges as possible for the same cast, and continuously casting on the same caster.

Similar charge plan has been studied in literature,27) but this paper is not limited to charge plan, but the integrated batch planning with charge and casting. The integrated batch plan needs to combine the charge plan and the casting plan, but they cannot be independent from each other, otherwise cannot embody the meaning of integration. The following practice also proves the best charge plan does not necessarily produce the best casting plan, so the mutual feedback and compensation between the two plans are very crucial to the actual production.

3.2. Charge Plan Model

3.2.1. Application Conditions

(1) All the contracts may not be arranged into production.

(2) Number of charges is known.

(3) A single contract requirement is smaller than the furnace capacity and not decomposable. This is the reason for the furnace capacity limitation.

(4) The furnace capacity is constant. This is the requirement of the actual situation, in general, the furnace capacity is fixed.

3.2.2. Symbol Definition

All symbol definitions for this model are presented as follow:

i: Contract i;

j: Contract j (j>i);

k: Charge k;

Yk: Residual material quantity of charge k;

L: Total number of charges to be planned;

N: Total number of contracts;

W: Furnace capacity;

gi: Weight of contract i;

HR: Penalty cost of residual material;

HiU: Penalty cost of the contract i not selected;

H ij c / H ij w / H ij d : When contracts i and j form a charge, the penalty cost caused by the difference of steel grade, width and delivery time;

hc/hw/hd: Penalty cost coefficient caused by the difference in steel grade, width and delivery time when the contract i and contract j form a charge;

ci/wi/di: Steel grade, width and delivery time of contract i;

Rc: Maximum difference of steel grade in the same charge;

Rw: Maximum width adjustment range of the contract in the same charge;

Rd: Maximum delivery time interval between contracts in the same charge;

α1/α2/α3: Weight coefficients of the three objective functions, whose sum is 1, are set equal to 1/3 in this article.

3.2.3. Mathematical Model

(1) The objective function can be defined as follows:   

Z 1 = k=1 L i=1 N j>i N { H ij c + H ij w + H ij d } X ijk (1)
  
Z 2 = k=1 L H R Y k (2)
  
Z 3 = k=1 L (1- X ik ) H i U (3)
  
min Z charge = α 1 Z 1 + α 2 Z 2 + α 3 Z 3 (4)

Here, Z1 is the penalty value caused by the difference in the steel grade, width, and delivery time between the contracts in the same charge; Z2 is the penalty value of a residual material; and Z3 is the penalty value of the contract not selected. The objective function Zcharge is to minimize the sum of the weights of Z1, Z2, and Z3.

(2) Constraints can be defined as follows:   

X ik ={ 1,      if   Charge   k   includes   contract   i/j. 0                              otherwise (5)
  
X ijk = { 1,      if   Charge   k   includes   contracts   i   and   j   at   the   same   time. 0                              otherwise (6)
  
k=1 L X ik 1         (i=1,2,,N) (7)

Here, Xik and Xijk are the discrete variable that can adopt the values 0 or 1. Equation (7) means that each contract can only be arranged into a maximum of one charge.   

i=1 N ( g i X ik )+ Y k =W         (k=1,2,,L) (8)
  
Y k 0         (k=1,2,,L) (9)

It means that the sum of the contract weight within the charge k shall not exceed the furnace capacity, and the difference between the two is the residual material quantity Yk in this charge.   

H ij c ={ h c | c i - c j |,   if   0| c i - c j |< R c    +                                          otherwise (10)
  
H ij w ={ h w | w i - w j |,   if   0| w i - w j |< R w    +                                                      otherwise (11)
  
H ij d ={ h d | d i - d j |,   if   0| d i - d j |< R d    +                                                      otherwise (12)

It means the penalty value of contract i and contract j due to differences in steel grade, width and delivery time within the same charge.

3.3. Casting Plan Model

3.3.1. Application Conditions

(1) All charges are arranged for production. The number of charges obtained by the charge plan model is known.

(2) The number of casts is unknown. According to the known number of charges, this model can obtain the number of qualified casts.

(3) The life tundish life is known. The research in this article assumes the difference of steel grade is not big, and its life is set to be known and unchanged. Further research will allow the length of life to be customized according to the steel type.

3.3.2. Symbol Definition

All symbol definitions for this model are presented as follow:

i: Charge i;

j: Charge j (j>i);

k: Cast k;

Vk: Adjustment variable for the cast k;

S: Equipment adjustment cost caused by increasing the cast;

M: Total number of charges;

LT: Service life of the tundish;

Q ij c / Q ij w / Q ij d : When charge i and charge j form a cast, the penalty cost caused by the difference of steel grade, width and delivery time;

qc/qw/qd: The penalty cost coefficient caused by the difference in steel grade, width and delivery time when the charge i and charge j form a cast;

c i * / w i * / d i * : Steel grade, width and delivery time of charge i;

R c * : Maximum difference of steel grade in the same cast;

R w * : Maximum width adjustment range of the charge in the same cast;

R d * : Maximum delivery time interval between charges in the same cast;

β1/β2: The weight coefficients of the two objective functions, whose sum is 1, are set equal to 0.5 in this article.

3.3.3. Mathematical Model

(1) The objective function can be defined as follows:   

Z 4 = k=1 M i=1 M j>i M { Q ij c + Q ij w + Q ij d } X ijk * (13)
  
Z 5 = k=1 M V k S (14)
  
min Z cast = β 1 Z 4 + β 2 Z 5 (15)

Here, Z4 is the penalty value caused by the difference in the steel grade, width, and delivery time between the charges in the same cast; Z5 is the penalty value caused by the adjustment of continuous casting machine due to the increase of casts. The objective function Zcast is to minimize the sum of the weights of Z4, and Z5.

(2) Constraints can be defined as follows:   

X ik * ={ 1,      if   Cast   k   includes   charge   i/j. 0                              otherwise (16)
  
X ijk * = { 1,      if   Cast   k   includes   charges   i   and   j   at   the   same   time. 0                           otherwise (17)
  
k=1 M X ik * =1         (i=1,2,,M) (18)

Here, X ik * and X ijk * are the discrete variable that can adopt the values 0 or 1. Equation (18) means that a charge can only be arranged into a maximum of one cast.   

1 i=1 M X ik * LT         (k=1,2,,M) (19)

It means that the number of charges contained in a cast shall be at least 1 and shall not exceed the tundish life.   

V k ={ 1,      if   Cast   k   exists. 0                              otherwise (20)

The implication is that Vk is 0, 1 variable, which is 1 if the cast k exists, and 0 if it doesn’t.   

Q ij c ={ q c | c i * - c j * |,   if   0| c i * - c j * |< R c *                   +                                          otherwise (21)
  
Q ij w ={ q w | w i * - w j * |,   if   0| w i * - w j * |< R w *             +                                       otherwise (22)
  
Q ij d ={ q d | d i * - d j * |,   if   0| d i * - d j * |< R d *                   +                                          otherwise (23)

It means the penalty value of charge i and charge j due to differences in steel grade, width and delivery time within the same cast.

3.4. Integrated Batch Planning Model

The study of this article is not only limited to the independent study of the charge and casting plan model, but also aims to develop an integrated batch planning model for the steelmaking plant. It will also be proved later the final results are not necessarily optimal for the steelmaking plant only by independent studies. In the steelmaking process, the thrust generated by the converter procedure and the tension generated by the continuous casting procedure are the main driving forces in this section.28) The best production plan is to ensure the caster can be internally casted to the maximum extent. Therefore, two independent models are integrated to develop the following integrated batch planning model for the steelmaking plant.   

min Z batch = ω 1 Z charge + ω 2 Z cast (24)

The implication is to measure the results of an integrated batch plan in the form of a sum of weights. The smaller the value is, the better the result of the integrated batch plan will be. α1/α2/α3 in charge plan, β1/β2 in casting plan, and ω1/ω2 here are weight coefficients of sub-objective function values, and α1 + α2 + α3 = 1, β1 + β2 = 1, ω1 + ω2 = 1. According to the “honest choice” principle of game theory, the target function Zcharge, Zcast and Zbatch all pursue an optimization of collective rationality. That is, under ideal conditions, all sub-objective function values are required to be minimized, but in the actual optimization process, it is difficult to achieve such an ideal situation. Therefore, this paper uses the weight coefficient of sub-objective function value to adjust the degree of influence of sub-objective function value on the total objective function value, in order to meet the requirements of decision makers and achieve collective optimization as much as possible.

For example, the continuous casting machine must be continuous casting. It is difficult to optimize the casting plan and charge plan at the same time, so the research focuses on the casting plan and does not strictly require the charge plan, but only needs to be able to provide enough charges, so the ω2 must be much greater than the ω1. When the ω1 or ω2 is 1, it indicates the study only considers the charge plan or the casting plan, i.e. the preparation of a single plan. Another purpose of introducing ω1, ω2 is to consider the introduction of hot rolling batch plan in the follow-up research, and to facilitate the unification and coordination of charge plan, casting plan and hot rolling plan. In this paper, Zcharge is obtained after iteration of charge plan, and then Zcast is obtained by solving the casting plan with the charge plan result as input, and then Zbatch can be obtained by using Eq. (24). This is an iteration of batch planning. When all iterations of batch planning are completed, the optimal integrated batch planning results (including charge plan and casting plan results) can be obtained. The author introduced the hot rolling batch plan in the subsequent research process, and took the order difference of slab in the results of charge, casting and hot rolling plan as a subobjective function to measure the integrated batch plan. Compared with Eq. (24), the integration among charge, casting and hot rolling plan can be better demonstrated. The corresponding research results will be considered for further publication. This paper temporarily sets the coefficient to α1 = α2 = α3 = 1/3, β1 = β2 = 0.5, ω1 = 0.3, ω2 = 0.7.

4. The Proposed Algorithm

The charge plan and casting plan are typically solved in the form of a large-scale combinatorial optimization problem. The complexity of the problem is often related to the quantity of contracts and charges. In the production process at steel plants, the quantity of contracts and charges are large, so the general search method is difficult to meet the expected effect. Herein, we propose an improved elitist genetic algorithm (IEGA) to solve the model. Figure 1 shows the algorithm flow.

Fig. 1.

The flow of IEGA.

Step 1. Firstly read the basic data of the preselected contract pool, including the contract number, weight, steel grade, and delivery times, etc.

Step 2. Initialize algorithm parameters, including iteration times, population size, crossover probability, and conventional mutation probability.

Step 3. Generate the population of N individuals according to the permutation coding rule.

Step 4. Decode the chromosomes of the population.

Step 5. Calculate the objective function values of current population, and record the optimal individual and its chromosomes.

Step 6. Calculate the fitness values of current populations, and record the maximum fitness, average fitness, etc.

Step 7. Judge whether reach the maximum iterations. If so, end the iteration and output the results, if not, proceed to Step 8.

Step 8. According to the improvement of the algorithm in this article, judge whether need the operation of large variation probability and output the corresponding variation probability.

Step 9. During the first selection operation, independently select N parent chromosomes from the current population.

Step 10. Independently perform the partial matching and crossover operations on the N parent chromosomes.

Step 11. Independently perform chromosome fragment reversal mutation operations on the N individuals after crossover.

Step 12. Obtain a population of size 2N by merging the parent population with the offspring population. And the second selection operation, select N individuals from 2N individuals to obtain a new generation of population.

Step 13. Go back to Step 5.

4.1. Encoding Scheme

The final solution results of the charge plan and the casting plan models have such a characteristic that all the contract numbers in the charge plan or all the charge numbers in the casting plan are different from each other. Therefore, this article chooses the encoding method of permutation coding to construct chromosomes. The charge plan uses the contract number to represent the gene value in the chromosome coding string. The chromosome coding can be expressed as {a1,…,ai,…,aN}. The chromosome length is the total number N of precompiled contracts. ai represents the contract number, ai∈{1,2,…,N}. The chromosome of the casting plan can be expressed as {b1,…,bi,…,bL × L}, where the chromosome length is L × L, L is the total number of charges, bi∈{1,2,…,L × L}. In the above encoding scheme, the gene positions ai or bi in the same chromosome are natural numbers without repetition.

4.2. Decoding Scheme

4.2.1. Charge Plan

Figure 2 shows the chromosome decoding strategy for the charge plan problem. The example represents a feasible solution of the charge plan. The numbers 1–10 represent the contract number, the total number 10 represents the total number of preselected contracts. Here is the pseudocode of chromosome decoding for charge plan.

Fig. 2.

Schematic diagram of chromosome encoding and decoding in charge plan.

Algorithm 1: Chromosome decoding for charge plan
Input: Initialize cumulative weight (weight = 0), the number of charges (k = 0), charge plan results table (chargelist)
   Known: furnace capacity (W), total number of charges (L), preselected contract pool data (orda), chromosome of charge plan (chrom)
Ouput: charge plan results table (chargelist)
1: for i = 1,2,…,N do
2:  weight accumulates the weight gi of the contract ai corresponding to chrom [i] in orda
3:  if weight < = W do
4:  record the current contract ai
5:  else
6:  weight minus gi corresponding to the current contract, and all contracts whose cumulative weight does not exceed W are taken as a charge Ak, and Wweight is recorded as residual material Yk. All results record in chargelist.
7:  if k < = L do
8:   k = k + 1; weight = gi
9:  else
10:   for loop ends
11: end for
12: return chargelist

4.2.2. Casting Plan

The algorithm should construct a two-dimensional matrix to represent the structure of the solution in the chromosome decoding process. Equation (25) shows the corresponding relationship between the gene bi on the chromosome and the position in the two-dimensional matrix. In the decoding process, the two-dimensional matrix shall follow the following conditions:

(1) The size of the two-dimensional matrix is L × L, L represents the total number of preprogrammed charges. The rows of the two-dimensional matrix represent each charge, and the columns represent the possible casts. The number of casts is unknown, but the total number will not exceed L, so it is assumed to be L first.

(2) The value of the element in the matrix is 0 or 1. There is only one 1 in each row, and the rest are 0, which means that each charge can only be in one cast at the same time.

(3) If there is a digit 1 in a column of the matrix, the charge corresponding to that digit 1 will constitute a cast. The sum of all elements of the column shall not be greater than the tundish life. If a column in the matrix is all digits 0, the columns will not be able to form the cast, which meets the requirement the total number of casts is less than or equal to the total number of charges.

When decoding the chromosome, the position of the solution in the two-dimensional matrix is determined according to the gene bi. The corresponding relationship between any gene bi and the row number m and column number n in the two-dimensional matrix is as follows:   

m=( b i -1)//L         (round   down) n=( b i -1)%L               (take   the   remainder) (25)

Figure 3 shows the steps of chromosome decoding in the casting plan. Here is the pseudocode of chromosome decoding for casting plan.

Fig. 3.

Schematic diagram of chromosome encoding and decoding in casting plan. (Online version in color.)

Algorithm 2: Chromosome decoding for casting plan
Input: Initialize the number of casts (k = 0), the two-dimensional matrix (mid), casting plan results table (castlist)
   Known: the service life of the tundish (LT), chromosome of casting plan (chrom), charge plan results table (chargelist)
Ouput: casting plan results table (castlist)
1: for i = 1,2,…,L × L do
2:  get m and n from Eq. (18)
3:  if sum(mid[m,:])==0 and sum(mid[:,n])<=LT do // Judge whether the matrix meets the above conditions ② and ③
4:   mid[m,n]=1
5:  end if
6: end for
7: for i=1,2,..,L do
8:  if sum[:,i]!=0 do
9:   In the castlist, the row number +1* (that is, the charge number) corresponding to the digit 1 in the column is recorded to form a cast k, and record the information corresponding to the charge number in the chargelist
10:  end if
11: end for
12: return castlist
*  Notice that the row and column numbers in the two-dimensional matrix both start at 0, and the charge number starts at 1, so pay attention to the corresponding relation between them.

4.3. Calculating the Fitness Function

Fitness function adopts the fitness distribution method based on the linear ordering of the objective function value29) and can be written as follows:   

Fit(Pos)=2-SP+2×(SP-1)×(Pos-1)/(Nind-1) (26)

Here, Nind is the number of individuals in the population, Pos is the ranking position of individuals in the population; SP is the selection pressure that is generally taken as [1.0, 2.0]. When using the fitness distribution function, an objective function value of each individual in the population must be calculated in advance and these values must be arranged in descending order to obtain a ranking position of the corresponding individual. Then, according to Eq. (26), the algorithm can derive the fitness of each individual by following the convention that the higher the value of the objective function, the smaller the fitness. Thus, in the iterative process, the better individuals are selected from the population.

4.4. Genetic Operators

Genetic operators include selection operators, crossover operators and mutation operators. The selection of an operator considerably influences the convergence of an algorithm. The following compares the IEGA with the elitist genetic algorithm30) (EGA) to explain the specific operators and the main improvement of IEGA.

4.4.1. Selection Operators

In this article, we make two selection operators. Before making the selection, they need to calculate the fitness value of each chromosome according to Eq. (26). Compared with EGA, IEGA performs two selection operations successively, which can improve the convergence speed of the algorithm and reduce the solving time.

After statistical analysis of the current population, the first selection begins to independently select N parent chromosomes from the current population. The elitism and tournament selection method31) adopted, which uses the traditional tournament selection method to select a certain number of individuals from the population. However, the improvement in the elite individuals must be selected.

After completing the crossover and mutation operations and merging the parent and offspring populations, the second selection begins. The purpose is to select N chromosomes from the combined 2N chromosomes as the new generation population. This time, a direct copy selection method based on fitness ordering is adopted. After calculating the fitness value of 2N chromosomes, the values are sorted from the largest to the smallest. Then N chromosomes corresponding to the high fitness value are directly copied as a new generation population.

4.4.2. Crossover Operators

This article selects the partial matching crossover operator.32) Compared with EGA, IEGA integrates conflict detection (i.e. repair algorithm in EGA) into the crossover process, so as to directly obtain the reasonable chromosome after crossover operation, and avoid nesting two functions to prolong the solving time. The following Fig. 4 shows the crossover process, which includes four steps:

Fig. 4.

Schematic diagram of crossover operator.

Step 0. Pair all the chromosomes in the order in which they existed in the population. If the number of chromosomes is odd, the last chromosome is copied directly and does not participate in the crossover operation.

Step 1. Generate randomly the starting and ending positions of the genes to be swapped in a pair of parental chromosomes (A0\A1).

Step 2. Obtain the intermediate chromosomes (B0\B1) by swapping the genes of the two chromosomes and scrambling the sequences respectively

Step 3. Conflict detection. The mapping relationships are established between the two groups of genes in A0\A1. Then the conflicting gene in B0\B1 are replaced according to the mapping relationship. Finally, a new pair of progeny chromosomes (C0\C1) is formed.

4.4.3. Mutation Operators

This article uses chromosome fragment reversal operator33) to randomly select two reversal points from individual chromosome, and then reverses sequence the genes between the two points to obtain a new progeny chromosome.

In the late iteration period, the population lacks diversity of chromosomes, and sometimes falls into the local optimal solution and cannot get out. Therefore, compared with EGA, the method of large mutation probability is added when using the reversal operator. The idea of the large mutation probability operation34,35) is that when all the individuals in a generation are relatively concentrated, a mutation operation is performed with a probability much larger than the usual mutation probability. This mutation operation can randomly and independently produce new individuals, thus making the whole population out of precocity.

When the maximum fitness Fitmax and the average fitness Fitave of a certain generation satisfy the following formula, a mutation operation is performed with a large mutation probability.   

αFi t max <Fi t ave (27)

In which, α∈(0.5,1) is the density factor, which represents the concentration degree of an individual. In addition, the algorithm must adopt a great variation operation, when the model maintains the optimal objective function value at least ten times continuously during iteration. Here is the pseudocode of mutation operation.

Algorithm 3: Mutation operators
Input: mutation probability set Mu = {0.1,0.5}, current population pop, density factor α = 5/6
Output: new population newpop
1: Fitness calculation, selection operation and crossover operation are carried out for current population pop
2: if The optimal objective function value of pop has a number of consecutive occurrences in the iterative process ≥10 or satisfying Eq. (20) do
3:  Pm=Mu[2]
4: else
5:  Pm=Mu[1]
6: for i=1,2,..,N do // N: the population size
7.  P=rand() // The mutation probability of random generation (0,1) of each chromosome in the population.
8:   if PPm do
9:   The operation of chromosome fragment reversal is performed to generate a new generation of population newpop.
10:  end if
11. end for
12: return newpop

5. Computational Experiments

5.1. Implementation

In order to verify the integrated batch planning model and IEGA of the steelmaking plant, this article uses the actual production data of a certain steelmaking plant as an example to carry out experimental verification. The experimental environment is implemented using Python3.7, and the computing platform is JetBrains PyCharm Community (Edition 2019.2.1 x64).

5.2. Input Data

From the 300 contracts data that the plants plan to produce on a certain day, this article randomly selects 40 contracts as the basic data for the application of the model (Table 1). This research solves the integrated batch planning model for 10 cycles.

Table 1. Basic parameters of charge plan model.
Contract No.Official numberSteel grade codeSteel gradeWidth/mmDelivery time/dWeight/tCancellation penalty
16179921BQ37701F241495307010
26179928BQ69200F241533306310
36172135BN37704F211525307510
46172233CG61100F231505307510
56156607CB61200F241474307210
66172129BQ37704F241474306510
76172242BN47701F221474307510
86180591BQ38701F231472309110
96172242CB61200F221472307510
106180591AC06300R111494309110
116180572AC06300R121488308110
126180570AC06300F111476307310
136180352AC06300R111474309110
146179558AC06300R121476307410
156180330AC06300R111472306110
166180615AC06300R111472306110
176180619AC06300F121472306110
186180009AC06300R111471307410
196180193AC06300R111471307210
206176823AC06300R121470307410
216177181AC06300R121470307210
226177184AC06300F101464307610
236180189AC13500R111464306210
246176670AC13500R101258157410
256178762AC13500R101255156410
266180571AC06900F101243308110
276180578AC10400F101243306110
286179559BC06800F121241158510
296179987BC06800F111241156510
306180618AC05400F111241308110
316122828AK43701F231569306610
326180060BQ37704F241525307310
336179923BQ69200F241524306510
346169455BH02900F151471207410
356174345BC06900F1212701587100
366154910AC06300R1212701593100
376179629AC06300R1212691593100
386179877AC06300F1212691593100
396178809AC06300F1212681587100
406178952AC06300R1012681577100

Firstly, the 40 preselected contracts data are used as the input set of the charge planning model, and the number of preparation charges is 10. The experimental parameters are: population number popsize = 500, number of iterations maxgen = 1000, crossover probability Pc = 0.95, mutation probability set Mu = {0.1, 0.5}, W = 300, hc = 1.0, hw = 0.02, hd = 1.0, hR = 0.2 Rc = 2, Rw = 200, Rd = 5.

Secondly, the integrated batch planning for the steelmaking plant is to take the results of the charge plan as the input set of the casting plan, and then to obtain the casting plan results. Therefore, before solving the casting plan model, the results of the charge plan model should be sorted out, mainly in the following three aspects:

(1) Selecting the maximum steel level of the contract in the same charge as the main steel level of the charge.

(2) Standardizing the contract width of the same charge as the standard width of the continuous casting slab. The standard width is generally accurate to 100 mm.

(3) Selecting the minimum delivery time of the contract in the same charge as the delivery time of the charge.

The sorted charge plan results are used as the input set of the casting plan model. The experimental parameters are: population number popsize = 100, number of iterations maxgen = 500, crossover probability Pc = 0.85, mutation probability Pm = 0.1, LT = 4, S = 100, qc = 1.0, qw = 0.02, qd = 1.0, R c * = 2, R w * = 200, R d * = 5.

5.3. Results of Experiments

The integrated batch planning model is solved on the basis of the solution results of the charge plan and the casting plan. Table 2 shows the results of the integrated batch planning model after 10 cycles. And the second result is the best. The optimal objective function value of batch planning is 263.02. The results of the corresponding charge plan and casting plan are respectively shown in Tables 3 and 4.

Table 2. The results of integrated batch plan model.
TimesThe OOFV of the charge planThe OOFV of the casting planThe OOFV of the integrated batch planCastsThe time to solve/s
1149.98312263.393622.09
2148.74312263.023693.51
3121.28506390.585713.67
4151.32312263.803717.08
5126.88506392.265703.62
6123.1410323.934717.15
7144.98408329.094677.57
8124.14410324.244673.09
9121.28506390.584664.89
10144.98504396.294705.59

OOFV: Optimal objective function value

Table 3. The charge plan results of the second integrated batch plan.
Charge No.Contract No.Official numberSteel grade codeSteel gradeWidth/mmDelivery time/dWeight/tresidual material/t
196172242CB61200F221472307559
76172242BN47701F2214743075
86180591BQ38701F2314723091
216179921BQ37701F241495307028
66172129BQ37704F2414743065
336179923BQ69200F2415243065
56156607CB61200F2414743072
3116180572AC06300R121488308155
106180591AC06300R1114943091
126180570AC06300F1114763073
4186180009AC06300R111471307432
196180193AC06300R1114713072
166180615AC06300R1114723061
156180330AC06300R1114723061
5246176670AC13500R101258157420
406178952AC06300R1012681577
296179987BC06800F1112411565
256178762AC13500R1012551564
626179928BQ69200F241533306323
326180060BQ37704F2415253073
46172233CG61100F2315053075
316122828AK43701F2315693066
7386179877AC06300F121269159327
366154910AC06300R1212701593
356174345BC06900F1212701587
8376179629AC06300R121269159335
396178809AC06300F1212681587
286179559BC06800F1212411585
9206176823AC06300R121470307419
176180619AC06300F1214723061
146179558AC06300R1214763074
216177181AC06300R1214703072
10236180189AC13500R111464306271
226177184AC06300F1014643076
136180352AC06300R1114743091

The optimal objective function value of the charge plan = 148.74

Table 4. The casting plan results of the second integrated batch plan.
Cast No.Charge No.Steel grade codeSteel gradeWidth/mmDelivery time/dWeight/t
13AC06300R12150030245
4AC06300R11150030268
9AC06300R12150030281
10AC06300R11150030229
21BQ38701F23150030241
2BQ37701F24160030272
6BQ69200F24160030277
35BC06800F11130015280
7AC06300F12130015273
8AC06300R12130015265

The optimal objective function value of the casting plan = 312

There are 40 contracts in the preselected contract pool, but only 35 contracts are arranged in the charge plan in Table 3. Contracts 3, 26, 27, 30 and 34 are not included in the charge plan. Besides the limitation of charges number, the reason is that when combining these five contracts and the other contracts into one charge, the steel grade, slab width or delivery time are quite different from other contracts. For example, contracts 3 and 34, when combining these two contracts and any other contracts into one charge, they will result in the penalty of large steel grade difference. When combining contracts 26, 27 and 30 into one charge with any other contract, the steel grade and slab width cannot be reasonably matched at the same time. In addition, due to the early delivery time of contracts 35–40 and the large cancellation penalty of these contracts, the preparation results also show that they are all in the plan. All these fully show that the setting of the penalty coefficient of the charge plan model is reasonable, the solution result is correct, and the solution algorithm is reasonable.

As can be seen from Table 4, among the three casts of casting plan result, the differences in steel grade, slab width and delivery time are all within the reasonable range of setting. Through the analysis of the above results, it is shown that the model and algorithm of integrated batch planning for the steelmaking plant are reasonable, and the calculation efficiency and automation degree are high.

6. Discussion and Analysis

6.1. Proposed Models

From the column of the optimal objective function value of the charge plan in Table 2, it can be found that the optimal plan should be the third or the ninth result, but the final optimal result of the integrated model is the second time. However, in Table 2, the optimal objective function values of the third and ninth times of casting plan are very poor. This is an important reflection of the need for feedback and adjustment between the charge plan and the casting plan to form an integrated batch plan model.

The solution of the integrated model has a sequence, solving the charge plan first, and then solving the casting plan, and finally solving the integrated batch plan model. Therefore, the results of the charge plan can affect the solution of the casting plan model. By comparing the second result and third result in Table 2, that is, Tables 3 and 5, Tables 4 and 6, it can be found that:

Table 5. The charge plan results of the third integrated batch plan.
Charge No.Contract No.Steel gradeWidth/mmDelivery time/dresidual material/t
124, 40, 25, 2910, 10, 10, 111258, 1268, 1255, 124115, 15, 15, 1520
24, 2, 33, 3223, 24, 24, 241505, 1533, 1524, 152530, 30, 30, 3024
315, 12, 16, 1011, 11, 11, 111472, 1476, 1472, 149430, 30, 30, 3014
49, 3, 722, 21, 221472, 1525, 147430, 30, 3075
58, 5, 1, 623, 24, 24, 241472, 1474, 1495, 147430, 30, 30, 302
619, 18, 13, 2311, 11, 11, 111471, 1471, 1474, 146430, 30, 30, 301
728, 39, 3712, 12, 121241, 1268, 126915, 15, 1535
826, 30, 2710, 11, 101243, 1241, 124330, 30, 3077
935, 38, 3612, 12, 121270, 1269, 127015, 15, 1527
1020, 14, 17, 1112, 12, 12, 121470, 1476, 1472, 148830, 30, 30, 3010

Table 6. The casting plan results of the third integrated batch plan.
Cast No.Charge No.Steel gradeWidth/mmDelivery time/dWeight/t
13, 6, 1011, 11, 121500, 1500, 150030, 30, 30286, 299, 290
22, 524, 241600, 150030, 30276, 298
31, 7, 911, 12, 121300, 1300, 130015, 15, 15280, 265, 273
4422160030225
5811130030223

(1) The total amount of residual material in the second and third times are 369 t and 285 t, respectively. In this respect, the result of the third time is better. However, according to section 3.2 and 3.3, it can be found that the penalty value of the residual material is not as large as the penalty value of the increased cast.

(2) The purpose of the steelmaking plant is to pursue continuous casting as much as possible, not exceeding the tundish life under the same cast as many charges as possible. The number of the second and third casts are three and five respectively. If the casts is too much, the equipment adjustment cost between casts of the continuous casting machine will be high, which is not desired in the actual situation.

(3) As shown in Table 6, No. 4 cast only includes one charge, and it is two steps different from the steel grade of No. 2 cast, so it cannot be cast continuously. No. 5 cast also only includes one charge, and the delivery time is 30 days different from that of the No. 3 cast. These are unreasonable plans.

(4) The main reason why the objective function value of the third integrated model is larger than the second value is the increase of the casts. In the case of studying the closely related practical problems of steel plants, the practical situation has to be considered as a factor. The third result is obviously not desired by the field managers, which will lead to increased costs, increased labor force and waste of resources.

6.2. Proposed Algorithm

Figure 5 is the iteration curves of the result of the second integrated batch planning model solved by the IEGA. The vertical coordinate represents the objective function value, and the horizontal coordinate represents the iteration times. In Fig. 5(a), after 500 iterations of solving the charge plan model, the optimization result is 148.74. In Fig. 5(b), after 100 iterations of solving the casting plan model, the optimization result is 312. The convergence rate of the algorithm is faster. The scale of the casting plan is smaller than that of the charge plan, so its optimization speed is faster. During the iteration process of the IEGA, the value of the objective function gradually converges to a smaller direction, indicating the algorithm in this article is effective.

Fig. 5.

The iteration curve of the charge plan and casting plan model solved by the IEGA. (Online version in color.)

In addition, this article has tried other methods to solve this case, and the corresponding results are shown in Table 7. The elitist genetic algorithm (EGA) and simple genetic algorithm (SGA) are tried, but can’t search for results with three casts. And the OOFV of the integrated model is obviously more advantageous for IEGA and more in line with the actual steel plant. From the solution of the charge plan alone, the OOFV of IEGA can reach 121.28 in Table 2, which is also better than EGA and SGA. From the solution of the casting plan alone, the result of IEGA is 312, which is also in an absolute advantage. As for the time of solving the problem, there is little difference among the three algorithms, which is mainly related to the population size and the number of iterations. There is also one of the most basic methods, manual production planning. Considering manual planning can only be realized when the number of preselected contracts is small, but the number is large in the article, the staff cannot achieve planning.

Table 7. Comparison of solution results of multiple methods.
MethodsThe OOFV of the charge planThe OOFV of the casting planThe OOFV of the integrated batch planCastsThe time to solve/s
IEGA148.74312263.023693.51
EGA123.18410323.954754.84
SGA2279.25021035.165758.95

OOFV: Optimal objective function value

In the process of solving the model, each iteration of IEGA needs to be selected twice. The first selection preserves the elite chromosomes in each generation, and the second selection preserves the population with high fitness in each generation. Partial matching crossover operation enhances the difference between individuals in each generation of population. The chromosome fragment reversal mutation operation increases the chromosome richness; in particular, in the late iteration, when the chromosomes in the population tend to be consistent, the combination of the great variation operation increases the chromosome richness to avoid the algorithm tending to the local optimal solution. Therefore, we concluded that the proposed IEGA was superior over EGA and SGA in solving the batch plan model.

7. Conclusion and Prospects

After analyzing the existing research on integrated batch planning in the steelmaking plant, this article develops the charge plan model and the casting plan model successively, and finally proposes the integrated batch planning model. In this article, the idea of modeling focuses more on the feedback and adjustment between the charge plan and the casting plan, rather than the independent study of the two.

According to the specific situation of the model, this article improves the traditional genetic algorithm and solves the planning model successfully. According to the characteristics of the planning model, the research adopts the permutation encoding method, and proposes the different chromosome decoding strategies for the charge plan model and the casting plan model. This article adopts the fitness distribution method based on the linear ordering of the objective function value in the fitness functions. The selection operator adopts the elitism and tournament selection method and the direct copy selection method based on fitness sorting. The crossover operator adopts the partial matching crossover operator. The mutation operator adopts the chromosome fragment reversal operator and combines the method of large mutation probability operation. Through the model analysis, the importance of integrated batch planning is clarified. The algorithm analysis proves that IEGA algorithm is more effective than EGA and SGA.

This study evidences the rationality of the proposed model and algorithm, but its practicability needs to be further verified. In this regard, future works will include the following subjects: 1) development and improvement of the steelmaking plant production planning system with increased versatility; 2) integrating the hot rolling plan, finally form the production plan of steelmaking - continuous casting - hot rolling; 3) studying the scheduling problem.

References
 
© 2022 The Iron and Steel Institute of Japan.

This is an open access article under the terms of the Creative Commons Attribution-NonCommercial-NoDerivs license.
https://creativecommons.org/licenses/by-nc-nd/4.0/
feedback
Top