Abstract

Machine learning, neural networks, and metaheuristic algorithms are relatively new subjects, closely related to each other: learning is somehow an intrinsic part of all of them. On the other hand, cell formation (CF) and facility layout design are the two fundamental steps in the CMS implementation. To get a successful CMS design, addressing the interrelated decisions simultaneously is important. In this article, a new nonlinear mixed-integer programming model is presented which comprehensively considers solving the integrated dynamic cell formation and inter/intracell layouts in continuous space. In the proposed model, cells are configured in flexible shapes during the planning horizon considering cell capacity in each period. This study considers the exact information about facility layout design and material handling cost. The proposed model is an NP-hard mixed-integer nonlinear programming model. To optimize the proposed problem, first, three metaheuristic algorithms, that is, Genetic Algorithm (GA), Keshtel Algorithm (KA), and Red Deer Algorithm (RDA), are employed. Then, to further improve the quality of the solutions, using machine learning approaches and combining the results of the aforementioned algorithms, a new metaheuristic algorithm is proposed. Numerical examples, sensitivity analyses, and comparisons of the performances of the algorithms are conducted.

1. Introduction

Facility layout (FL) considers the layout of machines within cells (Intracell layout) and the layout of cells (Intercell Layout) on the shop floor which can be counted as an essential element to plan a CMS. The cutdown in material handling cost, work-in-process, and throughput rate is the result of an efficient FL [1]. The system’s performance would have the capacity to be boosted by designing a capable layout and the expense of the production also would fall around 40% to 50% on average [2]. In the FL problem, the actual parameters in the flow of some objectives might be ignored. The objectives which might diminish the intercellular circulation but none of them would certainly cause the charge of material handling to be minimized could be the minimization of the number of exceptional elements (EEs) or another common one can be referred to as the cost reduction of intercell movement. Although layout design has been somehow neglected in the CMS as many of the related researches have only investigated the CF, the vital point in this design could be using the FL problem [3, 4]. As stated, the decisions that are made in the FL and CF problem are interrelated, and tellingly to have a favored CMS design inscribing these two concurrently is of high importance [5]. Nevertheless, it has been asserted a complicated issue to make any of these kinds of decisions [6, 7]. Therefore the simultaneous addressing of these decisions is a difficult issue.

In most studies, some of the mentioned decisions have been handled and sometimes all of them consecutively [8]. On the other hand, most approaches in the area of facility layout and CF problem, for simplicity, usually consider minimizing the number of intercell movements or intracell movements or both [9]. To make a minimum material handling cost in FL design, it is an important matter to inspect the exact details of this design like the concept of distance. On the other hand, these types of approaches might make some illusive presumptions being machine location or fixed cells in the FL problem which might lead to an incompetent outcome. Also, in earlier investigations, the machines existing in a cell space were placed only in one type of location which was a line-formed one. There is another way to locate the machines other than line-form as well which is a U-form but the problem would be the expenses add up to the system.

Roughly speaking, many models in the field of CMS can be classified as NP-hard problems. Thus, employing and proposing exact mathematical approaches to tackle the models of CMS is usually ineffective. To this end, different heuristic, metaheuristic, and machine learning approaches have been applied, which can effectively handle the NP-hard models of CMS.

Machine learning, neural networks, and metaheuristic algorithms are relatively new subjects employed broadly in different fields of industrial engineering and management studies. They are also closely related to each other: learning is somehow an intrinsic part of all of them [10, 11]. Computer science, probability and statistic rules, and information and decision theory play a major role in the development of machine learning and other algorithms of metaheuristics. Machine learning methods find applications in different fields of industrial engineering, vehicle routing problem, and lot sizing, and maintenance optimization models are among others [12].

As the proposed mixed-integer nonlinear model in this paper is NP-hard, four metaheuristic algorithms are employed to tackle the problem. In the first step, the Genetic Algorithm (GA), Keshtel Algorithm (KA), and Red Deer Algorithm (RDA) are designed to optimize the model. To further improve the solutions of the algorithms, using machine learning approaches, a novel metaheuristic algorithm, which benefits from the merits of the aforementioned technique, is proposed. Accordingly, using soft computing methodology to optimize the integrated dynamic cell formation problem in a robust environment is the main contribution of the current study.

