Computational Intelligence and Neuroscience

Computational Intelligence and Neuroscience / 2019 / Article

Research Article | Open Access

Volume 2019 |Article ID 2981282 |

Zheng-Ming Gao, Juan Zhao, "An Improved Grey Wolf Optimization Algorithm with Variable Weights", Computational Intelligence and Neuroscience, vol. 2019, Article ID 2981282, 13 pages, 2019.

An Improved Grey Wolf Optimization Algorithm with Variable Weights

Academic Editor: Raşit Köker
Received11 Dec 2018
Revised19 Feb 2019
Accepted13 Mar 2019
Published02 Jun 2019


With a hypothesis that the social hierarchy of the grey wolves would be also followed in their searching positions, an improved grey wolf optimization (GWO) algorithm with variable weights (VW-GWO) is proposed. And to reduce the probability of being trapped in local optima, a new governing equation of the controlling parameter is also proposed. Simulation experiments are carried out, and comparisons are made. Results show that the proposed VW-GWO algorithm works better than the standard GWO, the ant lion optimization (ALO), the particle swarm optimization (PSO) algorithm, and the bat algorithm (BA). The novel VW-GWO algorithm is also verified in high-dimensional problems.

1. Introduction

A lot of problems with huge numbers of variables, massive complexity, or having no analytical solutions were met during the behavior of exploring, exploiting, and conquering nature by human beings. The optimization methods are proposed to solve them. But unfortunately, because of the no free lunch rule [1], it is always hard to find a universal efficient way for almost all problems. Therefore, scientists and engineers around the world are still under ways to find more optimization algorithms and more suitable methods.

Traditionally, the optimization algorithms are divided into two parts: the deterministic algorithms and the stochastic algorithms [2]; the deterministic algorithms are proved to be easily trapped in local optima, while the stochastic algorithms are found to be capable of avoiding local solutions with randomness. Thus, more attention is paid to the stochastic algorithms, and more and more algorithms are proposed. Among the research on the stochastic algorithms, presentations, improvements, and applications of the nature-inspired computing (NIC) algorithms come into being a hot spot.

The NIC algorithms are proposed with inspiration of the nature, and they have been proved to be efficient to solve the problems human meet [3, 4]. One of the most important parts of NIC algorithms are the bionic algorithms, and most of the bionic algorithms are metaheuristic [57]. They can solve problems with parallel computing and global searching. The metaheuristic algorithms divide the swarms in global and local searching with some methods. They cannot guarantee the global optimal solutions; thus, most of the metaheuristic algorithms introduce randomness to avoid local optima. The individuals in swarms are controlled to separate, align, and cohere [8] with randomness; their current velocities are composed of the former velocities, random multipliers of the frequency [9], or Euclidean distances of specific individuals’ positions [1014]. Some improvements are made with inertia weights modification [1517], hybridization with invasive weed optimization [18], chaos [19], and binary [20] vectors et al. Most of these improvements result in a little better performance of the specific algorithms, but the overall structures remain unchanged.

Almost all of the metaheuristic algorithms and their improvements so far are inspired directly from the behaviors of the organisms such as searching, hunting [11, 21], pollinating [13], and flashing [14]. In the old metaheuristic algorithms, such as the genetic algorithm (GA) [22], simulated annealing (SA) [23], and the ant colony optimization (ACO) algorithm [24], the individuals are treated in the same way, and the final results are the best fitness values. Metaheuristic algorithms perform their behavior under the same governing equations. To achieve a better performance and decrease the possibility of being trapped in local optima, random walks or levy flights are introduced to the individuals when specific conditions are might [25, 26]. These mostly mean that the swarms would perform their behavior in more uncontrolling ways. Furthermore, as organisms living in swarms in nature, most of them have social hierarchies as long as they are slightly intelligent. For example, in an ant colony, the queen is the commander despite its reproduction role; the dinergates are soldiers to garden the colony, while the ergates are careered with building, gathering, and breeding. It can be concluded that the hierarchy of the ant colony is queen → dinergates → ergates if they are classified with jobs. The ergates’ behavior could be directed by their elder’s experience and their queen or the dinergates. If the ergates are commanded by the queen, some dinergates, or elders, and such operations are mathematically described and introduced to the ant colony optimization (ACO) in some way, will the ACO algorithm perform better in solving the problems? In other words, how about the social hierarchy of the swarms considered in the metaheuristic algorithms? This work was done by Mirjalili et al., and a new optimization method called the grey wolf optimization (GWO) algorithm was proposed [27].

The GWO algorithm considers the searching, hunting behavior, and the social hierarchy of the grey wolves. Due to less randomness and varying numbers of individuals assigned in global and local searching procedures, the GWO algorithm is easier to use and converges more rapidly. It has been proved to be more efficient than the PSO [27] algorithm and other bionic algorithms [2832]. More attention had been paid to its applications due to its better performance. Efforts have been done in feature and band selection [33, 34], automatic control [29, 35], power dispatching [32, 36], parameter estimation [31], shop scheduling [28], and multiobjective optimization [37, 38]. However, the standard GWO algorithm was formulated with equal importance of the grey wolves’ positions, which is not consistent strictly with their social hierarchy. Recent developments of the GWO algorithms such as the binary GWO algorithm [34], multiobjective GWO algorithm [37], and mix with others [39], together with their applications [4043] keep it remaining unchanged. If the searching and hunting positions of the grey wolves are also agreed to the social hierarchy, the GWO algorithm will be possibly improved. With a hypothesis that the social hierarchy of the grey wolves would be also functional in the grey wolves’ searching procedure, we report an improvement of the original GWO algorithm in this paper. And considering the applications in engineering when a maximum admissible error (MAE) is usually restricted for given problems, a declined exponentially governing equation of the controlling parameter is introduced to avoid the unknown maximum iteration number. The rest of this paper is organized as follows:

