Abstract

A new efficient heuristic algorithm has been developed for the dynamic facility layout problem with budget constraint (DFLPB) using optimization via simulation technique. The heuristic integrates integer programming and discrete event simulation to address DFLPB. In the proposed algorithm, the nonlinear model of the DFLP has been changed to a pure integer programming (PIP) model. Then, the optimal solution of the PIP model has been used in a simulation model that has been designed in a similar manner as the DFLP for determining the probability of assigning a facility to a location. After a sufficient number of runs, the simulation model obtains near optimum solutions. Finally, to test the performance of the algorithm, several test problems have been taken from the literature and solved. The results show that the proposed algorithm is more efficient in terms of speed and accuracy than other heuristic algorithms presented in previous works.

1. Introduction

According to [1], the problem associated with the placement of facilities in a plant area, often referred to as the β€œfacility layout problem,” is known to have a significant impact on manufacturing costs, work in processes, lead times, and company productivity. According to [2–4], a well-designed placement of facilities contributes to the overall efficiency of operations and can reduce up to 50% of the total operating expenses. The facility may be a manufacturing plant, warehouse, port, administrative office building, or service facility. Nowadays, manufacturing plants must be able to respond quickly to changes in demand, production volume, and product mix. According to [5], on average, 40% of a company sales come from new products. However, changes in product mixes would require modifications to the production flow, thus affecting the facility layout. According to [2] $ 250 billion is being invested annually in the USA for reorganizing facility layouts. Many researchers have tried to take such an important issue into account when designing facility layouts. Most layout problems addressed in many research articles are implicitly considered as static; in other words, they assume that the key data of the workshop and the intended product will remain constant for a sufficiently long period. Recently, the concept of dynamic layout problems has been introduced by several researchers. According to [6, 7], dynamic layout problems take into account possible changes in the material handling flow over multiple periods. In the dynamic facility layout problem (DFLP), the planning horizon is generally divided into certain periods which may be defined in weeks, months, or even years. The flow data for each period are forecasted, and it is assumed that these data remain constant throughout the defined period. Therefore, the facility layout problem for each period can be considered as a static facility layout problem (SFLP) and can be solved independently. The total cost of finding a solution to the DFLP can be divided into two parts: material handling costs in each period and rearrangement costs for facilities that need to be relocated from one period to the next. It is suboptimal to solve the DFLP as a series of static layout problems, with one problem used separately for each period, because this approach does not consider the costs of relocating facilities from one period to the next.

Rosenblatt [8] showed the first research to develop an optimization approach based on a dynamic programming model for the DFLP. However, this approach is computationally intractable for real-life problems. The author showed that the number of layouts to be evaluated to guarantee optimality for a DFLP with 𝑁 departments and 𝑇 periods is (𝑁!)𝑇. Because of the computational difficulties inherent in such a problem, several heuristics have been developed. Rosenblatt [8] proposed two heuristics that were based on dynamic programming, each of which simply considers a set of limited good layouts for a single period. Urban [9] developed a steepest-descent heuristic based on a pairwise exchange idea, which is similar to CRAFT. Lacksonen and Enscore [10] introduced and compared five heuristics to solve the DFLP, which were based on dynamic programming, a branch and bound algorithm, a cutting plane algorithm, cut trees, and CRAFT.

It should be mentioned that in addition to exact algorithms, many metaheuristic algorithms have been reported in the literature such as a genetic algorithm by [11] and a tabu search (TS) heuristic by [12]. This TS heuristic is a two-stage search process that incorporates diversification and intensification strategies. Baykasoglu and Gindy [13] developed a simulated annealing (SA) heuristic for the DFLP, in which they used the upper and lower bound of the solution of a given problem instance to determine the SA parameters. Balakrishnan et al. [14] presented a hybrid genetic algorithm. Erel et al. [15] introduced a new heuristic algorithm to solve the DFLP. They used weighted flow data from various time periods to develop viable layouts and suggested the shortest path for solving the DFLP. McKendall and Shang [16] developed three hybrid ant systems (HAS). McKendall et al. [17] introduced two (SA) heuristics. The first one (SA I) is a direct adaptation of SA for the DFLP while the second one (SA II) is the same as SA I except that it incorporates an added look-ahead/look-back strategy. A hybrid meta-heuristic algorithm based on a genetic algorithm and tabu search was introduced by Rodriguez et al. [18]. Krishnan et al. [19] used a new tool, the β€œDynamic From-Between Chart,” for an analysis of redesigned layouts. This tool models changes in the production rates using a continuous function. Balakrishnan and Cheng [6] investigated the performance of algorithms under fixed and rolling horizons, differing shifting costs, flow variability, and forecast uncertainty [6]. For an extensive review on the DFLP, one can refer to the studies presented by [20, 21]. The studies described above share a common assumption that all departments are of equal size. However, some studies do not make this assumption. Two recent examples of such studies are [22, 23].