The rest of the paper is organized as follows: In Section 2, the mathematical model for the problem is presented. Section 3 presents the metaheuristic algorithms for optimizing the model. Section 4 discusses how the algorithms are tuned and reports the results of computations and calculations. Finally, Section 5 concludes the paper.

2. Proposed Mathematical Model

2.1. Notations
2.1.1. Sets
: machines group symbol: parts symbol: cells group symbol: periods group symbol
2.1.2. Parameters
: parts demand for type in period : batch size for parts transportation type : the expense of intracell material handling for the transportation of part per unit distance ($/unit): the expense of intercell material handling for the transportation of part per unit distance ($/unit): the expense of relocating machine ($/unit): the number of operations done on part using machine : shop floor horizontal length (the length of the shop floor): job shop vertical length (the width of the shop floor): the pairs group such that (the group of elements that are not zero of a part-machine matrix): every cell’s maximum figure of relocated machines per period: the expense coefficient (or penalty) caused by existence of any special part type per period: an appropriate big positive figure,: a random variable and a zero: a random variable and a zero: trips number for changing the location of part type j between machines and in period :
2.1.3. Decision Variables
: the center of machine in period in horizontal coordinate: the center of machine in period in vertical coordinate: the left side of cell in period in horizontal coordinate: the right side of cell in period in horizontal coordinate: the bottom side of cell in period in vertical coordinate: the top side of cell in period in vertical coordinate

Thus, the expense of displacing part j between machines i and i′ in period ℎ concerning the movement of the intercell or intracell could be determined as follows.

If this cost is equal to the following equation:

If this cost is equal to the following equation:

The way cells are configured, the machines plot inside them, and also their layout on the shop floor are the goals of this model to be defined simultaneously in kinetic situations somehow that some expenses such as cells redesigning, parts total transportation cost, and EES number are reduced. In the given model, the job shop figure is considered for the intracellular layout. Some mixed-integer nonlinear programming models are discussed below along with multiple presumptions, parameters, and decision variables.

2.2. Model Assumption

The following presumptions are taken into account to simulate the model:(i)In every period, the flow between machines is defined. The demand for parts, operational paths of parts, and also the parts transportation batch size are how this figure is gained from.(ii)If each product’s batch size is in all periods constant and determined, the parts can move within the batches. For both inter- and intracell displacements, the parts batch largeness is considered the same.(iii)By applying rectilinear distance, the expense of material handling is assessed regarding the center-to-center distance between machines.(iv)The expense of material handling for inter- and intracell relocations for machines and parts pertains to the distance traveled.(v)The unit expense of intercell and intracell relocations for every part type is predestined and stays constant in the planning horizon.(vi)During the periods, the unit expense of machine displacement remains the same and is predestined for every kind of machine. The expense contains the opening, transferring, and resetting of the machine.(vii)In every period, by using the expected workload in every cell, the number of cells to be shaped can be ascertained beforehand. Nevertheless, during the planning horizon, since the cells are malleable, they can be shaped easily; hence, their configuration would not be predetermined.(viii)Only one number of each machine kind exists.(ix)During the planning horizon, the maximum capacity of cells is determined and stays constant.(x)The machines are supposed to have a unit dimension, since they are squares of equal area. No extra inventory should exist between the periods; each demand must be supplied in the related period and no delayed orders are permitted.(xi)100% is assumed for machines and production efficiency.

2.3. Mathematical Formulation

Concerning input parameters and variables, the presented nonlinear model for this problem is as follows:

It is subject to

