Abstract

The facility layout problem (FLP) is a very important class of NP-hard problems in operations research that deals with the optimal assignment of facilities to minimize transportation costs. The quadratic assignment problem (QAP) can model the FLP effectively. One of the FLPs is the hospital facility layout problem that aims to place comprehensive clinics, laboratories, and radiology units within predefined boundaries in a way that minimizes the cost of movement of patients and healthcare personnel. We are going to develop a hybrid method based on discrete differential evolution (DDE) algorithm for solving the QAP. In the existing DDE algorithms, certain issues such as premature convergence, stagnation, and exploitation mechanism have not been properly addressed. In this study, we first aim to discover the issues that make the current problem worse and to identify the best solution to the problem, and then we propose to develop a hybrid algorithm (HDDETS) by combining the DDE and tabu search (TS) algorithms to enhance the exploitation mechanism in the DDE algorithm. Then, the performance of the proposed HDDETS algorithm is evaluated by implementing on the benchmark instances from the QAPLIB website and by comparing with DDE and TS algorithms on the benchmark instances. It is found that the HDDETS algorithm has better performance than both the DDE and TS algorithms where the HDDETS has obtained 42 optimal and best-known solutions from 56 instances, while the DDE and TS algorithms have obtained 15 and 18 optimal and best-known solutions out of 56 instances, respectively. Finally, we propose to apply the proposed algorithm to find the optimal distributions of the advisory clinics inside the Azadi Hospital in Iraq that minimizes the total travel distance for patients when they move among these clinics. Our application shows that the proposed algorithm could find the best distribution of the hospital’s rooms, which are modeled as a QAP, with reduced total distance traveled by the patients.

1. Introduction

The demand for public facilities has been on increase due to the ever-growing population. These facilities include hospitals, schools, universities, train stations, and airports. As such, it has become pertinent to urgently find the best way to design and manage these facilities, as a lack of design leads to financial losses alongside unnecessary waste of time. The facility layout problem (FLP) is an important class of operations research problems that have been studied for several decades [1]. Most facility layout variants are NP-hard; therefore, global optimal solutions are difficult or impossible to compute in a reasonable time [2]. The FLPs include ensuring that the departments are not given similar assignments and that customization and material handling costs are reduced to a minimum. Over the years, few studies have focused on hospital layout problems, except for those involving different facilities.

One of the NP-hard problems is the hospital facility layout problem, which aims to place comprehensive clinics, laboratories, and radiology units within predefined boundaries in a way that minimizes the cost of movement of patients and healthcare personnel [3]. Several models have been proposed to design and facilitate the best layout for the distribution of the facilities. Recent studies proved that the use of the quadratic assignment problem (QAP) to model the FLP leads to identifying the best facilities for the sites in order to minimize the cost. The QAP has been successfully applied in fields such as economics, engineering, and computing because it uses the best distribution of several facilities to same number of locations to minimize computational cost.

The QAP, which is a combinatorial optimization problem (COP), was first introduced in [4] as a mathematical model related to economic activities which can be defined as follows: there are n facilities and n locations. Let fij be an information flow between facilities i and j (for example, the number of materials transported between the facility pairs) and dkl be the distance between locations k and l. Also, let be an assignment (or permutation or one-to-one mapping between all facilities to locations), where π(i) represents the location of the facility i. The aim of the problem is to fix the facilities to different locations such that the sum of the distances multiplied by the corresponding flows is minimized. That is, it aims to minimize the total assignment cost (Zπ), where

In this problem, n facilities and n locations define the problem size; the distance matrix (D) consists of the distances between every location pairs; the flow matrix (F) is the amount of traffic between every facility pairs; and a solution (π) is an assignment of facilities to locations and an objective function defined by total cost of a solution (Zπ). Based on the above, we can summarize the QAP model steps in Figure 1.

Different viewpoints have attracted researchers’ attention to study the QAP. From the theoretical viewpoint, the QAP is an NP-hard problem that cannot be solved in polynomial time when the problem size increases [5, 6]. From the practical viewpoint, many real-life applications can be modeled by the QAP, such as backboard wiring problem in the design of computer and other electronic equipment, hospital, and campus layouts [7]. From the application domain viewpoint, the cost of building hospitals and universities is very high, so renovating them is a better option because it is cheaper [8]. In addition, poorly designed layouts lead to financial losses and unnecessary waste of time [9]. From the technique viewpoint, open and active research is recommended for the enhancement of the QAP optimization techniques [10, 11].

