Archery Algorithm: A Novel Stochastic Optimization Algorithm for Solving Optimization Problems

2022-08-24 12:57FatemehAhmadiZeidabadiMohammadDehghaniPavelTrojovsktpHublovskVictorLeivaandGauravDhiman
Computers Materials&Continua 2022年7期

Fatemeh Ahmadi Zeidabadi, Mohammad Dehghani, Pavel Trojovský,*,tpán Hublovsk,Victor Leivaand Gaurav Dhiman

1Department of Mathematics and Computer Sciences, Sirjan University of Technology, Sirjan, Iran

2Department of Mathematics, Faculty of Science, University of Hradec Králové, 50003, Hradec Králové, Czech Republic

3Department of Applied Cybernetics, Faculty of Science, University of Hradec Králové, 50003, Hradec Králové,Czech Republic

4School of Industrial Engineering, Pontificia Universidad Católica de Valparaíso, Valparaíso, 2362807, Chile

5Department of Computer Science, Government Bikram College of Commerce, Patiala, Punjab, India

Abstract: Finding a suitable solution to an optimization problem designed in science is a major challenge.Therefore, these must be addressed utilizing proper approaches.Based on a random search space, optimization algorithms can find acceptable solutions to problems.Archery Algorithm (AA) is a new stochastic approach for addressing optimization problems that is discussed in this study.The fundamental idea of developing the suggested AA is to imitate the archer’s shooting behavior toward the target panel.The proposed algorithm updates the location of each member of the population in each dimension of the search space by a member randomly marked by the archer.The AA is mathematically described, and its capacity to solve optimization problems is evaluated on twenty-three distinct types of objective functions.Furthermore, the proposed algorithm’s performance is compared vs. eight approaches, including teaching-learning based optimization, marine predators algorithm, genetic algorithm, grey wolf optimization, particle swarm optimization, whale optimization algorithm, gravitational search algorithm,and tunicate swarm algorithm.According to the simulation findings, the AA has a good capacity to tackle optimization issues in both unimodal and multimodal scenarios, and it can give adequate quasi-optimal solutions to these problems.The analysis and comparison of competing algorithms’performance with the proposed algorithm demonstrates the superiority and competitiveness of the AA.

Keywords: Archer; meta-heuristic algorithm; population-based optimization;stochastic programming; swarm intelligence; population-based algorithm;Wilcoxon statistical test

1 Introduction

The technique of finding the optimal solution among all possible solutions to a problem is known as optimization.An optimization problem must first be modeled before it can be solved.Modeling is the process of defining a problem with variables and mathematical relationships in order to simulate an optimization issue [1].Optimization is employed in the design and maintenance of many economic,engineering, and even social systems to reduce waste, minimize cost, optimal process design, or maximize profits.Because of the widespread use of optimization in numerous disciplines, this issue has developed significantly, and it is now researched in mathematics,management,industry,andmany other fields of science.An optimization problem should be optimized using the proper approach after mathematical modeling and design.There are two types of optimization problem solving approaches:deterministic and stochastic [2].

Deterministic methods can provide solutions to optimization problems using derivatives(gradients-based) or initial conditions without using derivatives (non-gradient-based).The advantage of deterministic methods is that they guarantee the proposed solution as the main solution to the problem.In fact, the solution to the problem of optimization using these types of methods is the best solution.Among the problems and disadvantages of deterministic methods is that they lose their efficiency in nonlinear search spaces, non-differentiable functions, or by increasing the dimensions and complexity of optimization problems [3].

Many science optimization problems are naturally more complex and difficult than can be solved by conventional mathematical optimization methods.Stochastic approaches, which are based on random search in the problem-solving space, can yield reasonable and acceptable solutions to optimization problems [4].Optimization algorithms are one of the most extensively used stochastic approaches for addressing optimization problems that do not need the use of objective function gradient and derivative information.The process of optimization algorithms begins with the random proposal of a number of feasible solutions to the optimization problem.The proposal solutions are then enhanced in each iteration through a repeated process based on different steps of the algorithm.The algorithm converges to a viable solution to the optimization problem after a sufficient number of iterations [5].

