Abstract

The aim of this article is to present a chaotic fruit fly algorithm (CFFA) as an optimization approach for solving engineering design problems (EDPs). In CFFA, the fruit fly algorithm (FFA), which is recognized for its durability and efficiency in addressing optimization problems, was paired with the chaotic local search (CLS) method, which allows for local exploitation. CFFA will be set up to work in two phases: in the first, FFA will be used to discover an approximate solution, and in the second, chaotic local search (CLS) will be used to locate the optimal solution. As a result, CFFA can address difficulties associated with the basic FFA such as falling into local optima, an imbalance between exploitation and exploration, and a lack of optimum solution acquisition (i.e., overcoming the drawback of premature convergence and increasing the local exploitation capability). The chaotic logistic map is employed in the CLS because it has been demonstrated to be effective in improving the quality of solutions and giving the best performance by many studies. The proposed algorithm is tested by the set of CEC’2005 special sessions on real parameter optimization and many EDPs from the most recent test suite CEC’2020. The results have demonstrated the superiority of the proposed approach to finding the global optimal solution. Finally, CFFA′s results were compared to those of earlier research, and statistical analysis using Friedman and Wilcoxon's tests revealed its superiority and capacity to tackle this type of problem.

1. Introduction

The engineering design problems (EDPs) are extremely significant from both the manufacturing and scientific perspective, where it is a very important and challenging area, especially in the field of engineering for getting designs that have efficient form and are more accurate. Generally, these problems are treated as nonlinear constrained optimization problems (NCOPs). NCOPs are very difficult, and the problem feasible region may be a thin subset of the search domain [1].

Traditionally, NCOPs are solved by some efficient methods such as recursive quadratic programming, projection method, generalized reduced gradient method, penalty method, and a multiplier method [2]. These methods are not efficient since they may only compute local optima, and it is very hard to apply these methods to problems as its feasible region is not convex or the objective function is not differentiable [3].

Because of the drawbacks of traditional optimization approaches, the meta-heuristic optimization algorithm for tackling NCOPs emerged. Meta-heuristic algorithms are considered the best optimization algorithms, where they have several advantages such as resilience, performance reliability, simplicity, ease of implementation, and so on. Meta-heuristic algorithms are divided into several categories, including:(1)Evolutionary-based algorithms: These algorithms are based on evolutionary theory.(2)Swarm-based algorithms: These algorithms mimic the social behavior and collective decision-making of different social groups. The reason for achieving a specific goal in these algorithms is typically based on bio-community intelligence and collective action.(3)The rules of natural physics have been used for the emergence of physics-based algorithms.(4)Algorithms influenced by human social behavior: Recently, optimization algorithms inspired by human social behavior have been suggested in the literature.

Table 1 contains examples of several classifications offered in the literature.

Swarm intelligence-based algorithms are regarded as one of the most essential types of meta-heuristic algorithms. These algorithms emulated the behavior and features of swarms' systems, for which Gerardo Beni and Jing Wang coined the term “swarm intelligence” (SI) in 1989 [62], the notion of which is critical in computer science and artificial intelligence. As a result, they have been dubbed swarm intelligence algorithms (SIAs). Swarm intelligence algorithms (SIAs) are connected to the study of swarms, or colonies of social creatures, where studies of social behavior in swarms of organisms influenced the development of many effective optimization algorithms. The simulation of bird flocks, for example, resulted in the particle swarm optimization (PSO) method, while studies of ant behavior in the construction of the ant colony optimization (ACO) algorithm [62]. SIAs, on the other hand, are simple in concepts, have a low probability to fall into local optima, and require simple information about the optimization problem without requiring that the objective function or the constraints are derivable or continuous [63]. Due to the drawbacks of traditional approaches, SIAs were commonly employed to solve engineering design problems (EDPs).