Section 2 presents the inspiration of the improvement and the revision of the controlling equations to meet the needs of the latter experiments. Experiment setup is described in Section 3, and results are compared in Section 4. Finally, Section 5 concludes the work and further research suggestions are made.

2. Algorithms

According to Mirjalili et al. [27], the grey wolves live together and hunt in groups. The searching and hunting process can be described as follows: (1) if a prey is found, they first track and chase and approach it. (2) If the prey runs, then the grey wolves pursue, encircle, and harass the prey until it stops moving. (3) Finally, the attack begins.

2.1. Standard GWO Algorithm

Mirjalili designed the optimization algorithm imitating the searching and hunting process of grey wolves. In the mathematical model, the fittest solution is called the alpha (α), the second best is beta (β), and consequently, the third best is named the delta (δ). The rest of the candidate solutions are all assumed to be omegas (ω). All of the omegas would be guided by these three grey wolves during the searching (optimizing) and hunting.

When a prey is found, the iteration begins (t = 1). Thereafter, the alpha, beta, and the delta wolves would lead the omegas to pursue and eventually encircle the prey. Three coefficients , , and are proposed to describe the encircling behavior:where indicates the current iteration, is the position vector of the grey wolf, and , , and are the position vectors of the alpha, beta, and delta wolves. would be computed as follows:

The parameters and are combinations of the controlling parameter and the random numbers and [27]:

The controlling parameter a changes and finally causes the omega wolves to approach or run away from the dominant wolves such as the alpha, beta, and delta. Theoretically, if , the grey wolves run away from the dominants, and this means the omega wolves would run away from the prey and explore more space, which is called a global search in optimization. And if , they approach the dominants, which means the omega wolves would follow the dominants approaching the prey, and this is called a local search in optimization.

The controlling parameter is defined to be declined linearly from a maximum value of 2 to zero while the iterations are being carried on:where is the maximum iteration number, and it is initialized at the beginning by users. It is defined as the cumulative iteration number. The application procedure can be divided in three parts. (1) The given problems are understood and mathematically described, and some elemental parameters are then known. (2) A pack of grey wolves are randomly initialized all through the space domain. (3) The alpha and other dominant grey wolves lead the pack to search, pursue, and encircle the prey. When the prey is encircled by the grey wolves and it stops moving, the search finishes and attacks begin. The pseudocode is listed in Table 1.


Set up optimizationDimension of the given problems
Limitations of the given problems
Population size
Controlling parameter
Stop criterion (maximum iteration times or admissible errors)

InitializationPositions of all of the grey wolves including α, β, and δ wolves

SearchingWhile not the stop criterion, calculate the new fitness function
Update the positions
Limit the scope of positions
Refresh α, β, and δ
Update the stop criterion

2.2. Proposed Variable Weights and Their Governing Equations

We can see from the governing equation (5) that the dominants play a same role in the searching process; every one of the grey wolves approaches or runs away from the dominants with an average weight of the alpha, beta, and delta. However, although the alpha is the nearest to the prey at the beginning of the search, it might be far away from the final result, let alone the beta and delta. Therefore, at the beginning of the searching procedure, only the position of the alpha should be considered in equation (5), or its weight should be much larger than those of other dominants. On the contrary, the averaging weight in equation (5) is also against the social hierarchy hypothesis of the grey wolves. If the social hierarchy is strictly followed in the pack, the alpha is the leader and he/she might be always the nearest one to the prey. The alpha wolf should be the most important, which means that the weight of alpha’s position in equation (5) should be always no less than those of the beta and the delta. And consequently, the weight of the beta’s position should be always no less than that of the delta. Based on these considerations, we further hypothesize the following:(1)The searching and hunting process are always governed by the alpha, the beta plays a less important role, and the delta plays a much less role. All of the other grey wolves transfer his/her position to the alpha if he/she gets the best.It should be noted that, in real searching and hunting procedures, the best position is nearest to the prey, while in optimization for a global optimum of a given problem, the best position is the maximum or minimum of the fitness value under given restrictions.(2)During the searching process, a hypothesized prey is always surrounded by the dominants, while in hunting process, a real prey is encircled. The dominant grey wolves are at positions surrounding the prey in order of their social hierarchy. This means that the alpha is the nearest one among the grey wolves; the beta is the nearest one in the pack except for the alpha; and the delta ranks the third. The omega wolves are involved in the processes, and they transfer their better positions to the dominants.

With hypothesis mentioned hereinbefore, the update method of the positions should not be considered the same in equation (5).

When the search begins, the alpha is the nearest, and the rest are all not important. So, his/her position should be contributed to the new searching individuals, while all of the others could be ignored. This means that the weight of the alpha should be near to 1.0 at the beginning, while the weights of the beta and delta could be near zero at this time. At the final state, the alpha, beta, and the delta wolves should encircle the prey, which means they have an equal weight, as mentioned in equation (5). Along with the searching procedure from the beginning to the end, the beta comes up with the alpha as he/she always rank the second, and the delta comes up with the beta due to his/her third rank. This means that the weights of the beta and delta arise along with the cumulative iteration number. So, the weight of the alpha should be reduced, and the weights of the beta and delta arise.

