- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Recently Accepted Articles ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Abstract and Applied Analysis

Volume 2014 (2014), Article ID 857521, 5 pages

http://dx.doi.org/10.1155/2014/857521

## Improved Cross Entropy Algorithm for the Optimum of Charge Planning Problem

School of Control Science and Engineering, Shandong University, Jinan 250061, China

Received 14 March 2014; Accepted 13 June 2014; Published 1 July 2014

Academic Editor: Qi-Ru Wang

Copyright © 2014 Fan Yang and Qiqiang Li. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

To solve the charge planning problem involving charges and the orders in each charge, a traveling salesman problem based charge planning model and the improved cross entropy algorithm are proposed. Firstly, the charge planning problem with unknown charge number is modeled as a traveling salesman problem. The objective of the model is to minimize the dissimilarity costs between each order and its charge center order, the open order costs, and the unselected order costs. Secondly, the improved cross entropy algorithm is proposed with the improved initial state transition probability matrix which is constructed according to the differences of steel grades and order widths between orders. Finally, an actual numerical example shows the effectiveness of the model and the algorithm.

#### 1. Introduction

Primary steel making is a main stage of steel production process [1], in which oxygen furnaces or electric furnaces convert molten iron into batches of molten steel. The batch, which is made to satisfy a group of orders requiring identical charge widths and steel grades, is called charge in steel production terms. Charge plan converts the primary order requirements into various charges subject to the process constraints of steel production. Reasonable design of charges can improve the productivity and cut down the resource and energy consumption. So, charge planning is a key element of the production operation management in the steel making industry and has been discussed a lot in the present literature. For example, Tang et al. [2] established a mixed integer programming model and a genetic algorithm for the problem. In another paper, Tang and Jiang [3] presented a novel mixed-integer programming model for the charge planning problem, and two kinds of Lagrangian relaxation methods are proposed to solve the problem by using different relaxation methods. The number of charges in these articles is known previously, while it is better to be determined by the planner in the steel production process in order to raise productivity. Dong et al. [4] transformed the objective of minimizing the number of charges into a constraint of minimum and maximum number of charges. However, when we derive a charge plan, the number of charges also needs to be settled according to the constraint firstly. Xue et al. [5] modeled the charge planning problem with unknown charge number and transformed the model into pseudo-traveling salesman model. In this model, the dissimilarity costs in a charge are calculated as total differences among orders in the same charge, while it is better to be calculated as differences between orders in each charge and the charge center order according to the practical steel production process. Wang et al. [6] developed a new charge plan model and a modified parthenogenetic algorithm for billet continuous cast process, but the penalties for the contract products’ widths and steel grades were removed from the model. Based on the analysis of the papers mentioned above, a precise charge planning model, especially with the optimum charge number and minimum of the dissimilarity costs between each order and its charge center order, needs further research.

Charge planning problem is a NP-hard combinatorial optimization problem, so how to improve the speed and accuracy of the algorithm for this problem is a key point. As mentioned above, the charge plan is made under some production constraints, which can be used to improve the speed and accuracy of the charge planning algorithm. The existing algorithms only consider these constraints as variables in the charge planning models while the proposed improved cross entropy (ICE) algorithm in this study could use the constraints efficiently. Cross entropy (CE) method [7] is a simple, efficient, and general method for solving NP-hard combinatorial optimization problems. It has been used to solve the traveling salesman problem [8], the vehicle routing problem [9], the buffer allocation problem [10], and the max-cut problem [11]. These applications demonstrate the power of the CE method as a generic and practical tool for solving NP-hard problems.

In this research, the improved cross entropy algorithm is proposed to solve the charge planning problem with unknown charge numbers and its objective is to minimize the dissimilarity costs between each order and its charge center order. The rest of the paper is organized as follows. Section 2 states the charge planning model based on the traveling salesman problem. Section 3 introduces the improved cross entropy algorithm in detail. The proposed approach is applied to an example, and the result is compared with cross entropy method in Section 4. This study is summarized and concluded in Section 5.

#### 2. Charge Planning Model Based on Traveling Salesman Problem

##### 2.1. Problem Description

Charge is the basic unit for the steel making process, and the problem in this study is to establish the optimum charge plan including the charge center orders and the orders merged into them. Each order has its own requirement on steel grade, specification, and due date. The requirement differences may cause some costs when an order merged into a charge center order. Therefore, minimize the requirement differences between charge center orders and the orders merged into them are one of three objectives of charge planning problem. The other two objectives are to minimize the costs of unselected orders and the amount of open orders which are used to fill in the furnace but do not belong to any current orders. The requirements for establishing a charge plan are listed as follows.(1)The steel grades of the orders in a charge should be in the same steel grade class.(2)The widths differences of the orders in a charge should not be larger than the allowed maximum adjustment width .(3)The thicknesses of orders in a charge should be the same. In this study, the thicknesses of orders are supposed all same according to the actual production process.(4)The total weight of the contract products in a charge should not surpass the maximum furnace capacity.(5)The due dates of the contract products in a charge should be similar.