Among the conceivable solutions to each optimization issue is a main best solution known as the global optimum.The important issue with optimization algorithms is that because they are stochastic methods, there is no guarantee that their provided solutions be global optimal.As a result, the solutions derived through optimization algorithms for optimization problems are known as quasioptimal solutions [6].When the performance of different optimization algorithms on solving an optimization issue is compared, the algorithm that is capable of providing a quasi-optimal solution that is closer to the global optimal is the superior algorithm.This has led researchers tomake great efforts to design new algorithms with the aim of providing quasi-optimal solutions that aremore appropriate and closer to the global optimal [7-9].Optimization algorithms have been used to achieve better solutions in various scientific fields: energy carriers [10,11], electrical engineering [12-17], protection [18], and energy management [19-22].

The contribution of this study is the development of a novel optimization method known as Archery Algorithm (AA) that provides quasi-optimal solutions to optimization problems.The procedure of updating the members of the population in each dimension of the search space in AA is based on the guidance of a randomly selected member of the population by the archer.The proposed AA’s theory is provided, as well as its mathematical model for use in addressing optimization problems.The proposed algorithm’s capacity to find acceptable answers is demonstrated using a standard set of twenty-three standard objective functions of various unimodal and multimodal varieties.The proposed AA’s optimization results are also compared to those of eight well-known algorithms: Grey Wolf Optimization (GWO), Particle Swarm Optimization (PSO), Marine Predators Algorithm (MPA), Teaching-Learning Based Optimization (TLBO), Whale Optimization Algorithm(WOA), Gravitational Search Algorithm (GSA), Tunicate Swarm Algorithm (TSA), and Genetic Algorithm (GA).

The remainder of this paper is structured in such a way that Section 2 presents research on optimization algorithms.Section 3 introduces the proposed Archery Algorithm.Section 4 contains simulation studies.Finally, in Section 5, findings, conclusions, and recommendations for further research are offered.

2 Background

Because of the intricacy of optimization issues and the inefficiency of traditional analytical approaches, there is a perceived need for more powerful tools to address these problems.In response to this need, optimization algorithms have been emerged.These methods do not require any gradient or derivative information of the objective function of the problem, and with their special operators are able to scan the search space and provide quasi-optimal and even in some cases global optimal.Optimization algorithms have been constructed using ideation based on various natural phenomena,behavior of living things, physical laws, genetic sciences, game rules, as well as evolutionary processes.For example, simulations of ants’behavior when searching for food have been used in the design of the Ant Colony Optimization (ACO) algorithm [23], modeling of the cooling process of met als during met alworking has been used in the design of the Simulated Annealing (SA) algorithm [24],and simulation of the human immune system against viruses have been used in the design of the Artificial Immune System (AIS) algorithm [25].From the point of view of the main design idea,optimization algorithms can be classified into four groups: swarm-based, game-based, physics-based,and evolutionary-based algorithms.

Swarm-based algorithms have been created using models of natural crowding behaviors of animals, plants, and insects.Particle Swarm Optimization (PSO) is one of the oldest and most widely used methods based on collective intelligence, inspired by the group life of birds and fish.In PSO, a large number of particles are scattered in the problem space and simultaneously seek the optimal global solution.The position of each particle in the search space is updated based on its personal experience as well as the experience of the entire population [26].Teaching-Learning Based Optimization (TLBO)is designed based on imitating the behavior of students and teachers in the educational space of a classroom.In TLBO, the position of members of the algorithm population is updated in two phases of teaching and learning.In this way, in the teacher phase, similar to the real classroom where the teacher is the best member of the population, she/he teaches the students and leads to the improvement of the students’performance.In the learning phase, students share their information with each other to improve their knowledge (performance) [27].Grey Wolf Optimization (GWO) is a collective intelligence algorithm that, like many other meta-heuristic algorithms, is influenced by nature.GWO is built on a hierarchical framework that mimics gray wolf social behavior when hunting.In order to represent the hunt, four varieties of gray wolves, such as alpha, beta, delta, and omega, have been utilized to mimic the hierarchical leadership of gray wolves, as well as three main phases including(i) search for prey, (ii) siege of prey, and (iii) attack the prey [28].Whale Optimization Algorithm(WOA)is a swarm-based algorithm that is inspired by the bubble-net hunting technique and is based on simulation of humpback whale social behavior.WOA updates population members based on modeling whale hunting behavior in three stages: (i) search for prey, (ii) encircling prey, and (iii) bubble-net attacking method [29].Some of other swarm-based algorithms are: Marine Predators Algorithm(MPA) [30], Emperor Penguin Optimizer (EPO) [31], Cat and Mouse based Optimizer (CMBO)[32], Following Optimization Algorithm (FOA) [33], All Members Based Optimizer (AMBO) [34],Donkey Theorem Optimization (DTO) [35], Mixed Leader Based Optimizer (MLBO) [36], Good Bad Ugly Optimizer (GBUO) [37], Mixed Best Members Based Optimizer (MBMBO) [38], Grasshopper Optimization Algorithm (GOA) [39], Mutated Leader Algorithm (MLA) [40], and Tunicate Swarm Algorithm (TSA) [41].