The above ideas could be formulated in mathematics. First of all, all of the weights should be varied and limited to 1.0 when they are summed up. Equation (5) is then changed as follows:

Secondly, the weight of the alpha , that of the beta , and that of the delta , should always satisfy . Mathematically speaking, the weight of the alpha would be changed from 1.0 to 1/3 along with the searching procedure. And at the same time, the weights of the beta and delta would be increased from 0.0 to 1/3. Generally speaking, a cosine function could be introduced to describe w1 when we restrict an angle θ to vary in [0, arccos(1/3)].

Thirdly, the weights should be varied with the cumulative iteration number or “it”. And we know that when it = 0 and when it ⟶ ∞. So, we introduce an arc-tangent function about it which would be varying from 0.0 to π/2. And magically sin (π/4) = cos (π/4) = , so another angular parameter φ was introduced as follows:

Considering would be increased from 0.0 to 1/3 along with it, we hypothesize that it contains sin θ and cos φ and θ ⟶ arccos(1/3) when it ⟶ ∞; therefore,when it ⟶ ∞, θ ⟶ arccos (1/3),  = 1/3, we can then formulate in details. Based on these considerations, a new update method of the positions with variable weights is proposed as follows:

The curve of the variable weights is drawn in Figure 1. We can then find that the variable weights satisfy the hypothesis, the social hierarchy of the grey wolves’ functions in their behavior of searching.

2.3. Proposed Declined Exponentially Governing Equation of the Controlling Parameter

In equation (7), the controlling parameter is declined linearly from two to zero when the iterations are carrying on from zero to the maximum N. However, an optimization is usually ended with a maximum admissible error (MAE) which is requested in engineering. This also means that the maximum iteration number N is unknown.

Furthermore, the controlling parameter is a restriction parameter for A, who is responsible for the grey wolf to approach or run away from the dominants. In other words, the controlling parameter governs the grey wolves to search globally or locally in the optimizing process. The global search probability is expected to be larger when the search begins; and consequently, the local search probability is expected to be larger when the algorithm is approaching the optimum. Therefore, to obtain a better performance of the GWO algorithm, the controlling parameter is expected to be decreased quickly when the optimization starts and converge to the optimum very fast. On the contrary, some grey wolves are expected to remain global searching to avoid being trapped in local optima. Considering these reasons, a controlling parameter declined exponentially [44] is introduced as described below:where is the maximum value and is an admissible maximum iteration number. The parameter restricts the algorithm to avoid long time running and nonconvergence. It is expected to be larger than 104 or 105 based on nowadays computing hardware used in most laboratories.

3. Empirical Studies and the Experiments Prerequisite

The goal of experiments is to verify the advantages of the improved GWO algorithm with variable weights (VW-GWO) with comparisons to the standard GWO algorithm and other metaheuristic algorithms in this paper. Classically, optimization algorithms are applied to optimize benchmark functions which were used to describe the real problems human meet.

3.1. Empirical Study of the GWO Algorithm

Although there are less numbers of parameters in the GWO algorithm than that in other algorithms such as the ALO, PSO, and bat algorithm (BA) [45], the suitable values of the parameters remain important for the algorithm to be efficient and economic. Empirical study has been carried out, and results show that the population size is expected to be 20∼50 balancing the computing complexity and the convergent rate. In an empirical study on the parameters of the maximum value am, the sphere function (F1) and Schwefel’s problems 2.22 (F2) and 1.2 (F3) are optimized to find the relationship between am and the mean least iteration times with a given error tolerance of 10−25, as shown in Figure 2.

We can know from Figure 2 the following: (1) the maximum value am of the controlling parameter a influences the MLIT under a given MAE; when am is smaller than 1.0, the smaller the am is, the more the MLIT would be needed. On the contrary, if the am is larger than 2.5, the larger the am is, the more the MLIT would be needed. (2) am should be varied in [1.0, 2.5], and am is found to be the best when it is 1.6 or 1.7.

3.2. Benchmark Functions

Benchmark functions are standard functions which are derived from the research on nature. They are usually diverse and unbiased, difficult to be solved with analytical expressions. The benchmark functions have been an essential way to test the reliability, efficiency, and validation of optimization algorithms. They varied from the number of ambiguous peaks in the function landscape, the shape of the basins or valleys, reparability to the dimensional. Mathematically speaking, the benchmark functions can be classified with the following five attributes [46].(a)Continuous or uncontinuous: most of the functions are continuous, but some of them are not.(b)Differentiable or nondifferentiable: some of the functions can be differenced, but some of them not.(c)Separable or nonseparable: some of the functions can be separated, but some of them are not.(d)Scalable or nonscalable: some of the functions can be expanded to any dimensional, but some of them are fixed to two or three dimensionalities.(e)Unimodal or multimodal: some of the functions have only one peak in their landscape, but some of them have many peaks. The former attribute is called unimodal, and the latter is multimodal.

There are 175 benchmark functions, being summarized in literature [46]. In this paper, we choose 11 benchmark functions from simplicity to complexity including all of the above five characteristics. They would be fitted to test the capability of the involved algorithms, as listed in Table 2, and they are all scalable.

LabelFunction nameExpressionsDomain [lb, ub]

F1De Jong’s sphere[−100, 100]
F2Schwefel’s problems 2.22[−100, 100]
F3Schwefel’s problem 1.2[−100, 100]
F4Schwefel’s problem 2.21[−100, 100]
F5Chung Reynolds function[−100, 100]
F6Schwefel’s problem 2.20[−100, 100]
F7Csendes function[−1, 1]
F8Exponential function[−1, 1]
F9Griewank’s function[−100, 100]
F10Salomon function[−100, 100]
F11Zakharov function[−5, 10]