The intracellular and intercellular material transferring costs are represented by the first term of the objective function. The expense of cell reshaping which might alter from period to period is defined in the following term. The decreasing number of exceptional parts is in connection with the third term. The double calculation of decision variables when they are 1 in this relationship is the reason behind the coefficient of . The first set of constraints (Equation (5)) guarantees that every machine is allocated to just one cell. Every part that has been allocated to one part family only is ensured by the second constraint (Equation (6)). Constraint (7) is the limitation for the number of machines in one cell. Variable Zih equals 1 when machine type is displaced during periods h and (1 + h), which is ensured by the fourth constraint (Equation (8)). The fifth constraint (Equation (9)) which is replaced with Equation (13) prevents machines from being overlapped. As mentioned, the machines are considered squares with a unit dimension. Each machine that has to displace in space of its corresponding cell is indicated in the set of relationships (10). The next constraint (Equation (11)) is developed to control the cells which are in space of the job shop. Preventing cells from being overlapped is shown in the set of relationships in (12).

2.4. Proposed Robust Model

Robust optimization is used when there is uncertainty in the parameters. In this case, with a slight change in the value of one of the parameters, the optimality and justification of the answer may be compromised. Therefore, to control the situation, it is necessary to use an optimization model that, considering the existing uncertainties, obtains an optimal answer that remains an optimal and justified answer to the problem under investigation in the face of changes in uncertain parameters.

In this paper, to face the uncertainty of the parameters, set-induced robust optimization is used. In this optimization, it is assumed that uncertain data belongs to an uncertainty set, and the aim is to choose the best solution among those “immunized” against data uncertainty, that is, candidate solutions that remain feasible for all realizations of the data from the uncertainty set.

According to the above, a symmetric interval for the range of parameter changes is considered as follows.

The objective coefficients and the constraint coefficients possibly change with an unknown distribution but they are symmetrical and independent in the following intervals:

For each parameter which is subject to uncertainty, represents the nominal value of the parameters and represents constant perturbation (which are positive).

In this paper, a robust approach developed by Bertsimas and Sim is used to face the uncertainty of the parameters. Therefore, the robust counterpart of the original problem is obtained by replacing the original constraint with its robust counterpart constraint:where Γ is the adjustable parameter controlling the size of the uncertainty set.

3. Proposed Solution Algorithm

The literature approved that the CMS models are classified as NP-hard problems [1319]. The high complexity of CMS in large-scale instances motivates several researchers to propose novel metaheuristics [20]. This study in addition to the Genetic Algorithm (GA) applies two recent nature-inspired metaheuristics: Keshtel Algorithm (KA) and Red Deer Algorithm (RDA). To improve the benefits of these recent and old metaheuristics, a novel hybrid algorithm is also developed to better address the proposed problem and to provide a comparison among these algorithms based on the solution time and quality. Next, the encoding plan to run the initial population of the metaheuristics is explained. Then, the proposed optimizers are introduced.

3.1. Solution Representation

Since all stochastic optimizers such as GA, KA, and RDA use a continuous search space, an encoding plan to transform it into a discrete area to confirm that the algorithm can address the constraints of our model is highly needed [2123]. A general view of the encoding scheme is depicted in Figure 1. Then, the assignment of machines and details of the cell manufacturing to generate a feasible solution are given in Figure 2.

Finally, to compute the objective functions (the fitness functions), a matrix with H rows and N columns is generated regarding the matrixes in Figure 2. The structure of the final matrix for the alignment is given in Figure 3.

3.2. Keshtel Algorithm (KA)

Swarm intelligence is one of the main inspirations for metaheuristics. Considering that the swarm behavior of birds, bees, and ants is a hot topic for metaheuristics studies, the Keshtel Algorithm (KA) is another swarm intelligence-based metaheuristic. This algorithm was firstly developed by Hajiaghaei-Keshteli and Aminnayeri [24]. With regard to inspiration from a dabbling dock, this metaheuristic studies the feeding behavior of Anas docks.

According to behaviors of this type of birds, they live in Asia and normally in northern countries like Russia, Azerbaijan, and Iran. They always migrate from northern lands in Russia to the northern parts of Iran and Azerbaijan near the Caspian sea. The Keshtels have amazing behavior in their feeding. When they find a source of food in the lake, other Keshtels approach this lucky Keshtel who firstly found a portion of good food and they swirl together in a circle. Other Keshtels who cannot find a good source of food move to other parts of the lake or fly to another lake [24].