Many SIAs are presented today to tackle complex optimization problems. Although they can find promising solutions to optimization problems, they frequently become caught in local optima when the problem is complicated and contains several local optima. Creating hybrid SIAs has the potential to dramatically improve this issue. Most of the time, hybrid SIAs are more resilient and efficient than the basic versions since they may benefit from the advantages of different algorithms that are used in hybrid SIAs [64, 65]. Many researchers sought to design hybrid SIAs to produce more efficient global optimization algorithms. The most popular hybrid SIAs are hybrid cultural-trajectory-based search [66], hybrid of the ant colony and firefly algorithms (HAFA) [67], hybrid harmony search-cuckoo search (HS/CS) algorithm [68], hybrid particle swarm optimization-genetic algorithm (PSO/GA) [69], hybrid krill herd-biogeography-based optimization (KHBBO) algorithm [70], hybrid cat swarm optimization (CSO) [71], hybrid tissue membrane systems (TMS) and the evolution strategy with covariance matrix adaptation (CMA-ES) [72], hybrid grasshopper optimization algorithm-local search (GOA/LS) [73], krill herd-differential evolution (KHDE) [74], hybrid grasshopper optimization algorithm-genetic algorithm (GOA/GA) [75], hybrid bat algorithm with harmony search (BHS) [76], etc.

Recently, hybrid SIAs have become the most widely used method for solving EDPs such as a penalty-guided artificial bee colony (ABC) algorithm [77], hybrid Nelder–Mead simplex search and particle swarm optimization [78], Gaussian quantum-behaved particle swarm optimization [79], hybrid Lévy flight-chaotic local search-whale optimization algorithm (LF-CLS-WOA) [80], self-adaptive strategy-based firefly algorithm [81], hybrid genetic algorithm-particle swarm optimization-sequential quadratic programming (GA-PSO-SQP) [82], sine-cosine grey wolf optimizer [83], and improved moth-flame optimization algorithm (IMFO) [84]. It is now obvious that engineering design problems are a significant problem that scholars are focusing on to offer new hybrid methods for solving it and determining the best solutions.

Fruit fly algorithm (FFA) is a novel SI approach based on the foraging behaviors of fruit flies that competes with current swarm algorithms like particle swarm optimization (PSO). However, the FFA still has certain drawbacks, such as its necessitating long CPU times, which are impractical from an engineering standpoint, and limited convergence accuracy, which makes it easy to get stuck at a local optimal value during the evolution process [85]. As a result, the application of chaos theory to overcome these shortcomings is being researched. In recent years, the chaos theory has been applied to several fields of optimization science. As a new method of global optimization, chaos algorithms have garnered a lot of attention. The characteristics inherent in chaos can enhance algorithms of optimization by avoiding local solutions and enhancing convergence to reach a global solution.

Many researchers [8697] proposed merging chaos theory and optimization algorithms to overcome these limitations, increase solution quality, and reach the ideal solution. For example, in [86], the chaos algorithm was included in the evolutionary process of the fundamental FFA to tackle the difficulties of poor convergence accuracy and quickly relapsing into the local extremum in the fundamental FFA. That is, in the case of local convergence, the chaos algorithm was used to search for the global optimum in the convergent area's outer space, leap out of the local extremum, and continue to optimize. Also, in [88], the conventional FFA was improved by including a new parameter that was integrated by chaotic to solve global optimization; overall study findings reveal that FFA with Chebyshev map outperforms FFA without Chebyshev map in terms of global optimality reliability and algorithm success rate. In addition, a novel version of FFA with Gaussian mutation operator and chaotic local search strategy (MCFFA) was proposed in [90]. To avoid premature convergence and enhance the algorithm's exploitative tendencies, the Gaussian mutation operator was first included in the basic FFA (MFFA). The chaotic local search approach was then used to improve the swarm of agents′ capacity to search locally (CFFA). MCFFA was used to handle issues involving benchmark functions with various properties and feature selection. MCFFA effectively increased FFA's performance and achieves optimal classification accuracy, according to the findings. Furthermore, chaotic fruit fly optimization [92] was presented as a novel learning technique for early detection and effective evaluation of sepsis, where two new mechanisms, chaotic population initiation and chaotic local search strategy, were added to the original FFA. The positive results showed that the approach developed may be a valuable diagnostic tool for clinical decision assistance. A novel support vector machine (SVM) optimization approach, on the other hand, was given in [95], that is based on an upgraded chaotic fruit fly algorithm (FFA) with a mutation strategy to execute SVM parameter setting turning and feature selection simultaneously. The chaotic particle in the enhanced FFA initializes the fruit fly swarm location and substitutes the distance expression for the fruit fly to find the food source. This strategy has been proved to be more resilient and successful than other well-known optimization methods, especially when it comes to tackling medical diagnosis and credit card problems. Finally, in [97], a new method for parameter identification of a bidirectional inductive power transfer (BIPT) system was proposed utilizing a chaotic-enhanced FFA, which used a chaotic sequence to improve the original FFA′s global optimization capabilities. Simulations demonstrated that the suggested approach is efficient for measuring noise and changes in operating conditions, making it ideal for practical use.