The functions are all n-dimensional, and their input vectors x = (x1, x2, …, xn) are limited by the domain. Values in the domain are maximum to be ub and minimum to be lb. The single result values are all zeros theoretically for simplicity.

4. Results and Discussion

There are 11 benchmark functions being involved in this study. Comparisons are made with the standard grey wolf optimization algorithm (std. GWO) and three other bionic methods such as the ant lion optimization algorithm (ALO), the PSO algorithm, and BA.

4.1. General Reviews of the Algorithms

The randomness is all involved in the algorithms studied in this paper, for example, the random positions, random velocities, and random controlling parameters. The randomness causes the fitness values obtained during the optimization procedure to fluctuate. So, when an individual of the swarm is initialized or it randomly jumps to a position quite near the optimum, the best fitness value would be met. Table 3 lists the best and worst fitness results of some chosen benchmark functions and their corresponding algorithms. During this experiment, 100 Monte Carlo (MC) simulations are carried out for every benchmark function. The results show that the randomness indeed leads to some random work, but at most of the time, the final results would be more dependent on the algorithms.

FunctionsValueCorresponding algorithm

Best fitness
F11.4238e − 70VM-GWO
F23.2617e − 36VM-GWO
F33.6792e − 68VM-GWO
F43.3655e − 66Std. GWO
F77.8721e − 222VM-GWO
F112.6230e − 69VM-GWO

Worst fitness
F11.0213e − 07BA
F24.1489e − 04BA
F35.9510e − 08BA
F42.4192e − 06PSO
F71.0627e − 24BA
F85.7010e − 13BA
F91.0850e − 01ALO
F119.9157e − 09BA

The GWO algorithms always work the best at first glance of Table 3, either the VM-GWO or the std. GWO algorithm could optimize the benchmark functions best to its optima with little absolute errors, while the proposed VM-GWO algorithm is almost always the best one. Other compared algorithms such as the PSO, ALO algorithms, and the BA would lead to the worst results at most time. These mean that the GWO algorithms are more capable, and the proposed VM-GWO algorithm is indeed improving the capability of the std. GWO algorithm. A figure about the absolute errors averaged over MC = 100 versus iterations could also lead to this conclusion, as shown in Figure 3.

The convergence rate curve during the iterations of F3 benchmark function is demonstrated in Figure 3. It shows that the proposed VM-GWO algorithm would result in faster converging, low residual errors, and stable convergence.

4.2. Comparison, Statistical Analysis, and Test

General acquaintances of the metaheuristic algorithms might be got from Table 3 and Figure 3. However, the optimization problems often demand the statistical analysis and test. To do this, 100 MC simulations are carried out on the benchmark functions. The benchmark functions are all two dimensional, and they are optimized by the new proposed VM-GWO and other four algorithms over 100 times. Causing the benchmark functions are all concentrated to zeros, and the simulated fitness results are also their absolute errors. The mean values of the absolute errors and the standard deviations of the final results are listed in Table 4; some of the values are quoted from the published jobs, and references are listed correspondingly.

MeanStd. deviationMeanStd. deviationMeanStd. deviationMeanStd. deviationMeanStd. deviation

F17.2039e − 663.5263e − 656.59E − 286.34E − 5 [27]2.59E − 101.65E − 10 [2]1.36E − 42.02E − 4 [27]0.7736220.528134 [2]
F21.3252e − 343.5002e − 347.18E − 170.02901 [27]1.84241E − 66.58E − 7 [2]0.0421440.04542 [27]0.3345833.186022 [2]
F33.7918e − 601.1757e − 593.29E − 679.1496 [27]6.0685E − 106.34E − 10 [2]70.1256222.1192 [27]0.1153030.766036 [2]
F42.2262e − 462.8758e − 465.61E − 71.31509 [27]1.36061E − 81.81E − 9 [2]0.317047.3549 [27]0.1921850.890266 [2]
F53.6015e − 1319.0004e − 1317.8319e − 972.4767e − 962.1459e − 202.8034e − 208.4327e − 201.7396e − 191.7314e − 174.9414e − 17
F90.00470.00400.004490.00666 [27]0.03010.03290.009220.00772 [27]0.04360.0294
F100.02000.04210.04990.05260.018604490.009545 [2]0.2736740.204348 [2]1.4515750.570309 [2]
F111.2999e − 604.1057e − 606.8181e − 351.5724e − 341.1562e − 131.2486e − 132.3956e − 123.6568e − 125.0662e − 094.9926e − 09

The proposed VM-GWO algorithm and its compared algorithms are almost all capable of searching the global optima of the benchmark functions. The detailed values in Table 4 show that the standard deviations of the 100 MC simulations are all small. We can further draw the following conclusions:(1)All of the algorithms involved in this study were able to find the optimum.(2)All of the benchmark functions tested in this experiment could be optimized, whether they are unimodal or multimodal, under the symmetric or unsymmetric domain.(3)Comparatively speaking, although the bat algorithm is composed of much more randomness, it did the worst job. The PSO and the ALO algorithm did a little better.(4)The GWO algorithms implement the optimization procedure much better. The proposed VM-GWO algorithm optimized most of the benchmark functions involved in this simulation at the best, and it did much better than the standard algorithm.