Two classes of approaches have been presented to solve the QAP: the exact approaches and the heuristic approaches. The approaches that deliver the exact solution to the problem are called exact approaches. Many exact approaches have been suggested in many studies, but they cannot find the optimal solution for large sized problem instances within a reasonable computational time [12, 13]. Therefore, an effective heuristic approach that can find the best solutions of the QAP within an acceptable computational time for large sized problem instances is needed. Unlike the exact approaches, heuristic approaches seek good solutions (i.e., near-optimal solutions) within a reasonable computational time without giving guarantee to the optimality of the solutions. Metaheuristics are the most recent heuristic approaches which are applied to various combinatorial optimization problems (COPs) as well as the QAP [14, 15].

Some well-known metaheuristic approaches applied to the QAP are discrete bat algorithm (DBA) [16], genetic algorithm (GA) [17], simulated annealing (SA) [18], tabu search [19], ant colony optimization [20], memetic algorithm (MA) [21], migrating birds optimization (MBO) algorithm [22], differential evolution [23], etc. Out of the metaheuristic approaches, differential evolution (DE) algorithms have been proven to be very efficient in finding solutions that are optimal or nearly optimal within a reasonable computational time for large sized problem instances. However, they are characterized by the slow exploitation of solutions [24]. To solve COPs, a few studies, such as [23, 25], have suggested discrete differential evolution (DDE) algorithms.

In this study, we first aim to discover the issues that make the current problem worse and to identify the best solution to the problem, and then we propose to develop a hybrid algorithm (HDDETS) by combining the DDE and tabu search (TS) algorithms to enhance the exploitation mechanism in the DDE algorithm. Then, the performance of the proposed HDDETS algorithm is evaluated by implementing on the benchmark instances from QAPLIB website and by comparing with DDE and TS algorithms on the benchmark instances. Our experimental investigation shows that the proposed HDDETS algorithm is the best algorithm that could find very good quality solutions to the benchmark instances. Finally, we propose to apply the proposed algorithm to find the optimal distributions of the advisory clinics inside the Azadi Hospital in Iraq that minimizes the total travel distance for patients when they move among these clinics. Our application shows that the proposed algorithm could find the best distribution of the hospital’s rooms, which are modeled as a QAP, with reduced total distance traveled by the patients when they move among these clinics.

The rest of the paper is organized as follows: Section 2 introduces the research problems; Section 3 includes related works; Section 4 lays out the research methodology; computational results are introduced in Section 5; Section 6 discusses theoretical analysis and limitation of the proposed algorithm; and Section 7 presents the conclusions.

2. Research Problems

Recently, metaheuristic algorithms have been proven successful in several fields such as technology, engineering, and science. However, most of the existing research could not achieve all the aims and objectives due to certain gaps that needed to be filled, especially for large-scale complex optimization problems. Another open area of research in these algorithms is the balance between exploration and exploitation mechanisms, premature convergence and stagnation issues, etc. [11].

The evolutionary algorithms (EAs) are one of the most important types of metaheuristics algorithms, which are very useful in solving complex optimization problems [26, 27]. It has a global exploration search, but sufferings from slow exploitation search [28]. Premature convergence and stagnation issues that occur in the iterative operation are current problems faced by all EAs [29]. In the same context, the DE algorithm is a robust EA. It has a good convergence feature, which makes it necessary to solve global optimization problems, in addition to its high efficiency that has proven to be successful in various real-world applications [29, 30]. The DE algorithm was used in [23, 25] to solve problems related to discrete values such as the QAP. DDE is a modified version of the DE algorithm. Finding solutions of the QAP is very difficult within a polynomial time as the size of the problem increases. Besides, there is no guarantee that a near-optimal solution would be found within polynomial time. This can be regarded as the problem associated with allocating a set of facilities to a set of locations and considering the distance between any two locations as well as the flows between any two facilities to minimize the cost [16].

The QAP is as an NP-hard problem [5]. An NP-hard problem is very complex, and it requires a method that can be used to simplify it. Regarding the applications of the QAP in the real world, the increasing interest of governments in the service sectors (such as hospitals) and educational institutions (such as universities) has led to an increase in the number of these buildings. These buildings are considered suitable for the application of the QAP model, which in turn has led to an increase in the number of these buildings. In the same context, the cost of building hospitals and universities is quite high, so renovating them is often a better option as it is less expensive [8].