Game-based algorithms have been proposed by simulating various game rules and player behavior in various individual and group games.Football Game Based Optimization (FGBO) is one of the game-based algorithms inspired by the behavior of players and clubs in the football league.FGBO updates the members of the population in four phases, including (i) holding the league, (ii) training,(iii) transferring the player, and (iv) promote and relegate of the clubs [42].Some of other game-based algorithms are: Hide Object Game Optimizer (HOGO) [43], Darts Game Optimizer (DGO) [44], Ring Toss Game Based Optimizer (RTGBO) [45], Orientation Search algorithm (OSA) [46], Dice Game Optimizer (DGO) [47], and Binary Orientation Search algorithm (BOSA) [48].

Physics-based algorithms have been introduced according to the modeling of diverse principles and physical phenomena.Gravitational Search Algorithm (GSA) is a physics-based algorithm developed based on the inspiration of the force of gravity and Newton’s laws of universal gravitation.In GSA, the members of the population are assumed to be different objects which are updated in the problem search space according to the distance between them and based on the simulation of the force of gravity [49].Momentum Search Algorithm (MSA) is based on the modeling of the physical phenomenon of impulse between objects and Newton’s laws of motion.In MSA, the process of updating population members is such that each member in the search space moves in the direction of the optimal member based on the impulse received by an external object [50].Some of other physicsbased algorithms are: Henry Gas Solubility Optimization (HGSO) [51], Spring Search Algorithm(SSA) [52], and Charged System Search (CSS) [53].

Evolutionary-based algorithms have been developed based on simulation of rules in natural evolution and using operators inspired by biology, such as mutation and crossover.Genetic Algorithm(GA), which is an evolutionary-based algorithm, is one of the oldest widely used algorithms in solving various optimization problems.GA updates population members based on simulations of the reproductive process and according to Darwin’s theory of evolution using selection, crossover,and mutation operators [54].Some of other evolutionary-based algorithms are: Genetic Programming(GP) [55], Evolutionary Programming (EP) [56], and Differential Evolution (DE) [57].

3 Archery Algorithm

The suggested optimization method and its mathematical model are described in this section.Archery Algorithm(AA)is based on mimicking an archer’s behavior during archery towards the target board.In fact, in the proposed AA, each member of the population is updated in each dimension of the search space based on the guidance of the member targeted by the archer.In population based algorithms, each member of the population is actually a feasible solution to the optimization problem that determines the values of the problem variables.Therefore, each member of the population can be represented using a vector.The algorithm’s population matrix is made up of the members of the population.This population matrix can be modeled as a matrix representation using Eq.(1).

whereXis the matrix of AA’s population,Xiis the vector ofith AA’s population member,xi,disthedth dimension ofith population member,Nis the number of population members, andmis the number of problem variables.

Each member of the population can be used to evaluate the objective function of optimization problems.Proportional to the number of members of the population, different values are obtained for the objective function, which is specified as a vector using Eq.(2).

whereFis the vector of various obtained values for objective function from population members andFiis the objective function value obtained fromith population member.

In the proposed AA, the target panel is considered as a page (square or rectangle).The target panel is segmented so that the number of sections in its“width”is equal to the number of population members, and the number of sections in its“length”is equal to the number of problem variables.The difference in the width of the different parts is proportional to the difference in the value of the objective functions of the population members.

In order to determine the width proportional to the value of the objective function, the probability function is used.The probability function similar to the objective function is calculated using a vector according to Eq.(3).