To model these behaviors of Keshtels, Hajiaghaei-Keshteli and Aminnayeri [24] proposed a nature-inspired metaheuristic for solving optimization problems. They generated the initial Keshtels as a set of random solutions in the lake. They divided this population into three groups (i.e., N1, N2, and N3) with regard to the fitness or the cost of the objective function. N1 is the group of the lucky Keshtels who have found a good source of food in the lake. N2 moves fast between the lucky Keshtels to search for source of food . The best source of food is the global solution and each Keshtel finding it is the best solution in all iterations. Finally, the last group, that is, N3 population, is generated randomly in each iteration. They are new Keshtels that may land in the lake.

As a metaheuristic, it is very important to find an interaction between two main search phases, that is, intensification and diversification. In this metaheuristic, this classification of three groups is very useful to explore the new search areas. The first group (N1) does the exploitation or intensification phase. Other groups help the algorithm to perform the diversification phase. Most importantly, the N3 group finds a way for the algorithm to escape from the local solutions. To the best of our knowledge, no paper contributes the KA in this research area. To have a conclusion about the steps of KA, a pseudocode is presented in Figure 4.

3.3. Red Deer Algorithm (RDA)

Evolutionary algorithms are another well-known classification of metaheuristics. These algorithms are also nature-inspired. However, from the current to the next generation, only a group of animals who are probably stronger than other ones will remain and other agents will be removed. As another evolutionary metaheuristic, Fathollahi-Fard et al. [25] recently proposed the Red Deer Algorithm (RDA) inspired by an amazing behavior of males and females in a breeding season.

This algorithm studies the behavior of red deer with regard to roaring, fighting, and mating behaviors. These animals are naturally living in the British Isles, mainly in Scotland. In this regard, the scientists called them Scottish Red Deer (Cervus elaphus scoticus). In a breeding season, the males that are also known as stags roar loudly and repeatedly to attract the females, so-called hinds. Based on this feature of the males, the hinds select their preferable stag, and he will create his territory and harem. A harem is a group of hinds and a commander as the head of this group manages and controls them. The fighting action always exists among males. Stags and commanders fight, and the winner will achieve the territory and harem. This competition among males is the main activity. The last part of this season is the mating behaviors among males and hinds and, as a result, the new red deer will have born for the next breeding season. Among all roaring, fighting, and mating processes, the evolutionary concept confirms that only the strongest will always remain in nature and this rule has existed among red deer.

Fathollahi-Fard et al. [25] modeled these facts as another evolutionary algorithm. They generated the first population of red deer as the random solutions. This population is divided into males and hinds. Then, males roar, and, based on their power, a group of them will be selected as the commanders and the others are stags. Next, a fight between commanders and stags occurs. After that, for each commander, a harem will be generated by some random hinds. The number of hinds in a harem is directly related to the power of the commander. After that, the commoner has this ability to mate with a number of his hinds in the harem and a few hinds in another harem. The stag that does not have a chance to be a commander can mate with one hind that is closest to him geographically. After the mating, offspring is created for each mating. Finally, for the next generation, the males will be selected as the best solutions among all available solutions and the hinds will be selected by an evolutionary mechanism like the roulette wheel selection method.

With these features, the authors developed an interesting and successful metaheuristic and called it RDA. To have a brief illustration of RDA, its pseudocode is presented in Figure 5.

3.4. Proposed Novel Hybrid Metaheuristic (H-RDKGA)

Based on the aforementioned description, it is approved that the KA uses a high exploitive behavior. The RDA is good at the exploration phase. The GA has also a classical crossover operator to do the explorative behavior. The proposed novel hybrid metaheuristic called H-RDKAGA uses the aforementioned benefits.