Therefore, the proposed VM-GWO algorithm is better performed in optimizing the benchmark functions than the std. GWO algorithm as well as the ALO, PSO algorithm, and the BA, which can be also obtained from the Wilcoxon rank sum test [47] results, as listed in Table 5.


Std. GWO0.0002460.000330.0001830.000440.00018300.0001830.4667530.1619720.000183

In Table 5, the values of the Wilcoxon rank sum test is reported and show that the proposed VM-GWO algorithm has superiority over most of the benchmark functions except F5: Rosenbrock function.

4.3. Mean Least Iteration Times (MLIT) Analysis over Multidimensions

Compared with other bionic algorithms, the GWO algorithm has fewer numbers of parameter. Compared with the std. GWO algorithm, the proposed VM-GWO algorithm does not generate additional uncontrolling parameters. It furthermore improves the feasibility of the std. GWO algorithm by introducing an admissible maximum iteration number. On the contrary, there are large numbers of randomness in the compared bionic algorithms such as the ALO, PSO algorithms, and the BA. Therefore, the proposed algorithm is expected to be fond by the engineers, who need the fastest convergence, the most precise results, and which are under most control. Thus, there is a need to verify the proposed algorithm to be fast convergent, not only a brief acquaintance from Figure 3.

Generally speaking, the optimization algorithms are usually used to find the optima under constrained conditions. The optimization procedure must be ended in reality, and it is expected to be as faster as capable. The admissible maximum iteration number M forbids the algorithm to be run endlessly, but the algorithm is expected to be ended quickly at the current conditions. This experiment will calculate the mean least iteration times (MLIT) under a maximum admissible error. The absolute values of MAE are constrained to be less than 1.0 × 10−3 and M = 1.0 × 105. In this experiment, 100 MC simulations are carried out, and for simplicity, not all classical benchmark functions are involved in this experiment. The final statistical results are listed in Tables 68. Note that the complexity of the ALO algorithm is very large, and it is time exhausted based on the current simulation hardware described in Appendix. So, it is not included in this experiment.

dimAlgorithmBestWorstMeant-test (α = 0.05)Std. deviationNumber

2VW-GWO6129.901.7180e − 1931.0493100
Std. GWO71310.381.8380e − 221.2291100
PSO481093357.973.2203e − 22205.3043100
BA295941.001.3405e − 1015.8517100

10VW-GWO536659.974.1940e − 1772.7614100
Std. GWO748980.401.9792e − 802.7614100
PSO5713115109279.222.9716e − 761300.848588
BA69199779444999.047.5232e − 2625133.309678

30VW-GWO556759.851.2568e − 1222.4345100
Std. GWO718680.072.6197e − 793.3492100
PSO5549122629314.789.6390e − 831316.338496
BA72389299744189.165.2685e − 2624831.744379

dimAlgorithmBestWorstMeant-test (α = 0.05)Std. deviationNumber

2VW-GWO131.466.3755e − 2260.5397100
Std. GWO121.411.0070e − 2290.4943100
BA131.028.5046e − 2690.200100

10VW-GWO597.655.7134e − 1990.9468100
Std. GWO5117.485.1288e − 1911.1413100
PSO46524.231.6196e − 8510.9829100
BA134925.295.9676e − 1096.2366100

30VW-GWO132217.149.6509e − 1671.7980100
Std. GWO153020.801.3043e − 1482.6208100
PSO54255133.325.7600e − 1242.5972100
BA4010162.681.8501e − 5311.8286100

dimAlgorithmBestWorstMeant-test (α = 0.05)Std. deviationNumber

2VW-GWO396.635.6526e − 1881.2363100
Std. GWO4106.663.5865e − 1861.2888100
PSO612546.351.6006e − 3726.0835100
BA56227.581.6166e − 8311.0080100

10VW-GWO1020065.572.8562e − 1243.2281100
Std. GWO1424668.682.6622e − 1141.7104100
PSO151356231.741.2116e − 6257.149094
BA15214113.195.1511e − 266.9189100

30VW-GWO491179312.241.2262e − 18194.7643100
Std. GWO65945294.453.1486e − 21160.7119100
PSO3250051086.116.0513e − 13980.338672
BA66403221.601.9072e − 5140.5854100

Table 8 lists the MLIT data when VW-GWO, std. GWO, PSO algorithm, and BA are applied to the unimodal benchmark function F1. The best, worst, and the standard deviation MLIT values are listed. The mean values are also calculated, and t-tested are carried out with α = 0.05. The last column lists the remaining MC simulation numbers discarding all of the data when the searching processes reach the admissible maximum iteration number M. The final results demonstrate the best performance of the proposed VM-GWO algorithm on unimodal benchmark functions compared to other four algorithms involved. The data in Tables 68 are under the same conditions, and only difference is that Table 6 lists the data obtained when the algorithms are applied to a multimodal benchmark function with the symmetrical domain. However, Table 8 lists the data obtained when the algorithms applied to a multimodal benchmark function with the unsymmetrical domain. A same conclusion could be drawn.

Note that, in this experiment, the dimensions of the benchmark functions are varied from 2 to 10 and 30. The final results also show that if the dimensions of the benchmark functions are raised, the MLIT values would be increased dramatically. This phenomenon would lead to the doubt whether it also performs the best and is capable to solve high-dimensional problems.

4.4. High-Dimensional Availability Test