In conclusion, there are two main problems worth to be highlighted in this proposed study.(i)In the view of the fundamental technique, the EAs have a global exploration advantage; however, these kinds of algorithms have various well-known limitations. Suffering from the mechanism of exploitation is among these limitations [30]. Based on a critical reading of the literature, we found that this issue has not been studied in the DDE algorithm. As such, for a DDE algorithm to achieve good performance in terms of solving complex optimization problems, the QAP is considered. The use of local research can enhance the exploitation mechanism by increasing the speed of convergence to optimal solutions [29, 31]. Therefore, there is a need to integrate the DDE algorithm with another algorithm that uses the local search feature.(ii)In the view of application domain of the QAP, the lack of layout of the clinics’ locations inside the hospital causes considerable distance for patients [32]. Therefore, it is important for clinics within a hospital to be meticulously organized because disorganization can result in too much movement for patients, thereby leading to waste of time.

We have mentioned that there are two classes of approaches presented to solve the QAP. Since we are going to use metaheuristic, we are presenting a brief review of the metaheuristic approaches for the QAP. We carried out studies to identify better algorithms to find optimal solutions for the QAP. Some of these studies suggest that some algorithms may be improved using parallel approaches [3336], while other studies suggest some algorithms based on the hybrid approaches [3739], which have proven its superiority over other types of algorithms because it has addressed the issues found in other algorithms by using their advantages.

The study [40] has been presented a hybrid algorithm between the memetic algorithm (MA) and tabu search (TS) algorithm that was used to improve the local improvement strategy. The MA uses the concept of regular “restarts” of a population. A restart mechanism is employed in times when population diversity is low; in this case, the TS algorithm is applied. The results have shown the performance of the proposed algorithm competitively with some of the state-of-the-art algorithms for the QAP from the literature. The usage of TS algorithm has increased the accuracy of the solutions obtained for QAP problems.

Another study [41] proposed hybrid algorithm between biogeography-based optimization (BBO) algorithm and tabu search (TS) algorithm to overcome the weakness of the classical BBO algorithm in the mutation stage by replacing a mutation operator with a tabu search procedure. The ability to find the best solutions for 36 instances out of a total of 37 instances from QAP data was demonstrated by the hybrid proposed.

Recently, in the study [8] an algorithm is proposed by integrating the whale algorithm (WA) with the tabu search (TS) algorithm to solve the QAP. Since the WA suffers from a slow exploitation mechanism, so this integration is proposed to deal with this issue. According to the results, the proposed algorithm has obtained near-optimal results in an acceptable time, is well-suited for QAP, and outperforms the current algorithms in the literature when solving QAP. Furthermore, this study also aimed to collect hospital departments that have been modeled as a QAP model to reduce the average distance traveled by patients when moving between these departments. The results show that the performance of WAITS is better than the other algorithms that have a comparison with it, the reason is due to the improved local search using TS.

In the paper written by [42], discrete particle swarm optimization (DPSO) algorithm was modified to enable it to solve the QAP. The PSO is an efficient tool for solving combinatorial optimization problems. In the proposed algorithm, the authors made efforts to solve five sets of QAPs, and the results show slight deviations from the best-known solutions.

On the other hand, many studies recommend a comprehensive survey of metaheuristic algorithms; though these algorithms have been used successfully in various fields, some lacunae still exist in some of these algorithms, and further research is needed to resolve this [9]. For this purpose, this study aims to address some issues that are the DDE algorithm suffers from it which modified to solve QAP by the studies [23, 25]. The following two subsections have presented the critical analysis of relevant literature studies to identify the main weaknesses of these studies and the research's conceptual framework to identify the direction of this work.

3.1. Critical Analysis of Relevant Literature Studies [23, 25]

The main aim of constructive criticism is to analyze previous studies. This activity involves analyzing the strengths and weaknesses of a given study using a wide range of available frameworks and methods. Such frameworks and methods have been proposed to identify research materials (including theses and articles), the subject of the research, and the purpose of the study. The literature reviewed in this study has been constructively criticized. Table 1 shows the critical analysis of relevant literature studies.

3.2. Research Conceptual Framework

The metaheuristics approach has been divided into two groups: single-based metaheuristic and population-based metaheuristic algorithms. The advantage of the single-based metaheuristic is its local exploitation, whereas the population-based metaheuristic has global exploration and local exploitation. Our conceptual research framework has been presented in Figure 2.