In the proposed hybrid algorithm, the RDA acts as the main loop and two other algorithms improve the subloop of this algorithm. This hybrid metaheuristic uses the swirling process instead of roaring and fighting operators in the RDA. In this regard, each male performs the swirling process with his closest neighbor. The proposed hybrid algorithm also considers the crossover of the GA instead of the mating operator. Other steps are similar to the main RDA. Finally, the pseudocode of H-RDKGA is provided in Figure 6. The evaluation metrics for the performance of the algorithms are shown in Table 1.

Then, the acquired results for every problem are converted to the Relative Percentage Deviation (RPD) computed bywhere is the output of the algorithm and is the best value ever found in the problem size. It should be noted that the lower value for the RPD is preferred.

4. Tuning of Algorithms and Comparison Studies

In this section, first, using the design of the experimental approach, the parameters of the aforementioned algorithms are tuned. Then, a comprehensive study is done to evaluate the performances of the algorithms.

4.1. Tuning of Metaheuristics

As all metaheuristics have some controlling parameters, tuning is needed satisfactorily. Here, based on the concept of the Design of Experiment (DOE), all algorithms have been calibrated. This method can analyze the impact of different candidate values on the parameters of the algorithms and evaluate the behavior of the algorithms. Without a good calibration of the parameters, the behavior of the metaheuristics is not reliable.

To do the tuning, the parameters of the given metaheuristics are considered. With regard to the DOE method, a full factorial method to analyze all possible experiments with regard to the levels is done. The levels and tuned values for each parameter are given in Table 2. It should be noted that all candidate level values are taken from similar studies in the literature [18, 21, 26].

4.2. Comparison among Employed Metaheuristics

To do the comparison among the employed metaheuristics, nine test studies are benchmarked from the literature [15]. These tests are selected from small-scale to large-scale instances. As the model of our work is novel and differs from previous works, no comparison between our results and previous studies is done. Accordingly, we compare our metaheuristics with each other, as well as the results of the exact solver.

As the metaheuristics are naturally random, we run each algorithm 10 times and the best, the worst, the average, and the standard deviation of solutions among runs are reported. An average of the computational time of the algorithms is noted. To check the validation of the results, an exact solver implemented by GAMS software is used. Table 3 provides all the results. It should be noted that the exact solver is not able to find a solution for the large-scale instances after one hour. But all the metaheuristics can solve the problem in a few minutes.

Generally, the behavior of the algorithms in the criterion of the solution time is very close. Both hybrid algorithms and KA have a neck-and-neck competition. However, the KA is slightly better than all the metaheuristics. Without a doubt, the proposed H-RDKGA outperforms other algorithms and its solution is very close to the global solution based on the results.

Finally, the results indicate that, based on the average of the standard deviation of the results and the gaps of the algorithm in the interval plot, the proposed hybrid algorithm, that is, H-RDKAGA, is highly better than other algorithms and outperforms the best. After this algorithm, a slight difference exists between the KA and the RDA, but the RDA is better. The last algorithm is the GA, as it has the weakest performance in this comparison.

5. Conclusion

Inter/intracell layouts and dynamic cell formation in a steady space were investigated concurrently in this paper by a novel mixed-integer nonlinear programming model. This model was performed somehow to minimize the cost of the number of exceptional elements (EEs), parts total transportation expense, and cell redesigning. As the model was an NP-Hard problem, first, three metaheuristic algorithms are proposed for optimization. In the next step, to further improve the solutions, a new hybrid metaheuristic algorithm combining the results of the three metaheuristics is proposed. To combine and improve the solutions of the algorithms, machine learning approaches are employed. More precisely, combining the merits of the aforementioned algorithms, the new metaheuristic algorithm is proposed.

Several recommendations can be proposed for better orientations in this study. Merging the proposed model for instance with a scheduling problem would be interesting. Also, to overcome the uncertainty, a two-stage or multistage stochastic programming method could be used. Applying more in-depth analyses by other large-scale optimization problems could be another approach from the aspect of the new suggested hybrid algorithm. Lastly, to evaluate the outcomes of the offered algorithms, new metaheuristics can be proposed.

Data Availability

The data and MATLAB codes used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.