It should be noticed that most previous researches did not consider the company budget for rearranging the departments. Because these rearrangements are costly activities, it is normal for a company to have a limited budget in this regard. According to the literature, there are just three studies on DFLP with the budget constraints [24–26]. The last one, which is the newest related research, used a budget constraint for each period separately. They developed a simulated annealing algorithm for the problem and showed that their algorithm is more efficient than the two previous researches.

In this paper, we first introduce the problem formulation for the DFLPB in Section 1. Then, in Section 2, this model is replaced with a similar linear model that is easier to solve. In Section 3, we introduce the idea which was proposed in [27]. They used the optimal solution of their linear model as a probability distribution in a simulation model. While they used this approach toward solving the traveling salesman problem, this empirical distribution can also be used here to determine the probability of assigning facilities to certain locations. This technique has an important role in the proposed algorithm. The number of necessary runs is also computed in this section. In Section 4, the proposed algorithm is introduced. In Section 5, computational results are summarized, and, finally, some concluding remarks are presented in Section 6.

2. DELPB Formulation

The DFLP can be modeled as a modified quadratic assignment problem, similar to the static facility layout problem (SFLP). The notations used in the model are given as follows: π‘₯𝑑𝑖𝑗=⎧βŽͺ⎨βŽͺ⎩1ifdepartment𝑖isassignedtolocation𝑗atperiod𝑑,0otherwise.(1)𝑁 is both the number of departments and the number of locations, 𝑇 the number of periods in the planning horizon, 𝐢𝑑𝑖𝑗𝑙 cost of material handling between department 𝑖 in location 𝑗 and department π‘˜ in location 𝑙 during period 𝑑, 𝐴𝑑𝑖𝑗𝑙 cost of rearranging department 𝑖 from location 𝑗 to location 𝑙 at the beginning of period 𝑑, 𝐿𝐡𝑑 leftover budget from period t to period 𝑑+1,  𝐡𝑑 available budget for period 𝑑, and 𝐴𝐡𝑑 allocated budget for period 𝑑.