On the other hand, this study has been selected by the DDE algorithm that belongs to the category of EAs from a population-based metaheuristic algorithm and the TS algorithm that belongs to the category of single-based metaheuristic algorithms and has been proved successful in integrating with other algorithm processes [39, 41]. The hybrid algorithm by combining the DDE that has global exploration and the TS algorithm that has local exploitation has been proposed to balance between the exploration mechanism and the exploitation mechanism.

4. Research Methodology

The research methodology in this study has been covered by five scenarios. Figure 3 shows these scenarios.

4.1. Proposed Hybrid Algorithm

This section proposes a hybrid algorithm, named HDDETS, by combining the DDE and TS algorithms. The basic steps of the HDDETS are as follows:(a)Initialization: initialize population matrix randomly whose size is Ps×Nd, where Ps is the size of population and Nd is the dimension of problem size. All population individuals should be unique. Initialize the set of solution and check the solutions stagnation W = array of Ps with zeros and maximum wait and ht (iteration of tabu search).(b)Evaluate fitness: evaluate solutions to find the best solution from the population by using equation (1).(c)Mutation stage: the following equation shows this stage:(d)Crossover stage: the type of crossover operator that was used in this stage called uniform-like crossover (ULX) was proposed by [43]. It works as follows: beginning, the similar locations in both parents are checked and then copied to the child (new solution). The second step involves selecting an item randomly and uniformly from both parents that have not yet been selected for the child after checking the unassigned locations from left to right. Finally, the rest of the items are randomly assigned to the locations. This stage is represented by the following equation:(e)Apply the TS for a hybrid algorithm:(i)Initial solution: the solution from crossover stage is the initial solution in TS.(ii)Great tabu list: the task of the tabu list is to avoid the swap move between the ith and jth elements in the current solution π that visited in the past to generate the neighborhood.(iii)Generation neighborhood: the neighborhood has been obtained from π (solution) by applying the swap to move between the ith and jth elements in the current solution π. The new solutions are obtained by generating the neighborhoods based on the swap movement made on the current solution π. Figure 4 shows the process of generated neighborhoods.(iv)Evaluate neighborhood: the objective function in (1) is used to evaluate neighborhood permutation (exchanging two facilities).(v)Selection of best neighborhood: after evaluating the neighborhood permutations, the lowest value among them is the best permutation.(vi)Best candidate solution: best solution in neighborhoods and not existing in tabu list or better than best solution.(vii)Update tabu list: push the best candidate solution to the tabu list.(f)Selection stage: the selection of the solutions depends on their values on the objective function. This stage is shown by the following equation:(g)Checking the solutions stagnation: sometimes, the algorithm is not able to generate a new solution, which is the stagnation issue. To handle this issue, the term W is suggested as a wait for improvement of the solution within a certain number of times. If there is any improvement, the solution is deleted and regenerated randomly. The following equation shows this stage:

The pseudocode of this hybrid algorithm is presented in Algorithm 1:

t_max: maximum number of iterations
ht_max: maximum number of tabu search iterations
: maximum number of wait for improvement of the solution
NP: number of solutions S in population
Initial Population
For t = 1 to t_max
 Find the best solution
For each solution in the population
  Mutation stage
  Crossover stage
  Apply the TS for a hybrid
  Initial solution
  For ht = 1 to ht_max
   Create tabu list
   Create neighborhood
   Select the best neighbor and is not in the tabu list
   Update tabu list
  End for
  Selection stage
  Check solution stagnation W
  If keep same the solution
    =  + 1
  Else
   = 0
  End If
  If> 
   Regenerated
   = 0
  End If
End For
End For

The flowchart of the proposed hybrid approach HDDETS is presented in Figure 5.

4.2. Parameters Tuning

The quality of the solutions obtained by using the proposed HDDETS algorithm can be influenced by the set of parameters. To identify the most suitable set of parameters that produce desirable results, the grid search technique is applied. The grid search technique is a simple optimization technique based on an exhaustive search through a manually defined set of classification technique parameter space. The advantage of grid search technique is the systematic creation of the candidate parameter settings; therefore, the same candidate parameter settings will be used to test each dataset [45]. Grid search is described as follows:(i)Consistently generate candidate parameter settings supported by a given budget threshold. For instance, a budget threshold of 5 can limit the number of candidate settings for every parameter to 5. Thus, for an absolute classifier with three parameters and a budget threshold of five, the grid search technique generates 5 × 5 × 5 = 125 mixtures of parameter settings.(ii)Evaluate every candidate parameter setting.(iii)Establish the optimal parameter settings.