Tables 68 show that the larger the dimensions are, the more the MLIT values would be needed to meet to experiment constraints. However, as described in the first part, the optimization algorithms are mostly developed to solve the problems with huge number of variables, massive complexity, or having no analytical solutions. Thus, the high-dimensional availability is quite interested. As described in the standard GWO algorithm, the proposed VM-GWO algorithm should also have the merits to solve the large-scale problems. An experiment with dim = 200 is carried out to find the capability of the algorithms solving the high-dimensional problems. For simplicity, three classical benchmark functions, such as F4: Schwefel’s problem 2.21 function, F8: exponential function, and F11: Zakharov function, are used to demonstrate the results, as listed in Table 9. The final results of 100 MC experiments will be evaluated and counted, and each time the search procedure will be also iterated for a hundred times.

MeanStd. deviationMeanStd. deviationMeanStd. deviationMeanStd. deviationMeanStd. deviation

F43.3556e − 538.7424e − 531.6051e − 462.2035e − 464.2333e − 072.9234e − 073.0178e − 076.5449e − 071.6401e − 072.1450e − 07
F800003.3307e − 177.4934e − 171.1102e − 173.5108e − 171.4466e − 141.9684e − 14
F110.01150.01930.03640.06408.383110.321312.664913.00984.7528e + 162.8097e + 16

The data listed in Table 9 show that the GWO algorithms would be quickly convergent, and the proposed algorithm is the best to solve the large-scale problems.

To test its capability even further, we also carry out an experiment to verify the capability solving some benchmark function in high dimensions with restrictions MC = 100 and MLIT = 500. In this experiment, we change the dimensions from 100 to 1000, and the final results which are also the absolute errors averaged over MC times, being shown in Figure 4.

We can see from Figure 4 that the VM-GWO is capable to solve high-dimensional problems.

5. Conclusions

In this paper, an improved grey wolf optimization (GWO) algorithm with variable weights (VW-GWO algorithm) is proposed. A hypothesize is made that the social hierarchy of the packs would also be functional in their searching positions. And variable weights are then introduced to their searching process. To reduce the probability of being trapped in local optima, a governing equation of the controlling parameter is introduced, and thus, it is declined exponentially from the maximum. Finally, three types of experiments are carried out to verify the merits of the proposed VW-GWO algorithm. Comparisons are made to the original GWO and the ALO, PSO algorithm, and BA.

All the selected experiment results show that the proposed VW-GWO algorithm works better under different conditions than the others. The variance of dimensions cannot change its first position among them, and the proposed VW-GWO algorithm is expected to be a good choice to solve the large-scale problems.

However, the proposed improvements are mainly focusing on the ability to converge. It leads to faster convergence and wide applications. But it is not found to be capable for all the benchmark functions. Further work would be needed to tell the reasons mathematically. Other initializing algorithms might be needed to let the initial swarm individuals spread all through the domain, and new searching rules when the individuals are at the basins would be another hot spot of future work.


The simulation platform, as described in Section 3.3, is run on an assembled desktop computer being configured as follows: CPU: Xeon E3-1231 v3; GPU: NVidia GeForce GTX 750 Ti; memory: DDR3 1866 MHz; motherboard: Asus B85-Plus R2.0; hard disk: Kingston SSD.

Data Availability

The associate software of this paper could be downloaded from with the access code: kassof.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Authors’ Contributions

Zheng-Ming Gao formulated the governing equations of variable weights, constructed the work, and wrote the paper. Juan Zhao proposed the idea on the GWO algorithm and programmed the work with Matlab. Her major contribution is in the programmed work and the proposed declined exponentially governing equations of the controlling parameter. Juan Zhao contributed equally to this work.