From the above, it is clear that introducing chaos to improve FFA has received wide attention from many researchers. From this motivation, this paper proposed a chaotic fruit fly algorithm (CFFA). CFFA combines the fruit fly algorithm (FFA) with a chaotic local search (CLS) method to expedite optimum seeking and find the optimal solution. In addition, combining FFA global search and procedures of CLS offers the benefits of both methods of optimization, while compensating for their disadvantages to ensure the proposed algorithm's robustness. The main contributions to this paper are:(1)For solving EDPs, a new algorithm called chaotic fruit fly algorithm (CFFA) is presented and tested.(2)Demonstrating that combining the fruit fly algorithm (FFA) with a chaotic local search (CLS) strategy in CFFA accelerates optimum seeking and finds the EDPs’ best solutions.(3)Testing the robustness and reliability of CFFA and the ability for finding global solutions by using the test suite (CEC’2005) and many EDPs from the most recent test suite (CEC’2020).(4)Validating by the numerical analysis results that the proposed algorithm has high performance and prove that statistically.

The following is how this paper is structured: the formulation of the nonlinear constrained optimization problem is discussed in Section 2. The proposed methodology is presented in Section 3. The computational experiment is shown in Section 4. Finally, the conclusion is provided in Section 5.

2. Nonlinear Constrained Optimization Problem

Mathematically, the generic nonlinear constrained optimization problem (NCOP) is expressed as:

Minimize/maximize: .

Subject to:where are functions defined on , is a subset of , and is a vector of components . The above problem must be solved for the values of the variables that satisfy the restrictions and minimize or maximize the function . The function is the objective function or criterion function. An unconstrained problem is one in which there are no constraints. If there are constraints, the problem is called a constrained problem, and each of the constraints is called an inequality constraint, and each of the constraints is called equality constrain [98].

At solving the optimization problem, we are looking for a global solution and not stock on a local solution. An optimal solution (either maximum or minimum) within a neighboring set of candidate solutions is referred to as a local solution of an optimization problem. A global optimum solution is the best solution among all feasible solutions, not simply those within a neighboring set of candidate solutions [98]. Definition 1 introduces the difference between a local solution and a global solution. Figure 1 illustrates this definition.

Definition 1. Let be a feasible solution to a minimization problem with objective function [98]. Then, is:(i)A global minimum if for every feasible point .(ii)A local minimum if for all feasible points sufficiently close to .

3. The Proposed Methodology

In this section, we provide a brief overview of both the fruit fly algorithm (FFA) and the chaos theory. The proposed algorithm is then thoroughly described.

3.1. Fruit fly Algorithm

The FFA [99] is a fruit fly-inspired swarm-based intelligence approach that mimics the fruit fly′s foraging behavior. Fruit flies use their keen sense of smell and eyesight to locate food sources. During foraging, fruit flies can detect the aromas of food sources from a long distance away, and swarms fly towards the food source with the highest concentration of the scent. When the fruit fly gets near enough to the food source, it may use its better vision to pinpoint the exact position of the food supply.

The procedure of foraging is emulated in the FFA by exploring the solution space iteratively. The search technique is divided into two parts: smell-based search and vision-based search. The FFA technique may be characterized as follows, according to the fruit fly′s characteristics:Step 1: The algorithm′s parameters are set, as well as the swarms′ center position.Step 2: Smell-based search.Step 2.1: Determine a suitable position for the food supply towards the center of the swarms at random for each fruit fly.Step 2.2: The concentration of smell at each site of the fruit fly is determined.Step 3: Search-based vision.Step 3.1: With the greatest concentration of smell, the most likely location is determined.Step 3.2: The fruit fly swarms flock to this location, and the location of the swarm centers is updated.Step 4: The algorithm is terminated if the stopping condition is fulfilled; otherwise, repeat steps 2 and 3.