The parameters that have been found by using grid search technique are shown in Table 2.

5. Results and Discussion

This section elucidates the efficiency of the proposed HDDETS algorithm. In order to encode the proposed algorithm, MATLAB was employed and run on a PC with Intel(R) Core(TM) i7-3770 CPU @ 3.40 GHz. Additionally, the PC was used which ran under MS Windows 10 with 8 GB RAM. This section comprises two parts: the first part highlights the parameters used for the proposed algorithm, whereas the second part discusses the results of the study.

5.1. Implementations of HDDETS Algorithm on QAP Instances

This section reports and discusses the results by the proposed HDDETS algorithm on three types of benchmark QAP instances from QAPLIB website, namely, “Esc,” “Sko,” and “Tai.” These results include some statistical metrics such as the best-known solution (BKS) reported in QAPLIB website, best solution (BS), worst solution (WS), average solution (AS), best gap (BG), worst gap (WG), average gap (AG), standard deviation (SD), and average time (AT) over 10 runs. The following equation is used to find the percentage of gap (G):

Table 3 reports the results of 18 “Esc” type instances obtained by the proposed hybrid HDDETS algorithm. It is found from the table that the algorithm has ability to provide optimal solutions for all 18 instances in all 10 runs within a reasonable computational time. Table 4 reports the results of 13 “Sko” type instances by the HDDETS algorithm. These instances are considered as a challenge to all algorithms because no heuristic algorithm could find the best-known solutions (supposed to be optimal solutions) for all instances within reasonable computational time. It is found from Table 4 that the proposed algorithm could find the optimal solutions for 7 instances at least once in 10 runs. Also, the results of the remaining 6 instances are very close to optimal solutions, within a gap of less than 1% within a reasonable time.

Table 5 reports the results of 25 “Tai” type instances by our proposed algorithm. It is found that the algorithm could find the optimal solution for 16 instances at least once in 10 runs. Looking at the average solutions, the algorithm could find the optimal solution in all 10 runs for 10 instances, namely, Tai12a, Tai12b, Tai15a, Tai15b, Tai20a, Tai20b, Tai25a, Tai25b, Tai30b, and Tai64c, while for the rest of 15 instances, percentage of average gap is found to be very small, within 1.30%.

Further, the results of the proposed HDDETS algorithm on all three types of instances are discussed and analyzed statistically by using the SPSS software. Table 6 reports the results of statistical analysis of the proposed algorithm on 56 instances. The results showed that the best value is achieved for 42 of 56 instances (75%) with a 0% gap, while for the remaining 14 instances, results are very close to optimal solutions, within a gap of less than 1%.

A graphical representation of the best gap from Table 6 has been presented in Figure 6.

Figure 7 shows the average of the best gap and the average of the worst gap of the solutions of "Esc," "Sko," and "Tai" instances using our proposed HDDETS algorithm.

Statistical analysis presented in Table 7 proved that the performance of the proposed algorithm is efficient and effective, as the mean of gaps is 0.073 for all the 56 instances and the maximum value of the gaps was observed to be 0.871. The variance of the gap is found to be 0.039, which indicates that the solutions obtained are to some extent identical to the solutions when compared with the standard QAP.

5.2. Comparisons between DDE, TS, and HDDETS Algorithms

This section has been covered by two scenarios. The first relates to the comparisons between the DDE, TS, and HDDETS algorithms, while the second presents and discusses the results statistically. The results of the comparisons between the DDE, TS, and HDDETS algorithms are given in Tables 810 on the instances belonging to the three types (“Esc,” “Sko,” and “Tai”) of the QAP instances.

There are 18 “Esc” type instances in the QAPLIB website that have optimal solutions. The results in Table 8 show that the DDE and TS algorithms have optimal solutions for 14 and 15 instances, respectively, while the HDDETS algorithm obtained optimal solutions for all the 18 instances. Figures 810 show graphical representations of the best gap from Table 8.