##### 2.2. Charge Planning Model

Given orders, assume that each single order is less than furnace capacity and cannot be split. The charge planning problem is modeled as follows.

Minimize

subject to where is a penalty coefficient for open order in the charge of center order , is the weight of charge , is the unselected penalty of charge , , which can be calculated via , is the dissimilarity cost for the differences between order and the charge center order that merged in, , , and are the costs caused by the differences of steel grades, widths, and due dates, respectively, between and , which can be calculated as follows: , , and are the steel grade value, width, and due date of order , respectively. is the unit cost coefficient with the difference of steel grade. is the unit width dissimilarity penalty cost coefficient. is the earliness penalty coefficient and is the tardiness penalty coefficient. is the due date piecewise parameter.

and are decision variables, where

In the charge planning model mentioned above, objective function (1) minimizes the sum of dissimilarity costs caused by each order and its charge center order, and the costs resulted from open order and the penalty costs for unselected orders. The first part of constraint formula (2) represents that each order can be assigned to only one charge center at most, the second part of constraint formula (2) represents that total charge weight is less than furnace capacity , and the third part of constraint formula (2) expresses that variables and have two possible values: 0 or 1.

##### 2.3. Traveling Salesman Problem Model for Charge Planning

Regarding the orders as cities, the sum of dissimilarity costs caused by orders merged into charge centers, the costs resulted from open order and the penalties for unselected orders as distances, furnace capacity as the maximum distance a salesman travels, the charge planning problem can be regarded as a traveling salesman problem. The objective of the problem is to find an optimum order sequence minimum the penalty costs that calculated by formula where is the penalty cost of charge , which can be calculated as follows:

The piecewise function (6) means if the sum of dissimilarity costs caused by the orders merged into the th charge and the open order costs in this charge is larger than the total unselected penalties, the orders in this charge are canceled, and then the total penalty of the th charge is set to the total unselected penalties. means the th charge center order:

is the indicator function that indicates whether is merged into charge :

#### 3. Improved Cross Entropy Algorithm

In the last section, the traveling salesman problem based model of charge planning problem is constructed. We can use cross entropy method, which has been proven as an efficient method for solving the traveling salesman problem, to solve the charge planning problem as the method. The result did not meet performance expectation when we use the method directly, so we need to improve it. The key point in using cross entropy method to solve a combinatorial optimization problem is the state transition probability matrix, which can be improved according to the characteristics of the problem. In the charge planning problem, two orders with different steel grades or widths have different dissimilarity costs when merged into a same charge center, so the matrix elements can be settled according to the dissimilarity costs as follows.(1)Assign values to matrix elements according to the process constraints of the problem: (2)Normalize :

Based on the state transition probability matrix above, we proceed the improved cross entropy algorithm as follows.

*Step 1. *Generate order paths , via a Markov process with the initial state transition probability matrix described by (10), where is the virtual starting order.

*Step 2. *Calculate for every order path using formula (5).

*Step 3. *Order from the smallest to the biggest: , and evaluate the sample quantile as , where , is called the th order statistic of the sequence and means round up to the nearest integer.

*Step 4. *Update by taking only those paths that have a total length less than or equal to into account, and the updated value for can be estimated as , where is the set of tours in which the transition from to is made and is indicator function.

*Step 5. *If = for every , calculate and then stop; otherwise, reiterate from Step 1, denotes the value of smallest cost in iteration .

To avoid local optimum, instead of updating the transition matrix directly via Step 4, we use a smoothed updating procedure in which , where is smoothing parameter.

#### 4. Computational Results and Discussion

We test our algorithm on the practical production data shown in [5] with 30 orders to be arranged. The basic model parameters are , , , , , , and .

To verify the efficiency of the proposed algorithm, we compare the results obtained by ICE and CE. The algorithms are run on Matlab 7.0 and a personal computer of Pentium R, 2 GB RAM. There are three parameters in the proposed improved cross entropy algorithm and cross entropy method: sample size , rarity parameter , and smoothing parameter . Different values of the parameters may result in different solution results. We test for , for , and for . The parameters maintain the same when they are not the tested parameter. Ten computational tests have been conducted for each of different values of each parameter. Mean deviations between the results of the ten tests and the best result as well as the mean running times are regarded as performance criteria of the algorithms. According to the results of the tests, we choose , and in this study. The results of the charge planning problem mentioned above are shown in Table 1.