3.2. Chaos Theory

By employing extremely unpredictable chaotical sequences, chaos theory (CS) enhances swarm intelligence algorithms [100] and increases convergence and variety of solutions. CS is seen as irregular behavior in nonlinear systems. These maps are meant to represent particles moving in a restricted range of nonlinear dynamic systems, with no knowledge of how the particles move.

To improve solution quality, many researchers proposed combining the CS and optimization algorithms, such as hybrid chaos-PSO [101, 102], chaotic genetic algorithm [103], the combined evolutionary algorithm with chaos [104], chaotic differential bee colony optimization algorithm [105], chaotic DE algorithm [106], chaotic WOA [107], chaotic artificial bee colony (ABC) [108], chaotic harmony search algorithm [109], and chaotic artificial neural networks [110]. There are many well-known chaotic maps, such as the sinusoidal map, Chebyshev map, singer map, tent map, sine map, circle map, Gauss map, logistic map, to be found in the literature [94].

3.3. Chaotic Fruit fly Algorithm

In this section, the chaotic fruit fly algorithm (CFFA) is proposed, which is an integration between the fruit fly algorithm (FFA) and chaos local search (CLS) strategy. The suggested approach is divided into two parts. In the first, FFA is used to discover an approximate solution. Then, in the second stage, CLS is used to speed up convergence, increase solution quality, and reach the optimal solution. The description of the essential idea of the suggested method is as follows:

3.3.1. Phase I: FFA
Step 1 (Initialization). Define the fly group population size , the iteration termination condition , and the starting fruit fly swarm center position .Step 2 (Determination of individual locations). The position of each fruit fly is assigned at random as:Step 3. The judgment value of smell concentration is set as the reciprocal of the distance between the fruit fly and the origin :Step 4 (Repairing infeasible solutions). A repair approach [111] will be used to deal with the constraint violation at each generation and before the solutions are assessed, which will segregate and repair any infeasible solution in the population. The proposed algorithm′s repairing procedure provides a new feasible solution y instead of an infeasible one q on a segment defined by two points: an initial feasible reference point R and any infeasible solution q. A user-specified parameter can be used to expand this segment equally on both sides. Therefore, the new feasible solution is produced as:If is infeasible, the feasible individual is produced by:where and is a random number. Figure 2 depicts a schematic representation of a probable sample location for the produced solution.Step 5 (Evaluation). The judgment function of smell concentration (fitness function) of the corresponding position is determined by substituting in the objective function as:Step 6 (Determine the best). Calculate the minimal concentration of smell and its corresponding location as follows:Step 7(Update swarm center location). The swarm center position is replaced with the minimum smell location:Step 8. Do optimization by repeating Steps 2–6 to determine if the current smell concentration is better than the previous smell concentration; if so, go to Step 7. Otherwise, proceed to Step 2 and iterate again.Step 9. If the stopping criteria are met, the proposed algorithm is stopped. Otherwise, do optimization, and repeat Steps 2 to 8.

For either of the following two conditions, the proposed algorithm is stopped:(i)Reaching the full predetermined number of generations .(ii)When the individuals of the population converge, i.e., when solutions in the population are identical.

3.3.2. Phase II: Chaotic Local Search

Optimization by using the above-formulated FFA yields an approximate solution . To discover the optimal solution, chaotic local search (CLS) can disturb and explore the local region of the solution . The following is a more extensive description of CLS:Step 1 (Determine the boundary range of CLS). The range of CLS for is determined by where is a specified radius of CLS and set where m is the CLS iterations .Step 2. Create chaotic variables: A chaotic number is generated by the logistic map as:According to the findings in [94], the logistic map increases the quality of solutions and delivers the best performance. Therefore, it was employed in this study.Step 3. Generate a new solution: By using the chaos variable and the variance range , the new solution is generated as:Step 4. Check feasibility: If the new solution is feasible, update the approximate solution as follows: if , then set , otherwise, set and go to Step 2.Step 5. Stopping CLS: If , stop the CLS and put out as the optimal solution. Otherwise, go to Step 2. Figure 3 depicts the suggested algorithm's flowchart.