Here,Pis the probability vector andFworstis the objective function value of worst population member.

In the proposed algorithm, in order to update the position of each member in the search space in each dimension, a member is randomly selected based on the archery simulation.In archery simulation, the member that performs better on the objective function value has a higher probability function and, in fact, a better chance of being selected.Cumulative probability has been used to simulate archery and randomly select a member.This process can be modeled using Eq.(4).

where,kis the row number of selected member by archer,Ciis the cumulative probability ofith member,andis a random number in interval [0,1] which is a criterion for simulating the selection of thekth member to lead theith member in thedth dimension.

Therefore, in the proposed AA, the position of the population members is updated based on the said concepts, using Eqs.(5) to (7).

The proposed AA is an iteration-based algorithm like other population-based algorithms.After updating all members of the population, the algorithm enters the next iteration and the various steps of the proposed AA based on Eqs.(3) to (7) are repeated until the stop condition is established.Once fully implemented, the algorithm provides the best proposed solution to the problem.The various steps of the proposed AA are presented its pseudo-code in Alg.1 and as a flowchart in Fig.1.

Algorithm 1: Pseudocode of the proposed AA Start AA.1.Input the information of given optimization problem.2.Set the N and the T parameters values.3.For t=1:T 4.Calculate probability function using Eq.(3).5.For i=1:N 6.For d=1:m 7.Simulate archery for guidance member selection using Eq.(4).8.Calculate new status of dth dimension using Eqs.(5) and (6)9.end 10.Update ith population member using Eq.(7).11.end(Continued)

Algorithm 1: Continued 12.Save best solution so far.13.end 14.Output best obtained solution.End AA.

Figure 1: Flowchart of AA

4 Simulation Studies and Results

This section presents simulated experiments on the proposed AA’s performance in addressing optimization problems and giving acceptable quasi-optimal solutions.To examine the proposed algorithm, a standard set of twenty-three functions from various types of unimodal, high-dimensional multimodal, and fixed-dimensional multimodal models is used.Furthermore, the AA findings are compared to the performance of eight optimization techniques, including Particle Swarm Optimization(PSO)[26],Teaching-Learning Based Optimization(TLBO)[27],Grey Wolf Optimization(GWO)[28], Whale Optimization Algorithm (WOA) [29], Marine Predators Algorithm (MPA) [30], Tunicate Swarm Algorithm (TSA) [41] Gravitational Search Algorithm (GSA) [49], and Genetic Algorithm(GA) [54].In order to report the results of function optimization, two indicators of the average of the best obtained solutions (avg) and the standard deviation of the best obtained solutions (std) are used.

4.1 Evaluation of Unimodal Functions

The objective functions of F1 to F7 of the unimodal type have been selected to evaluate the performance of the optimization algorithms.The results of the implementation of the proposed AA and eight compared algorithms are presented in Tab.1.Based on the results of this table, the AA is the best optimizer for F1, F2, F3, F4, F5, and F7 functions and is also able to provide the global optimal for the F6 function.The proposed AA has a strong capacity to optimize unimodal functions and is significantly more competitive than the eight compared algorithms, according to analysis and comparison of optimization algorithm performance.

Table 1: Simulation results of AA and competitor algorithms on the unimodal objective functions

4.2 Evaluation of High-Dimensional Multimodal Functions

Objective functions of F8 to F13 are selected to evaluate the performance of optimization algorithms in solving high-dimensional multimodal problems.The results of optimization of this type of objective functions using the proposed AA and eight compared algorithms are presented in Tab.2.The simulation results show that AA is the best optimizer for F10, F12, and F13 functions and is also able to provide the global optimal for F9 and F11 functions.The reported findings demonstrate that the suggested AA approach is capable of optimizing high-dimensional multimodal objective functions.

Table 2: Simulation results of AA and competitor algorithms on the high-dimensional multimodal functions

4.3 Evaluation of Fixed-Dimensional Multimodal Functions