Problem 1. Problem 1 is as follows:Min⋅𝑧=𝑇𝑁𝑑=2𝑁𝑖=1𝑁𝑗=1𝑙=1π΄π‘‘π‘–π‘—π‘™βˆ—π‘₯π‘‘βˆ’1,π‘–π‘—βˆ—π‘₯𝑑𝑖𝑙+𝑇𝑁𝑑=2𝑁𝑖=1𝑁𝑗=1𝑙=1πΆπ‘‘π‘–π‘—π‘˜π‘™βˆ—π‘₯π‘‘π‘–π‘—βˆ—π‘₯π‘‘π‘˜π‘™ξƒͺ(2) s.t.𝑁𝑗=1π‘₯𝑑𝑖𝑗=1,βˆ€π‘–=1,2,…,𝑁,βˆ€π‘‘=1,2,…,𝑇,(3)𝑁𝑖=1π‘₯𝑑𝑖𝑗=1,βˆ€π‘—=1,2,…,𝑁,βˆ€π‘‘=1,2,…,𝑇,(4)𝐿𝐡𝑑=π΅π‘‘βˆ’π‘ξ“π‘π‘–=1𝑁𝑗=1𝑙=1π΄π‘‘π‘–π‘—π‘™βˆ—π‘₯π‘‘βˆ’1,π‘–π‘—βˆ—π‘₯𝑑𝑖𝑙,βˆ€π‘‘=1,2,…,𝑇,(5)𝐡𝑑=𝐴𝐡𝑑+πΏπ΅π‘‘βˆ’1,βˆ€π‘‘=1,2,…,𝑇,(6)𝑁𝑁𝑖=1𝑁𝑗=1𝑙=1π΄π‘‘π‘–π‘—π‘™βˆ—π‘₯π‘‘βˆ’1,π‘–π‘—βˆ—π‘₯𝑑𝑖𝑙≀𝐡𝑑,βˆ€π‘‘=1,2,…,𝑇,(7)π‘₯π‘‘π‘–π‘—βˆˆ{0,1},βˆ€π‘–,𝑗=1,2,…,𝑁,βˆ€π‘‘=1,2,…,𝑇,(8)𝐿𝐡𝑑,𝐡𝑑,𝐴𝐡𝑑β‰₯0,βˆ€π‘‘=1,2,…,𝑇,(9) In Problem 1, the objective function (2) is used to minimize the sum of the rearrangement and material handling costs. Constraint set (3) restricts each location to be assigned to only one department during each period and constraint set (4) ensures that exactly one department is assigned to each location within each period. Constraint set (5) is for equating the total available budget in a period to sum of the leftover budget from previous period and the allocated budget in the current period. Finally, the constraint set (6) represents the budget constraints for each period. This zero-one programming problem has been shown to be an NP-hard model [20]. To solve the problem, a linear interpolation was used to change the objective function into a linear function. This technique makes the problem easier to solve using certain degrees of accuracy. However, we demonstrate that the computational results have sufficient accuracy in comparison to the results of the previous works. Therefore, the two nonlinear expressions π‘₯π‘‘βˆ’1,π‘–π‘—βˆ—π‘₯𝑑𝑖𝑙 and π‘₯π‘‘π‘–π‘—βˆ—π‘₯π‘‘π‘˜π‘™ should be transformed through the linear interpolation. Assume a nonlinear function as follows: 𝑓π‘₯𝑖,π‘₯𝑗=π‘₯𝑖π‘₯𝑗,where0≀π‘₯𝑖,π‘₯𝑗≀1.(10)By introducing two new variables: π‘₯π‘‘βˆ’1,𝑖𝑗+π‘₯𝑑𝑖𝑙=2π‘§π‘‘βˆ’1,𝑑𝑖𝑗𝑙,π‘₯𝑖𝑗𝑖+π‘₯π‘‘π‘–π‘˜π‘™=2π‘€π‘‘π‘–π‘—π‘˜π‘™.(11) Replacing them in Problem 1 and relaxing the 0-1 variables, the resulting problem will form the following linear continuous model, which is the simplest model in the mathematical programming theory (complexity theory).