4. Computational Experiment

In this section, CFFA is evaluated by the set of CEC’2005 special sessions on real parameter optimization to evaluate the performance of the proposed method for global optimization [112]. In addition, the CFFA′s applicability in real-world applications is evaluated in this section using three constrained engineering design problems from the most current test suite CEC’2020 [113]. These problems are common challenges that have been explored by other researchers. The suggested approach is compared to current meta-heuristic algorithms such as simulated annealing (SA) [114], continuous genetic algorithm (CGA) [115], grey wolf optimizer (GWO) [116], moth-flame optimization (MFO) [19], whale optimization algorithm (WOA) [117], Lévy-flight moth-flame optimization (LMFO) [118], water-cycle moth-flame optimization (WCMFO) [119], chimp optimization algorithm (ChOA) [31], arithmetic optimization algorithm (AOA) [120], sine-cosine moth-flame optimization (SMFO) [121], and improved moth-flame optimization (IMFO) [122].

The suggested method was coded in MATLAB (R2012b) and tested on a PC with an Intel(R) Core(TM) i7-6600U processor running at 2.60 GHz, 16 GB of RAM, and a Windows 10 operating system. Table 2 shows the parameter settings of comparing algorithms as they were in their original articles. The algorithms were running 20 times with the population size (N) 20 and maximum iterations to ensure a fair comparison. The nonparametric Friedman test, on the other hand, is used to analyze the results statistically. Also, the Wilcoxon signed-rank test is employed to ensure that valid comparisons between all algorithms are made.

4.1. Computational Experiment for CEC’2005

In this part, 25 unconstrained test problems of dimension 10 from the CEC’2005 special session on real parameter optimization are used to evaluate CFFA. The following are the specifics of these functions:(i)5 unimodal functions:F1 : Shifted sphere, F2 : Shifted Schwefel’s, F3 : Shifted rotated high conditioned elliptic, F4 : Shifted Schwefel’s with noise in fitness, and F5 : Schwefel’s with global optimum on bounds.(ii)20 multimodal functions:7 basic functions F6 : Shifted Rosenbrock’s, F7 : Shifted rotated Griewank without bounds, F8 : Shifted rotated Ackley’s with global optimum on bounds, F9 : Shifted Rastrigin’s, F10 : Shifted rotated Rastrigin’s, F11 : Shifted rotated Weierstrass, and F12 : Schwefel’s.2 expanded functions F13 : Expanded extended Griewank’s plus Rosenbrock’s (F8F2) and F14 : Shifted rotated expanded Scaffers F6.11 hybrid functions. Each one (F15 to F25) is created by combining ten of the fourteen preceding functions (different in each case).

All functions are displaced to guarantee that their optimum is never discovered in the search space′s center. Furthermore, the optima cannot be identified inside the initialization range in two functions, and the search scope is not limited.

These test functions are solved by PSO [123], IPOP-CMA-ES [124], CHC [125], SSGA [126], SS-BLX [127], SS-Arit [128], DE-Bin [129], DE-Exp [129], SaDE [130], and the proposed algorithm CFFA. For each test function, all of the algorithms were performed 50 times. Each run ends when the obtained error is less than 10−8 or at the maximum number of evaluations (10−5), whichever comes first. Table 3 presents a comparison of the average error achieved by CFFA and 9 continuous optimization techniques. Table 3 confirms that, on average, CFFA produces better solutions than all nine continuous optimization techniques.

4.1.1. The Nonparametric Friedman Test for CEC′2005 Results

The Friedman test is used to statistically rank the significance of algorithms [131]. Table 4 summarizes the outcomes obtained by this test. According to this statistical analysis, the CFFA ranks top, and because the obtained value is less than 0.05 , there are substantial variations in the performances of the CFFA and the other algorithms tested. Figure 4 includes the chart that depicts the ranking of the CFFA and competitor algorithms. The smallest bar on the graph represents the best algorithm, while the largest represents the worst. The chart reveals that the CFFA obtained the shortest bar with a mean rank equal to 2.12, while PSO obtained the largest bar with a mean rank equal to 7.76. As a result, the chart reveals that the CFFA beats other algorithms by obtaining the first rank (shortest bar).