Objective functions of F14 to F23 are selected to analyze the ability of optimization algorithms to solve fixed-dimensional multimodal problems.The results of the implementation of the proposed AA and eight comparative algorithms on these objective functions are presented in Tab.3.Based on the analysis of the results in this table, the proposed AA is able to provide the global optimal for the F14, F17, and F18 functions.In addition, AA with optimal quasi-optimal solutions and less standard deviation is the best optimizer for F15,F16,F19,F20,F21,F22,and F23functions.Analysis and comparison of the results of the compared algorithms against the performance of the proposed algorithm shows that AA has a very high ability to solve fixed-dimensional multimodal type objective functions.

Table 3: Simulation results of AA and competitor algorithms on the fixed-dimensional multimodal functions

Table 3: Continued

4.4 Statistical Analysis

Although analyzing and comparing optimization algorithms based on two criteria, the average of the best solutions and its standard deviation, gives important information, the superiority of one algorithm over other algorithms may be random, even with a very low probability.This section presents a statistical analysis of the performance of optimization techniques.The Wilcoxon rank sum test [58],a non-parametric statistical test, is used to assess the significance of the results.Tab.4 displays the outcomes of this test.This table specifies the significant superiority of the suggested AA over the other methods based on p-values less than 0.05.

Table 4: p-values obtained from Wilcoxon sum rank test

4.5 Sensitivity Analysis

A sensitivity analysis is provided in this subsection to evaluate the influence of“number of population members”and“maximum number of iterations”parameters on the performance of the proposed AA.

The AA is implemented in separate performances for different populations with 20, 30, 50, and 80 members on all twenty-three objective functions to give a sensitivity analysis of the proposed algorithm to the“number of population number”parameter.The simulation results are reported in Tab.5.What can be deduced from the analysis of these results is that the values of the objective function decrease as the number of members of the population increases.

Table 5: Evaluation results of fixed-dimensional multimodal functions

In order to provide a sensitivity analysis of the proposed algorithm to the “maximum number of iterations” parameter, the AA is implemented in independent performances for the number of 100, 500, 800, and 1000 iterations on all twenty-three objective functions.Tab.6 displays the findings of this sensitivity analysis.The simulation results demonstrate that raising the algorithm’s maximum number of iterations leads to convergence towards the best solution and decreases the value of the objective functions.

Table 6: Evaluation results of fixed-dimensional multimodal functions

5 Conclusions and Future Works

A vast variety of scientific optimization issues in many areas must be tackled using proper optimization approaches.One of the most extensively utilized tools for solving these issues is stochastic search-based optimization algorithms.In this study,Archery Algorithm(AA)was developed as a novel optimization algorithm for providing adequate quasi-optimal solutions to optimization problems.Modeling the archer shooting behavior towards the target panel was the main idea in designing the proposed algorithm.In the AA, the position of each member of the population in each dimension of the search space is guided by the member marked by the archer.The proposed algorithm was mathematically modeled and tested on twenty-three standard objective functions of different types of unimodal, and multimodal.The results of optimizing the unimodal objective functions show that the suggested AA has a strong exploitation potential in delivering quasi-optimal solutions near to the global optimal.The results of optimization of multimodal functions showed that the proposed AA has high power in the index of exploration and accurate scanning of the search space in order to cross the optimal local areas.Furthermore, the suggested AA’s results were compared to the performance of eight methods, including: Particle Swarm Optimization (PSO), Grey Wolf Optimization(GWO),Teaching-Learning Based Optimization(TLBO),Marine Predators Algorithm(MPA),Whale Optimization Algorithm (WOA), Gravitational Search Algorithm (GSA), Genetic Algorithm (GA),and Tunicate Swarm Algorithm (TSA).The results of the analysis and comparison revealed that the proposed AA outperforms the eight mentioned algorithms in addressing optimization problems and is far more competitive.

The authors offer several suggestions for further studies, including the design of multi-objective version as well as binary version of the proposed AA.In addition, the application of the proposed AA in solving optimization problems in various sciences and the real-world problems are another suggested study ideas of this paper.

Funding Statement:The research was supported by the Excellence Project PF UHK No.2208/2021-2022, University of Hradec Kralove, Czech Republic.

Conflicts of Interest:The authors declare that they have no conflicts of interest to report regarding the present study.

Appendix A.Information of test objective functions

The information of the objective functions used in the simulation section is presented in Tab.A1 to Tab.A3

Table A1: Unimodal functions

Table A2: High-dimensional multimodal functions

Table A2: Continued

Table A3: Fixed-dimensional multimodal functions