This work was supported in part by Natural Science Foundation of Jingchu University of Technology with grant no. ZR201514 and the research project of Hubei Provincial Department of Education with grant no. B2018241.


  1. D. H. Wolpert and W. G. Macready, “No free lunch theorems for optimization,” IEEE Transactions on Evolutionary Computation, vol. 1, no. 1, pp. 67–82, 1997. View at: Publisher Site | Google Scholar
  2. S. Mirjalili, “The ant lion optimizer,” Advances in Engineering Software, vol. 83, pp. 80–98, 2015. View at: Publisher Site | Google Scholar
  3. Y. Xin-She, Nature-Inpsired Optimization Algorithms, Elsevier, Amsterdam, Netherlands, 2014.
  4. H. Zang, S. Zhang, and K. Hapeshi, “A review of nature-inspired algorithms,” Journal of Bionic Engineering, vol. 7, no. 4, pp. S232–S237, 2010. View at: Publisher Site | Google Scholar
  5. X. S. Yang, S. F. Chien, and T. O. Ting, “Chapter 1-bio-inspired computation and optimization: an overview,” in Bio-Inspired Computation in Telecommunications, X. S. Yang, S. F. Chien, and T. O. Ting, Eds., Morgan Kaufmann, Boston, MA, USA, 2015. View at: Google Scholar
  6. A. Syberfeldt and S. Lidberg, “Real-world simulation-based manufacturing optimization using cuckoo search, simulation conference (WSC),” in Proceedings of the 2012 Winter Simulation Conference (WSC), pp. 1–12, Berlin, Germany, December 2012. View at: Google Scholar
  7. L. D. S. Coelho and V. C. Mariani, “Improved firefly algorithm approach applied to chiller loading for energy conservation,” Energy and Buildings, vol. 59, pp. 273–278, 2013. View at: Publisher Site | Google Scholar
  8. C. W. Reynolds, “Flocks, herds and schools: a distributed behavioral model,” ACM SIGGRAPH Computer Graphics, vol. 21, no. 4, pp. 25–34, 1987. View at: Publisher Site | Google Scholar
  9. Z. Juan and G. Zheng-Ming, The Bat Algorithm and Its Parameters, Electronics, Communications and Networks IV, CRC Press, Boca Raton, FL, USA, 2015.
  10. J. J. Q. Yu and V. O. K. Li, “A social spider algorithm for global optimization,” Applied Soft Computing, vol. 30, pp. 614–627, 2015. View at: Publisher Site | Google Scholar
  11. R. Azizi, “Empirical study of artificial fish swarm algorithm,” International Journal of Computing, Communications and Networking, vol. 3, no. 1–3, pp. 1–7, 2014. View at: Google Scholar
  12. L. Yan-Xia, L. Lin, and Zhaoyang, “Improved ant colony algorithm for evaluation of graduates’ physical conditions, measuring technology and mechatronics automation (ICMTMA),” in Proceedings of the 2014 Sixth International Conference on Measuring Technology and Mechatronics Automation, pp. 333–336, Zhangjiajie, China, January 2014. View at: Google Scholar
  13. Z. Xiu, Z. Xin, S. L. Ho, and W. N. Fu, “A modification of artificial bee colony algorithm applied to loudspeaker design problem,” IEEE Transactions on Magnetics, vol. 50, no. 2, pp. 737–740, 2014. View at: Publisher Site | Google Scholar
  14. M. K. Marichelvam, T. Prabaharan, and X. S. Yang, “A discrete firefly algorithm for the multi-objective hybrid flowshop scheduling problems,” IEEE Transactions on Evolutionary Computation, vol. 18, no. 2, pp. 301–305, 2014. View at: Publisher Site | Google Scholar
  15. Y. A. N. Chun-man, G. U. O. Bao-long, and W. U. Xian-xiang, “Empirical study of the inertia weight particle swarm optimization with constraint factor,” International Journal of Soft Computing and Software Engineering [JSCSE], vol. 2, no. 2, pp. 1–8, 2012. View at: Google Scholar
  16. Y. Shi and R. C. Eberhart, “Empirical study of particle swarm optimization,” in Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406), pp. 345–357, Washington, DC, USA, July 1999. View at: Google Scholar
  17. S. Yılmaz and E. U. Küçüksille, “A new modification approach on bat algorithm for solving optimization problems,” Applied Soft Computing, vol. 28, pp. 259–275, 2015. View at: Publisher Site | Google Scholar
  18. A. Basak, D. Maity, and S. Das, “A differential invasive weed optimization algorithm for improved global numerical optimization,” Applied Mathematics and Computation, vol. 219, no. 12, pp. 6645–6668, 2013. View at: Publisher Site | Google Scholar
  19. X. Yuan, T. Zhang, Y. Xiang, and X. Dai, “Parallel chaos optimization algorithm with migration and merging operation,” Applied Soft Computing, vol. 35, pp. 591–604, 2015. View at: Publisher Site | Google Scholar
  20. M. Kang, J. Kim, and J. M. Kim, “Reliable fault diagnosis for incipient low-speed bearings using fault feature analysis based on a binary bat algorithm,” Information Sciences, vol. 294, pp. 423–438, 2015. View at: Publisher Site | Google Scholar
  21. Z. Chen, Y. Zhou, and M. Lu, “A simplied adaptive bat algorithm based on frequency,” Journal of Computational Information Systems, vol. 9, pp. 6451–6458, 2013. View at: Google Scholar
  22. J. H. Holland, Adaptation in Natural and Artificial Systems, University of Michigan Press, Ann Arbor, MI, USA, 1975.
  23. N. Metropolis, A. W. Rosenbluth, M. N. Rosenbluth, and A. H. Teller, “Equation of state calculations by fast computing machines,” Journal of Chemical Physics, vol. 21, no. 6, pp. 1087–1092, 1953. View at: Publisher Site | Google Scholar
  24. M. Dorigo and M. Birattari, “Ant colony optimization,” IEEE Computational Intelligence Magazine, vol. 1, no. 4, pp. 28–39, 2006. View at: Publisher Site | Google Scholar
  25. X. S. Yang, “A new metaheuristic bat-inspired algorithm,” in Nature Inspired Cooperative Strategies for Optimization (NICSO 2010), J. González, D. Pelta, C. Cruz et al., Eds., Springer, Berlin, Germany, 2010. View at: Google Scholar
  26. H. Haklı and H. Uğuz, “A novel particle swarm optimization algorithm with Levy flight,” Applied Soft Computing, vol. 23, pp. 333–345, 2014. View at: Publisher Site | Google Scholar
  27. S. Mirjalili, S. M. Mirjalili, and A. Lewis, “Grey wolf optimizer,” Advances in Engineering Software, vol. 69, pp. 46–61, 2014. View at: Publisher Site | Google Scholar
  28. G. M. Komaki and V. Kayvanfar, “Grey wolf optimizer algorithm for the two-stage assembly flow shop scheduling problem with release time,” Journal of Computational Science, vol. 8, pp. 109–120, 2015. View at: Publisher Site | Google Scholar
  29. Y. Sharma and L. C. Saikia, “Automatic generation control of a multi-area ST-thermal power system using grey wolf optimizer algorithm based classical controllers,” International Journal of Electrical Power & Energy Systems, vol. 73, pp. 853–862, 2015. View at: Publisher Site | Google Scholar
  30. B. Mahdad and K. Srairi, “Blackout risk prevention in a smart grid based flexible optimal strategy using grey wolf-pattern search algorithms,” Energy Conversion and Management, vol. 98, pp. 411–429, 2015. View at: Publisher Site | Google Scholar
  31. X. Song, L. Tang, S. Zhao et al., “Grey wolf optimizer for parameter estimation in surface waves,” Soil Dynamics and Earthquake Engineering, vol. 75, pp. 147–157, 2015. View at: Publisher Site | Google Scholar
  32. N. Jayakumar, S. Subramanian, S. Ganesan, and E. B. Elanchezhian, “Grey wolf optimization for combined heat and power dispatch with cogeneration systems,” International Journal of Electrical Power & Energy Systems, vol. 74, pp. 252–264, 2016. View at: Publisher Site | Google Scholar
  33. S. A. Medjahed, T. A. Saadi, A. Benyetto, and M. Ouali, “Gray wolf optimizer for hyperspectral band selection,” Applied Soft Computing, vol. 40, pp. 178–186, 2016. View at: Publisher Site | Google Scholar
  34. E. Emary, H. M. Zawbaa, and A. E. Hassanien, “Binary grey wolf optimization approaches for feature selection,” Neurocomputing, vol. 172, pp. 371–381, 2016. View at: Publisher Site | Google Scholar
  35. D. Guha, P. K. Roy, and S. Banerjee, “Load frequency control of interconnected power system using grey wolf optimization,” Swarm and Evolutionary Computation, vol. 27, pp. 97–115, 2016. View at: Publisher Site | Google Scholar
  36. M. H. Sulaiman, Z. Mustaffa, M. R. Mohamed, and O. Aliman, “Using the gray wolf optimizer for solving optimal reactive power dispatch problem,” Applied Soft Computing, vol. 32, pp. 286–292, 2015. View at: Publisher Site | Google Scholar
  37. S. Mirjalili, S. Saremi, S. M. Mirjalili, and L. D. S. Coelho, “Multi-objective grey wolf optimizer: a novel algorithm for multi-criterion optimization,” Expert Systems with Applications, vol. 47, pp. 106–119, 2016. View at: Publisher Site | Google Scholar
  38. E. Emary, W. Yamany, A. E. Hassanien, and V. Snasel, “Multi-objective gray-wolf optimization for attribute reduction,” Procedia Computer Science, vol. 65, pp. 623–632, 2015. View at: Publisher Site | Google Scholar
  39. S. Saremi, S. Z. Mirjalili, and S. M. Mirjalili, “Evolutionary population dynamics and grey wolf optimizer,” Neural Computing and Applications, vol. 26, no. 5, pp. 1257–1263, 2015. View at: Publisher Site | Google Scholar
  40. R. E. Precup, R. C. David, E. M. Petriu, A. I. Szedlak-Stinean, and C. A. Bojan-Dragos, “Grey wolf optimizer-based approach to the tuning of pi-fuzzy controllers with a reduced process parametric sensitivity,” IFAC-PapersOnLine, vol. 49, no. 5, pp. 55–60, 2016. View at: Publisher Site | Google Scholar
  41. A. Noshadi, J. Shi, W. S. Lee, P. Shi, and A. Kalam, “Optimal PID-type fuzzy logic controller for a multi-input multi-output active magnetic bearing system,” Neural Computing and Applications, vol. 27, no. 7, pp. 2031–2046, 2016. View at: Publisher Site | Google Scholar
  42. P. B. de Moura Oliveira, H. Freire, and E. J. Solteiro Pires, “Grey wolf optimization for PID controller design with prescribed robustness margins,” Soft Computing, vol. 20, no. 11, pp. 4243–4255, 2016. View at: Publisher Site | Google Scholar
  43. S. Khalilpourazari and S. Khalilpourazary, “Optimization of production time in the multi-pass milling process via a Robust Grey Wolf Optimizer,” Neural Computing and Applications, vol. 29, no. 12, pp. 1321–1336, 2018. View at: Publisher Site | Google Scholar
  44. R. El Sehiemy, A. Shaheen, and A. Abou El-Ela, “Multi-objective fuzzy-based procedure for enhancing reactive power management,” IET Generation, Transmission & Distribution, vol. 7, no. 12, pp. 1453–1460, 2013. View at: Publisher Site | Google Scholar
  45. A. H. Gandomi, X.-S. Yang, A. H. Alavi, and S. Talatahari, “Bat algorithm for constrained optimization tasks,” Neural Computing and Applications, vol. 22, no. 6, pp. 1239–1255, 2013. View at: Publisher Site | Google Scholar
  46. M. Jamil and X. S. Yang, “A literature survey of benchmark functions for global optimisation problems,” International Journal of Mathematical Modelling and Numerical Optimisation, vol. 4, no. 2, pp. 150–194, 2013. View at: Publisher Site | Google Scholar
  47. J. Derrac, S. García, D. Molina, and F. Herrera, “A practical tutorial on the use of nonparametric statistical tests as a methodology for comparing evolutionary and swarm intelligence algorithms,” Swarm and Evolutionary Computation, vol. 1, no. 1, pp. 3–18, 2011. View at: Publisher Site | Google Scholar

Copyright © 2019 Zheng-Ming Gao and Juan Zhao. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Related articles

No related content is available yet for this article.
 PDF Download Citation Citation
 Download other formatsMore
 Order printed copiesOrder

Related articles

No related content is available yet for this article.

Article of the Year Award: Outstanding research contributions of 2021, as selected by our Chief Editors. Read the winning articles.