4.1.2. The Nonparametric Wilcoxon Signed-Rank Test for CEC’2005 Results

To demonstrate the substantial differences between the CFFA and the other algorithms, the Wilcoxon signed-rank test is performed [132]. The Wilcoxon signed-rank test results are shown in Table 5. R+ is the sum of positive ranks, whereas R− is the sum of negative ranks. Table 5 shows that CFFA beats other algorithms by achieving R+ values larger than R− values in all comparisons. As a consequence, we may conclude that the suggested CFFA is a significant algorithm that outperforms the others.

4.2. Computational Experiment for Engineering Design Problems

The proposed method and rival algorithms compete in this evaluation to solve three different problems: a gas transmission compressor design problem, a three-bar truss design problem, and a tension/compression spring design problem.

(1) P1: Design of gas transmission compressor problem. The basic purpose of the gas transmission compressor design challenge is to minimize the objective function utilizing four design variables which are length between compressor stations , compression ratio that denotes the inlet pressure to the compressor and inner diameter of the pipe . Figure 5 and (11) depict and formulate this problem.

(2) P2: Three-bar truss problem. The three-bar truss design is an engineering optimization problem to evaluate the optimal cross-sectional areas and such that the volume of the statically loaded truss structure is minimized while stress constraints are taken into consideration. The mathematical model of this problem is formulated using three constraints and two variables. Figure 6 and (12) show the formulation and schematic of this problem.

(3) P3: Tension/compression spring design problem. The tension/compression spring design challenge′s purpose is to lower the tension/compression spring′s weight by considering three variables and four constraints. Wire diameter (), mean coil diameter (), and the number of active coils () are the variables (as indicated in Figure 7). (13) describes the problem and its constraints.

4.2.1. Engineering Design Problems Results

The suggested CFFA and comparative algorithms are compared. The results of these experiments are summarized in Table 6, which demonstrates that the CFFA technique outperforms other algorithms in obtaining a good approximation to the best values for low-weight variables.

Figures 810 also illustrate the convergence curves of the best function values obtained by CFFA before and after CLS for the gas transmission compressor design problem, the three-bar truss design problem, and the tension/compression spring design problem, respectively. Figures 810 show how the basic FFA (before CLS/blue line) stuck in the local minimum for a long time. Figures, on the other hand, show how CLS disturbs and explore the local region of the approximate solution obtained by FFA and how it accelerates convergence, enhances solution quality, and finds the optimal solution (after CLS/red line). So, we can conclude that the convergence curves showed the importance of the introduction of the chaotic local search (CLS) on fruit fly algorithm (FFA) which improves the FFA results of FFA and help it to exit from the local optimal solution (blue line) and access to the globally optimal solution (red line).

(1) The nonparametric (Friedman & Wilcoxon signed-rank) tests for engineering design problems results. The findings of the Friedman test for engineering design problems are displayed in Table 7. The CFFA ranks top in this statistical study, and because the calculated p ‐value is less than 0.05 , there are significant differences between the CFFA and the other comparing algorithms. Figure 11 also shows a chart that shows the CFFA and rival algorithms' rankings. As previously stated, the best algorithm is represented by the shortest bar on the graph, while the poorest is represented by the biggest bar. The CFFA has the smallest bar, with a mean rank of 1.17, while SA has the largest bar, with a mean rank of 11.67. The basic FFA, on the other hand, obtains the 10th rank among all algorithms. As a consequence, the chart shows that the CFFA outperforms other algorithms by having the first rank (shortest bar).

The Wilcoxon signed-rank test findings for engineering design problems, on the other hand, are presented in Table 8. In all comparisons, CFFA outperforms other algorithms, as shown in Table 8, by reaching R+ values greater than R values. We can see that the statistical results of engineering design problems do not differ from the results of problems CEC’2005, as the presented method CFFA outperformed the rest of the other algorithms. As a consequence, we may conclude that the suggested CEGA is a significant algorithm that outperforms the others in the computational experiment.