Table 11 reports statistical measures for DDE, TS, and HDDETS algorithms on “Esc” type instances. According to the results reported in this table, the means of the gaps are 4.129, 1.699, and 0 by the DDE, TS, and HDDETS algorithms, respectively. Variances of gaps obtained by the DEE, TS, and HDDETS algorithms are 96.369, 22.918, and 0, respectively. Additionally, the maximum gaps obtained are 34.375, 15.384, and 0 using DEE, TS, and HDDETS algorithms, respectively. In conclusion, performance evaluation for the proposed hybrid algorithm, HDDETS, indicates that it outperforms both DDE and TS on the “Esc” type instances.

Another comparison was made among DDE, TS, and HDDETS algorithms on 13 “Sko” type instances. Neither DDE nor TS could reach any best-known solution out of 13 instances, while the proposed algorithm managed to obtain the best-known solution of 4 instances. Table 9 reports these results.

Graphical representations of the best gaps reported in Table 9 are presented in Figures 1113. Further, the results are discussed according to the statistical measures that are presented in Table 12.

The means of the gaps are obtained as 3.279, 2.932, and 0.039 by DDE, TS, and HDDETS algorithms, respectively. Variances among the gaps are converging, and they are 0.655, 0596, and 0.066 by DDE, TS, and HDDETS algorithms, respectively. In addition, the recorded maximum gaps are 3.907, 3.872, and 0.192 derived by DDE, TS, and HDDETS algorithms, respectively. Based on the abovementioned study, one can say that the performance of the proposed algorithm, HDDETS, is found to be better than the performance of DDE and TS algorithms on the “Sko” type instances. Further, 25 “Tai” type instances have been used for comparison among the proposed hybrid algorithm (HDDETS) and DDE and TS algorithms. Table 10 shows the results of this comparison.

From Table 10, it is found that the DDE algorithm hits the optimal solution for only one instance at least once in 10 runs, whereas TS algorithm obtained four optimal solutions. The proposed algorithm, HDDETS, could hit the optimal solutions for 17 instances at least once in 10 runs. For the remaining 8 instances, the gap is very small, within less than 1.15%. Figures 1416 show graphical representations of the best gaps reported in Table 10.

Table 13 shows the statistical measures that are used to compare these algorithms for “Tai” type instances.

The means of the gaps by DDE and TS algorithms are 3.618 and 2.864, respectively. By the proposed algorithm, the mean of the best gaps is 0.144. It is worth noting that the variance among the gaps is 2.343 by the DDE algorithm, while the variance by the TS algorithm is 3.209. In the same context, the HDDETS algorithm has got the best variance among the gaps (0.077). Moreover, the maximum relative gap value was 8.61%, 10.85%, and 0.87% obtained by the DDE, TS, and HDDETS algorithms, respectively.

5.3. Real-World Application

There are many studies that have proven the successful use of the QAP in real applications, because of its ability to find the best allocation of locations for the available facilities. The artificial bee colony algorithm was used in [32] which aimed at solving a QAP within the context of Azadi Hospital so that a better distribution of advisory services can be found within the hospital building. This way, the efforts required when moving patients from one advisory service to another are minimized, which in turn also reduces the total distance required for transmitting the patients. As an evaluation of the efficiency of the performance of the proposed algorithm in this research, it was applied to the data of this case study.

5.3.1. Data Description of the Azadi Hospital Layout Problem

The hospital layout problem aims for the distribution of departments inside the hospitals to minimize the total travel distance by patients. Azadi Hospital, which was used for this study, was founded in 1985. Recent study [32] dealt with this problem and has discussed the description of the data as follows.

The hospital offers a variety of quality healthcare services and is operated by the most specialized doctors with sufficient experience in the field of medicine. The hospital, which houses approximately 398 beds, is made up of 7 floors and is well-equipped with state-of-the-art facilities and equipment. In addition, the hospital is also equipped with operation theatres for minor and major procedures, an emergency room, and a variety of laboratories in which different kinds of ailments can be diagnosed. Despite the fact that the hospital is made up of different floors, sections, and units, this study only focused on 30 facilities located on the ground floor, because this floor witnesses the influx of patients on a daily basis, and for this reason, this specific floor is used for the study.

The problem was divided into three categories, the first category includes fixed consulting services, which must be installed for the lack of other similar places such as entry, laboratory, pharmacy, rays, computerized axial tomography, magnetic resonance imaging, electrocardiography, and physical therapy. The second category represents consulting departments such as a dental department, ENT department, and ophthalmology department, while the third category represents consulting rooms such as echo, straining the heart, neurological, lung functions, ultrasound, urologist, pediatric, vaccine, general surgery, trauma room, gynecology, the internists1, the internists2, minor operations, interactions skin, dermatologic, and hematological.