Problem 2. Problem 2 is as follows:Min⋅𝑧=𝑇𝑁𝑑=2𝑁𝑖=1𝑁𝑗=1𝑙=1π΄π‘‘π‘–π‘—π‘™βˆ—π‘§π‘‘βˆ’1,𝑑𝑖𝑗𝑙+𝑇𝑁𝑑=2𝑁𝑖=1𝑁𝑗=1𝑙=1πΆπ‘‘π‘–π‘—π‘˜π‘™βˆ—π‘€π‘‘π‘–π‘—π‘˜π‘™ξƒͺ(12) s.t.𝑁𝑗=1π‘₯𝑑𝑖𝑗=1,βˆ€π‘–=1,2,…,𝑁,βˆ€π‘‘=1,2,…,𝑇,(13)𝑁𝑖=1π‘₯𝑑𝑖𝑗=1,βˆ€π‘—=1,2,…,𝑁,βˆ€π‘‘=1,2,…,𝑇,(14)π‘₯π‘‘βˆ’1,𝑖𝑗+π‘₯𝑑𝑖𝑙=2π‘§π‘‘βˆ’1,𝑑𝑖𝑗𝑙,βˆ€π‘–,𝑗,𝑙=1,2,…,𝑁,βˆ€π‘‘=2,3,…,𝑇,(15)π‘₯𝑑𝑖𝑗+π‘₯π‘‘π‘˜π‘™=2π‘€π‘‘π‘–π‘—π‘˜π‘™βˆ€π‘–,𝑗,𝑙=1,2,…,𝑁,βˆ€π‘‘=1,2,…,𝑇,𝑖≠𝑗,π‘˜β‰ π‘™,(16)𝐿𝐡𝑑=π΅π‘‘βˆ’π‘ξ“π‘π‘–=1𝑁𝑗=1𝑙=1π΄π‘‘π‘–π‘—π‘™βˆ—π‘§π‘‘βˆ’1,𝑑𝑖𝑗𝑙,βˆ€π‘‘=1,2,…,𝑇,(17)𝐡𝑑=𝐴𝐡𝑑+πΏπ΅π‘‘βˆ’1,βˆ€π‘‘=1,2,…,𝑇,(18)𝑁𝑁𝑖=1𝑁𝑗=1𝑙=1π΄π‘‘π‘–π‘—π‘™βˆ—π‘§π‘‘βˆ’1,𝑑𝑖𝑗≀𝐡𝑑,βˆ€π‘‘=1,2,…,𝑇,(19)0≀π‘₯𝑑𝑖𝑗≀1,βˆ€π‘–,𝑗=1,2,…,𝑁,βˆ€π‘‘=1,2,…,𝑇,(20)0β‰€π‘§π‘‘βˆ’1,𝑑𝑖𝑗≀1,βˆ€π‘–,𝑗=1,2,…,𝑁,βˆ€π‘‘=2,3,…,𝑇,(21)0β‰€π‘€π‘‘π‘–π‘—π‘˜π‘™β‰€1,βˆ€π‘–,𝑗,π‘˜,𝑙=1,2,…,𝑁,βˆ€π‘‘=1,2,…,𝑇,𝑖≠𝑗,π‘˜β‰ π‘™,(22)𝐿𝐡𝑑,𝐡𝑑,𝐴𝐡𝑑β‰₯0,βˆ€π‘‘=1,2,…,𝑇,(23) Problem 2 has more variables and constraints compared to Problem 1, but because this is a linear model, the computational time will be much lower than Problem 1, according to the computational results.

3. Input Values for Simulation Model

Before describing the simulation model for the DFLPB, an idea that was developed by [27] is presented for the traveling salesman problem. In this idea, because all variables in Problem 2 are between zero and one and according to constraints (13) and/or (14), their summations are equal to 1, the definition of π‘₯𝑑𝑖𝑗 can be interpreted as the probability of assigning department 𝑖 to location 𝑗 during period 𝑑. As mentioned before, this concept plays a key role in the simulation model, where it must use a probability distribution for randomly assigning each facility to each location during a certain period. In fact, the optimal values that come from Problem 2 are empirical distributions that will be used by the simulation model. Because Problem 2 is an estimation of the real problem, these empirical distributions help us to reduce the simulation runs in order to find the best solution faster. Because the algorithm uses a linear interpolation, the optimal solution of Problem 2 will be an estimator for the real values. Now, suppose that the optimal solution of Problem 1 is known and π‘₯βˆ—π‘‘π‘–π‘— is the optimal solution of Problem 2. Define 𝐴𝑑 as the probability of finding the optimum solution of Problem 1 at period 𝑑 as follows:𝐴𝑑=𝑖𝑗π‘₯βˆ—π‘‘π‘–π‘—.(24) To find the optimal assignment values for a maximum 𝑛𝑑 runs in the simulation model, with %(1βˆ’π›Ό) as the significance level:𝐴𝑑+ξ€·1βˆ’π΄π‘‘ξ€Έπ΄π‘‘+ξ€·1βˆ’π΄π‘‘ξ€Έ2𝐴𝑑+β‹―+1βˆ’π΄π‘‘ξ€Έπ‘›π‘‘βˆ’1,𝐴𝑑β‰₯1βˆ’π›Ό.(25) Then,𝑛𝑑log1βˆ’π΄π‘‘ξ€Έβ‰€log(𝛼).(26) Therefore,𝑛𝑑β‰₯log(𝛼)ξ€·log1βˆ’π΄π‘‘ξ€Έ.(27) Because 𝑛𝑑 is the number of minimum needed runs to obtain optimal solution at period 𝑑, NR can be defined as the number of minimum needed runs; then we haveNR=Max⋅𝑑𝑛𝑑.(28) For calculating 𝐴𝑑 and NR, a heuristic algorithm has been developed as follows.

Step 1. Define πΎβŠ‚π‘ as a subset of facilities that have been assigned to the locations and set 𝐾={}. Denote 𝑃 as the set of correspondent probabilities of the elements in 𝐾.