4.3. Discussions

Table 3 displayed the average error for all algorithms for the CEC′2005 benchmark functions, whereas Table 6 showed the best solution for all algorithms for the engineering design issues. Tables 3 and 6 indicated that CFFA beat other algorithms in terms of producing better results. Statistically, the Fridman test, as shown in Tables 4 and 7, demonstrated that the Asymp. Sig. ( value) is less than 0.05, suggesting that there are differences in the results obtained by all algorithms. Furthermore, as demonstrated in Tables 4 and 7 and Figures 4 and 11, CFFA beat the other algorithms by obtaining the lower mean rank. Tables 5 and 8, on the other hand, presented the Wilcoxon signed-rank test findings to investigate the major differences between the comparison methods. They proved that CFFA outperformed other algorithms by achieving more positive rank values (R+) than negative rank values (R) in each of CEC’2005 benchmark functions and engineering design problems. The convergence curves also showed the importance of the proposed method, as the introduction of the chaotic local search (CLS) on fruit fly algorithm (FFA) proved its importance and the ability of the CLS to improve the results of FFA and help it to exit from the local optimal solution (blue line) and access to the globally optimal solution (red line).

From the above, CFFA showed several advantages, which we mention as follows:(i)CFFA is a versatile and adaptable strategy for solving a broad variety of optimization issues.(ii)Due to the combination of the advantages of the CLS and FFA, CFFA has a good solution quality.(iii)Unlike traditional approaches, CFFA searches across a population of points to find the globally optimal solution.(iv)Because CFFA only employs objective function information, it can handle any realistic optimization issue, including noncontinues, nonsmooth, and nondifferentiable functions.(v)Computational trials have demonstrated the superiority of CFFA above those published in the literature where it outperforms other comparison approaches substantially.(vi)The importance of the CFFA findings was demonstrated using Wilcoxon and Friedman tests.(vii)Finally, the results of the engineering design problems show that the proposed CFFA is suitable for addressing real-world issues such as problems of cost-effective load transfer, resource allocation, wind farm turbine optimization, unit commitment, and real-time applications.

Finally, without prejudice, the proposed technique CFFA, like previous meta-heuristics algorithms, has the potential drawback of not ensuring an increase in computing speed or accuracy when addressing any optimization problem. Because meta-heuristics methods are random approaches, the CFFA’s computational efficacy and solution quality are dependent on the problem's nature and complexity.

5. Conclusion

A chaotic fruit fly algorithm (CFFA) to solve engineering design problems (EDPs) was proposed in this paper. The fruit fly algorithm (FFA), recognized for its resilience and efficacy in addressing optimization problems, was merged with the chaotic local search (CLS) method, which is known for its ability to identify the global optimal solution. CFFA was used in two stages. In the first, FFA was used to get an approximate solution. The optimal solution was then found using chaotic local search (CLS) in the second phase. The proposed approach was tested utilizing a set of CEC’2005 special sessions on actual parameter optimization as well as, three restricted engineering design problems from the most recent test suite, CEC’2020. The experimental outcomes demonstrated the superiority of the proposed technique to finding the global optimal solution and reveal that the suggested CFFA may be utilized to address real-world engineering problems. Furthermore, the convergence curves of the best function values obtained by CFFA before and after CLS showed how CLS disturbed and explored the local region of the approximate solution and how it was utilized to speed convergence, improve solution quality, and find the ideal solution. Finally, the statistical efficiency of the CFFA was investigated by the Friedman test and Wilcoxon signed-rank test, which revealed that the proposed CFFA outperformed other algorithms.

A multi-objective version of CFFA can be developed in future works to solve continuous multi-objective issues. Furthermore, adapting CFFA to a discrete version for handling discrete optimization challenges like the community discovery problem is a promising direction.

Data Availability

All data used to support the findings of this study are included in the article.

Conflicts of Interest

The authors declare that this article′s content has no conflicts of interest.

Acknowledgments

The authors extend their appreciation to the Deputyship for Research and Innovation, Ministry of Education in Saudi Arabia, for funding this research work through the project number (IF-PSAU-2021/01/18049).