In order to obtain the flow matrix entries, the flow between each pair of clinics was averaged. The paths which were taken by patients during their movement from one location to another were traced by measuring the distances between locations. Based on observation, patients are required to go and mark off their cards in the pharmacy after they had visited several clinics. It was noticed that a patient, after being through a sequence of visits to more than one clinic, must go to the pharmacy to mark off his card. Table 14 shows the distribution of clinics to rooms by using the study [32].

5.3.2. Justifications of the Case Study

Given the applications domain of the QAP, the lack of proper layout of the clinic’s locations inside the hospital requires patients to cover a lot of distance [32]; therefore, the clinics within a hospital need to be meticulously organized, as disorganization can result in too much movement for patients, thereby leading to wastage of time. In the hospital, the layout can be formulated as a QAP for locating the clinics within the hospital which can substantially reduce the total distance that patients travel as they move from one clinic to another in the hospital building. On the other hand, modelling the hospital’s departments on QAP minimizes the travel distance for patients [8]. This helps to(i)Reduce the traveling efforts of patients between departments, thus saving their time.(ii)Improve the service efficiency of the hospital, and(iii)The hospital would be capable to serve a greater number of patients daily.

5.3.3. Location of the Study

This study was conducted at the Azadi Hospital in Kirkuk Governorate, Iraq. It involved the distribution of thirty advisory clinics inside the hospital, based on the QAP model, and found the minimized cost through solving the QAP model by using the proposed algorithm. Figure 17 shows the locations of the case study in this study.

5.3.4. Applying the Proposed Algorithm HDDETS on Azadi Hospital Layout Problem

The proposed hybrid algorithm HDDETS has given a clear picture of the effective performance of the algorithm in addition to obtaining optimal solutions for some instances of QAP data with reasonable computational time, unlike exact algorithms. Moreover, the results have proven the ability of the HDDETS algorithm to find the optimal solution if the size of the problem is more than 30 (locations/facilities), such as Tai30b, Esc32a, Esc32b, Esc32c, Esc32d, Esc32e, Esc32g, Esc32h, Esc64a, and Esc128a.

Modelling the hospital’s departments on QAP will optimize the distribution of the departments within the hospital which helps to obtain a minimum total cost. On one hand, the cost of transferring patients when they move from one advisory clinic to another was 8, 974, 071 meters per month. This cost has been reduced to 8, 312, 830 meters per month by using the study [32] based on the distribution of the advisory clinics in Table 14. The minimum cost value of the QAP problem is obtained when the optimal distribution for those facilities’ locations is found. Table 15 presents the permutation of the optimal distribution of the advisory clinics inside Azadi Hospital by using the HDDETS algorithm.

The Azadi Hospital layout problem consists of 30 advisory clinics and the best cost result of transferring patients inside the hospital was 8, 312, 830 meters per month obtained by the study [32] which has been optimizing this value to 4, 559, 262 meters per month when using the proposed HDDETS algorithm.

6. Theoretical Analysis and Limitations of the Proposed Hybrid Algorithm HDDETS

The DDE and TS algorithms used in this study are metaheuristic algorithms. The literature studies have proven that the metaheuristic algorithms are one of the best techniques for handling NP-hard problems. According to the no free lunch (NFL) theorem [46], there is no algorithm that has better performance for all problems, but in some cases, it is poor. So, we aim to develop an algorithm that has good performance for a specific problem only, but not a comprehensive solution to all problems. Therefore, proposing a hybrid algorithm will increase the performance and thus increase the probability of obtaining the best results [47].

Our study addresses some of the issues that meta-algorithms face, in particular, evolutionary algorithms that are not covered in the DDE algorithm, such as the stagnations, lack of the exploitation mechanism, and parameter tuning.

Sometimes, the algorithm is not able to generate a new solution through the evolutionary process, which means it has lost its capability to improve the solutions. This issue is called stagnation, and Equation (5) has suggested for avoiding this issue, while the issue of the lack of the mechanism of exploitation in the DDE algorithm is addressed by hybridizing the algorithm with a TS algorithm that is characterized by having the feature of local exploitation based on searching in the neighborhoods of the solution in addition to the tabu list that is used to prevent visiting solutions that have been visited in the past. In this way, it prevents falling into local optimal. On the other hand, a grid search technique has been applied for parameter tuning, which is another issue in the optimization algorithms because of its prominent role in improving the performance of the algorithm.