Step 2. Solve Problem 2 and find the optimal solutions as π‘₯βˆ—π‘‘π‘–π‘—.

Step 3. Select a facility that has the maximum value for the assignment, and, if there is a tie, then select a facility randomly. Assume that facility π‘š has the maximum assignment value among all π‘₯βˆ—π‘‘π‘–π‘—, which is denoted by π‘₯βˆ—π‘‘π‘šπ‘—. Now, add facility π‘š to set 𝐾 and π‘₯βˆ—π‘‘π‘šπ‘— to 𝑃.

Step 4. If 𝐾=𝑁, then go to Step 5; otherwise, go back to Problem 2. For each facility in set 𝐾, set the correspondent assignment variables to 1, and then add these new constraints to Problem 2. Go to Step 2.

Step 5. Now, 𝐴𝑑 can be estimated using the product of all elements in set 𝑃 according to (24).
And the value for NR can be computed based on (28).
As it will be shown in the computational results.
(i)The value of NR is relatively low in comparison to other developed metaheuristics, which results in quick run times. This is because, the optimal values obtained from Problem 2 are near to the optimal solutions, and their values are greater than 0.76 in most cases. This fact will cause NR to be sufficiently low in the computations based on (27).(ii)Because the simulation model does not depend on simulation clock, all runs will be completed very quickly (less than 0.01 min in most cases). Therefore, this effective criterion will help the simulation find the near optimum solutions as quickly as possible. The simulation model has been designed according to Problem 1. All constraints have been coded using Enterprise Dynamics 8.1 software with 4D Script language. All input parameters such as the rearrangements costs, material handling costs, and the optimal solutions of Problem 2 are stored in tables within the software, and when the software assigns a facility to a location at each period, the related costs will be stored in another table that calculates the objective function of Problem 1 at the end of each run. This simulation technique is a good tool for such a difficult problem because it produces feasible solutions based on Problem 1, that is, all solutions produced by the simulation model are integers and satisfy all mentioned constraints. All necessary runs are conducted within the experimentation wizard in the simulation software. When a run is completed, the resulting feasible solutions will be stored in a table. Therefore, when an experiment ends after NR runs, one can access the best solutions based on the data set stored in the table. Because, the simulation model does not depend on a time process, it does not need to calculate a warm-up period.

4. Proposed Algorithm

Based on the previous explanations, the heuristic algorithm can be defined as follows.

Step 1. Initialize: assume that we have a DFLPB with 𝑁 facilities, 𝑁 locations at 𝑇 periods, in which all other parameters such as πΆπ‘‘π‘–π‘—π‘˜π‘™, 𝐴𝑑𝑖𝑗𝑙,… are given. Formulate Problem 2 as previously described and code the simulation model according to Problem 1. During this step, assume that the significance level is %(1βˆ’π›Ό).

Step 2. Calculate the assignment probabilities: solve Problem 2. The optimal solutions of this problem will be used as an empirical distribution for assigning a facility to a location during each period.

Step 3. Calculate the minimum number of needed runs: according to the results of Step 2, calculate the minimum number of needed runs (NR) based on (28).

Step 4. Run the simulation model: run the simulation model with NR replications. At each replication π‘Ÿ, store the objective function, π‘π‘Ÿ and the corresponding assignments for each period.

Step 5. Find the best solution: the best solution is determined asπ‘βˆ—=Minβ‹…π‘Ÿξ€½π‘π‘Ÿξ€Ύ.(29)

5. Computational Results