The optimum values are the best values obtained by the two algorithms in 10 times, the mean times are the average times that the two algorithms run 10 times, and the mean deviations are the average distances between the 10 values and the optimum values of the two algorithms in 10 times. The details of the optimum charge plan obtained by ICE and CE are shown in Table 2.

From Tables 1 and 2, we can observe that ICE makes several improvements compared to the CE method: the optimum value is decreased; the average run time is decreased by about 11.2%; the mean deviations are decreased significantly. These observations prove that the proposed ICE algorithm is better than CE method when solving the charge planning problems, which means better productivity and less resource consumption in the actual production process.

#### 5. Conclusion

In this paper, we described the charge planning problem that focuses on the unknown charge number and the dissimilarity costs between orders and those charge center orders in iron and steel production process. The charge planning model, which is based on traveling salesman problem, is formulated and the improved cross entropy algorithm is proposed. Through the improvement of state transition probability matrix, the proposed ICE algorithm could take advantage of the problem’s characteristics. As a result, the speed and accuracy of the algorithm are improved, which are proved by an actual production example. Future work will focus on improving the stability and accuracy of ICE and extending the model and algorithm to the actual charge planning systems.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

The authors acknowledge financial support from the National High Technology Research and Development Program (863 Program) of China under Grant 2007AA04Z157, the Shandong Provincial Natural Science Foundation under Grant ZR2010FZ001, and the Graduate Independent Innovation Foundation of Shandong University (GIIFSDU) under Grant 2082012yzc12136.

#### References

- H. S. Lee, S. S. Murthy, S. W. Haider, and D. V. Morse, “Primary production scheduling at steelmaking industries,”
*IBM Journal of Research and Development*, vol. 40, no. 2, pp. 231–252, 1996. View at Publisher · View at Google Scholar · View at Scopus - L. X. Tang, Z. H. Yang, and M. G. Wang, “Model and algorithm of furnace charge plan for steelmaking-continuous casting production scheduling,”
*Journal of Northeastern University (Natural Science)*, vol. 17, pp. 440–445, 1996. - L. Tang and S. Jiang, “The charge batching planning problem in steelmaking process using lagrangian relaxation algorithm,”
*Industrial & Engineering Chemistry Research*, vol. 48, no. 16, pp. 7780–7787, 2009. View at Publisher · View at Google Scholar · View at Scopus - H. Dong, M. Huang, W. H. Ip, and X. Wang, “On the integrated charge planning with flexible jobs in primary steelmaking processes,”
*International Journal of Production Research*, vol. 48, no. 21, pp. 6499–6535, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - Y. Xue, D. Zheng, and Q. Yang, “Optimum charge plan of steelmaking continuous casting based on the modified discrete particle swarm optimization algorithm,”
*Computer Integrated Manufacturing Systems*, vol. 17, no. 7, pp. 1509–1517, 2011. View at Scopus - C. Wang, Q. Liu, Q. Y. Li, B. Wang, F. M. Xie, and B. L. Wang, “Optimal charge plan model for steelmaking based on modified partheno-genetic algorithm,”
*Control Theory and Applications*, vol. 30, no. 6, pp. 734–741, 2013. View at Publisher · View at Google Scholar · View at Scopus - R. Rubinstein, “The cross-entropy method for combinatorial and continuous optimization,”
*Methodology and Computing in Applied Probability*, vol. 1, no. 2, pp. 127–190, 1999. View at Publisher · View at Google Scholar · View at MathSciNet - P. de Boer, D. P. Kroese, and S. Mannor, “A tutorial on the cross-entropy method,”
*Annals of Operations Research*, vol. 134, pp. 19–67, 2005. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - K. Chepuri and T. Homem-de-Mello, “Solving the vehicle routing problem with stochastic demands using the cross-entropy method,”
*Annals of Operations Research*, vol. 134, pp. 153–181, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - G. Alon, D. P. Kroese, T. Raviv, and R. Y. Rubinstein, “Application of the cross-entropy method to the buffer allocation problem in a simulation-based environment,”
*Annals of Operations Research*, vol. 134, pp. 137–151, 2005. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - R. Y. Rubinstein, “Cross-entropy and rare events for maximal cut and partition problems,”
*ACM Transactions on Modeling and Computer Simulation*, vol. 12, no. 1, pp. 27–53, 2002. View at Publisher · View at Google Scholar · View at Scopus