The results obtained by the HDDETS algorithm proved that the performance of the hybrid algorithm is better than the performance of both DDE and TS algorithms. The explanation of this outstanding and efficient performance has been discussed as follows: issues of stagnation and parameters tuning in addition to the lack of the mechanism of exploitation in the DDE algorithm have a negative and highly evident impact on the performance of this algorithm, as indicated in Figure 18.

The first task of the HDDETS algorithm is to generate a random population and then determine the best existing solution, thus calculating the cost of this solution by applying all stages of the algorithm. After that, we investigate the percentage of cost improvement of this solution in order to find the reasons for the difference in cost. This difference was made for three reasons. The first was related to the improvement of the solution found through the DDE algorithm part. The second reason was the improvement achieved using the TS algorithm part. The final reason of this improvement is the use of the entire HDDETS algorithm.

It is noted that the percent of cost enhancement of the best solutions of the DDE algorithm part is small (4.27%) because it suffers from the abovementioned issues. The TS algorithm part is characterized by using local exploitation, by searching in the areas of the solution. This algorithm resulted in an improved cost enhancement of the best solutions (26.12%). Finally, we proposed the hybrid algorithm HDDETS, using global exploration and local exploitation mechanisms that produce a more balanced algorithm. This balance is positively reflected by the increase in cost enhancement percent of best solutions (69.61%) using the entire HDDETS algorithm within a reasonable time.

In general, the proposed hybrid algorithm HDDETS has proven to be efficient in solving problems that have a large-scale implication which is considered a challenge for all algorithms. However, there are still some limitations that must be addressed. This study had applied crossover operators in the stage of crossover in the DDE algorithm called uniform-like crossover (ULX) although there are other types of crossover operators such as multiple parent crossover operator (MPX) and cycle crossover (CX) that have been suggested for the QAP with other algorithms. It is difficult for one study to cover all the operators that have been proposed in the literature with other algorithms.

The time for metaheuristic algorithms to find the solutions is a reasonable time, in contrast to exact algorithms. In general, hybridization takes a longer time for some instances; for these instances, initially the solution accuracy was low, but it was increased when the iteration was increasing; there is a trade-off between the quality of solutions and their computational times. In other words, this study focused to solve single objectives related to optimization solutions of QAP within a reasonable computing time.

7. Conclusion and Discussion

The quadratic assignment problem (QAP) has attracted researchers’ attention, and they continue to be interested in developing methods and techniques to find a solution for the problem. Their interest is due to the QAP’s practical importance, which can be used in many real-world applications that can be modeled as a QAP. These include the layouts of hospital facilities and campuses. This study focused on proposing a hybrid algorithm based on algorithms after having critical analysis of studies and the conceptual framework.

The purpose of this process is to balance the two main components in metaheuristic approaches: exploitation and exploration. On the other hand, certain issues, such as premature convergence, stagnation, and exploitation mechanism, have not been studied in the discrete differential evolution (DDE) algorithm to solve the QAP. Therefore, we introduced an enhanced algorithm that addressed existing issues. So, we developed a new hybrid algorithm, HDDETS, by combining the DDE and tabu search (TS) algorithms.

From a computational perspective, our algorithm has proven its efficiency by finding the optimal solution within a reasonable computational time. It is found that the HDDETS algorithm is better than both the DDE and TS algorithms where the HDDETS has obtained 42 optimal and best-known solutions from 56, while the DDE and TS algorithms have obtained 15 and 18 optimal and best-known solutions out of 56, respectively. In the application domain of the QAP, the proposed HDDETS algorithm is used in Azadi Hospital in Iraq to find the best distribution of the hospital’s rooms. The rooms are modeled as a QAP to reduce the total distance traveled by patients. During this study, several directions emerged that can be considered good seeds for future research. According to this study, the following research directions are promising:(i)Applying our hybrid metaheuristic algorithm, HDDETS, to multiobjective quadratic assignment problems(ii)Hybridizing other local search algorithms with the DDE algorithm, such as the simulated annealing algorithm(iii)Solving other combinatorial optimization problems, such as the scheduling problem and the vehicle routing problem by using our hybrid metaheuristic algorithm, HDDETS

Data Availability

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

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.