As mentioned before, Enterprise Dynamics 8.1 software has been used for the simulation, Lingo 8.0 for finding the optimal solution of Problem 2 and Microsoft Visual Basic 2007 as the coordinator between the simulation software and mathematical programming software. All computations were run on a PC with a 4.8 GHz CPU and 4 GB of RAM. All parameters for the DFLPBs were taken from a data set provided by [11]. For comparison, the results have been compared with those reported in [26]. Their report has been selected because they had compared their results with two previous papers and showed that their proposed heuristic algorithm was the best one among all others. The computational results are summarized in Table 1 over a wide range of test problems (48 problems). These problems contain cases using 6, 15, and 30 facilities (𝑁=6, 15, 30) each with 5 and 10 periods. The second column in this table is the problem number denoted by [26]. For each problem without a budget constraint, [25] shows three problems with different budget constraints. First, a total budget constraint is obtained by solving an unconstrained problem with respect to the budget and by setting the total rearrangement cost of this solution as the total budget constraint. Then the allocation of this total budget is carried out in three ways: (1) divide the total budget by the number of periods:1 (number of transactions), and allocate equally to the periods. (2) The level of the budget for each period is found by taking the half of the rearrangement cost for the same period in solution of the unconstrained problem. (3) The level of the budget for each period is found by adding 10% more to the rearrangement costs for the same period in the solution of the unconstrained problem. Through this process three sets of problems are obtained, which were denoted by 1, 2, and 3 in the third column. For the exact parameter values of the obtained problems please see [25]. The forth column, labeled β€œAverage Probabilities,” lists the average optimal solutions obtained from Problem 2. The number of needed runs is listed in the fifth column. The optimal solutions under the proposed algorithm are listed in the sixth column. The seventh column lists the optimal solutions reported by [26]. The percentage of deviation, denoted by β€œ%Dev.” of the best solution obtained from the proposed algorithm, which is lower than the best solution obtained from [26], is given in the eighth column, for each test problem. In the last column, the average run times are given in minutes.

Another important factor regarding the proposed algorithm is the β€œaverage CPU time,” which is sufficiently fast for use in these applications. As previously explained, the simulation time depends on many factors such as NR, 𝑁, and 𝑇. However, [26] did not report any running time in their experiments. As listed in the table, the average percentage of deviation is βˆ’1.89% for the solved problems and the average run time is 0.33 min. The average probabilities in the forth column is 0.8348 which shows the effectiveness of mathematical programming for estimating the optimal solutions. In Tables 2 and 3, the same structures and calculations are given for 𝑁=15 and 𝑁=30 respectively.

As listed in Table 2, in certain cases both algorithms have the same best solutions, but the average is βˆ’1.70%, that is, the proposed algorithm is better than that of [26] when 𝑁=15. In addition, the running time of the algorithm is reasonable in both cases.

In Table 3, again in some cases both algorithms have the same best solutions, but the average is βˆ’1.25%, that is, the algorithm has better solutions than that of [26] when 𝑁=30. Meanwhile, the speed of the algorithm is around 1 h. This fact is very important, because according to [26], for such a large size problems, their algorithm took several hours.

To sum up, the proposed algorithm provides good solution quality in comparison to the algorithms developed in previous researches. It was able to improve the optimal solution for a known data-set by 1.72% on average. Regarding the run time, the algorithm has reasonable run time in comparison to previous researches.

6. Conclusions

In this research, a new heuristic algorithm has been developed to address the dynamic facility layout problem with budget constraints using optimization via simulation technique. The proposed heuristic algorithm integrates mathematical programming and simulation methods. The optimization via simulation approach was selected and used to show the efficiency of simulation technique to solve even such a large scale combinatorial problem. However, the simulation technique has a vast range of benefits in real world applications, but we tried to show that, simulation is a powerful technique among its so-called competitors such as genetic algorithm, ant colony Optimization, and other evolutionary algorithms. The first contribution of the current study is that it defines the optimal solution of the linear programming model in terms of empirical distributions for a simulation model. This idea can decrease the number of replications required in the simulation model, leading to better speed. The performance of the proposed algorithm was tested over a wide range of test problems taken from the literature. The proposed algorithm improved the objective function of the problem by 1.72% on average, whereas the time required for the largest problem with 𝑁=30 and 𝑇=10 was around 1 hour. This is the second contribution of the current research.

The proposed algorithm not only avoids uncommon issues in metaheuristic algorithms such as premature events, parameter tuning, and trapping in local optimums but also uses a simulation technique that produces feasible solutions without the use of any specific nonrealistic assumptions. Regarding the constraints, inherent in this kind of research, we think that if we use the new version of Lingo software and run the algorithm on a faster computer (in particular, one with a faster CPU) the results will be further improved. Finally, for the future works, we strongly suggest concentrating on a cost sensitivity process (including the rearrangement and material handling costs), which will occur in future periods and have a great influence on the optimal solution. As a suggestion, fuzzy costs may be useful under uncertainty conditions, or at least the time value of the monetary investment must be considered.