 Research
 Open Access
Modified differential evolution algorithm with onlooker bee operator for mixed discretecontinuous optimization
 Yongfei Miao^{1},
 Qinghua Su^{2}Email author,
 Zhongbo Hu^{2} and
 Xuewen Xia^{3}
 Received: 7 June 2016
 Accepted: 17 October 2016
 Published: 3 November 2016
Abstract
For solving nonlinear programming problems containing discrete and continuous variables, this article suggests two modified algorithms based on differential evolution (DE). The two proposed algorithms incorporate a novel random search strategy into DE/best/1 and DE/curtobest/1 respectively. Inspired by the artificial bee colony algorithm, the random search strategy overcomes the searching unbalance of DE/best/1 and DE/curtobest/1 by enhancing the global exploration capability of promising individuals. Two numerical experiments are given to test the two modified algorithms. Experiment 1 is conducted on the benchmark function set of CEC2005 in order to verify the effectiveness of the improved strategy. Experiment 2 is designed to optimize two mixed discretecontinuous problems to illustrate the competitiveness and the practicality of the proposed algorithms. In particular, the modified DE/curtobest/1 finds the new optima of two engineering optimization problems.
Keywords
 Artificial bee colony algorithm
 Design of coil spring problem
 Differential evolution Algorithm
Background
Among the most commonly used stochastic algorithms, the differential evolution algorithm (DE) Storn and Price (1995) proposed by Storn and Price in 1995 has been identified as one of the most powerful optimizers. DE is the only such algorithm that has secured competitive ranking in all optimization competitions at IEEE International Conferences on Evolutionary Computation (CEC) (Das and Suganthan 2011; Elsayed et al. 2011; LaTorre et al. 2011) since 1996. The competitiveness of DE is also supported by many comparative studies (Civicioglu and Besdok 2013; Wang et al. 2011; Montes and MirandaVarela 2010; Vesterstrom and Thomsen 2004). However, there remains a shortfall in the search balance in the two mutation strategies, i.e., DE/best/1 and DE/curtobest/1, which are good at exploitation and poor at exploration. This often causes stagnation during the solution of complex problems.
Artificial bee colony (ABC), developed by Karaboga (2005), is a novel heuristic algorithm inspired by the foraging behavior of honey bee swarms. In ABC, a food source position represents a possible solution of the optimization problem and the amount of each food source represents its fitness. There is only one bee for each food source. The colony is classified into three groups depending on their duties: employed bees, onlooker bees and scouts. The number of employed and onlooker bees is equal to one half of the population size. Based on the information shared by employed bees, onlooker bees select different food sources at different probabilities and explore their neighborhood. Some numerical comparisons (Civicioglu and Besdok 2013; Karaboga and Basturk 2007, 2008, 2009) have demonstrated that the performance of the ABC algorithm is competitive with other populationbased algorithms, and it has the advantage of employing fewer control parameters.
The evolutionary operators of the DE and ABC are similar and, in some ways, complementary. Some recent studies combining the two algorithms have been proposed to benefit from their advantages and overcome their drawbacks. Yang et al. (2013) proposed a hybrid ABCDE algorithm, in which employed bees use the mutation and crossover strategies of DE to enforce their exploration ability, while onlooker bees keep their original updating strategy to retain the exploitation capability. Gao et al. (2012) proposed a modified ABC algorithm, which is based on the fact that each bee searches only around the best solution of the previous iteration. Gao (2013) gave an accelerated ABC algorithm based on DE for solving the Van der polDuffing oscillator problem. Álvaro et al. (2012) developed a multiobjective ABC/DE algorithm by combining the collective intelligence of the honey bee swarms with the properties of the DE algorithm. Many other successful combinations (Gao and Liu 2011; Li and Yin 2012; Li et al. 2013) of the two algorithms have also demonstrated complementarity of the operators in the searching ability.
In order to enhance the exploration ability of the DE/best/1 and DE/curtobest/1 mutation strategies, the present study proposes two modified DE algorithms with an onlooker bee operator, called mDEOB (i.e., mDEOB/best/1 and mDEOB/curtobest/1). Inspired by ABC, the two mDEOB algorithms run the classical mutation and crossover operators of DE followed by a random search guided by an onlooker bee operator. The random search enhances the ability to explore promising individuals. Two numerical experiments were conducted on the benchmark function set of CEC2005 and a class of engineering design problems. Statistical analyses and comparative analyses were performed on the results of the two experiments.
The rest of this paper is structured as follows: “Classical differential evolution” section briefly introduces the classical DE algorithm; “Modified differential evolution algorithm with onlooker bee operator” section presents and analyzes the proposed mDEOB algorithms; numerical experiments and analyses are then presented in “Numerical experiment” section, followed by conclusions in “Conclusion” section.
Classical differential evolution
DE is often used for dealing with the continuous optimization problem. This paper supposes that the objective function to be minimized is \(f({\vec {x}}),\ {\vec {x}}=(x_{1},\ldots ,x_{D})\in \mathfrak {R}^{D}\), and the feasible solution space is \(\Psi =\prod _{j=1}^{j=D}[L_{j},U_{j}]\). The classical DE (Hu et al. 2008, 2013, 2014, 2016; Su and Hu 2013) works through a simple cycle of operators including mutation, crossover and selection operator after initialization. The classical DE procedures are described in detail as follows.
Initialization
Mutation operator
After initialization, DE creates a donor vector \({\vec {v}}_{i}^{g}\) corresponding to each individual \({\vec {x}}_{i}^{g}\) in the gth generation through the mutation operator. This article is interested in the following two operators:
Crossover operator
Selection operator
Modified differential evolution algorithm with onlooker bee operator
DE/best/1 and DE/curtobest/1 algorithms find the global optimum of simple optimization problems rapidly (e.g., lowdimensional convex optimization problems); however, both algorithms may easily become trapped in the local optima when solving complex multimodal problems, for the reason that exploration and exploitation capabilities are both necessary for a populationbased optimizer. In fact, the exploration and exploitation requirements are mutually contradictory. In order to achieve a good performance, the two capabilities should be well balanced, but the solution search Eqs. (1) and (2), which are used to generate new candidate solutions, are based on the information of the current best solution. Thus the search ability of the algorithms is good at exploitation but poor at exploration.
Algorithmic flowchart
Algorithmic analyses
Figure 2 illustrates how onlooker bees change the search process of the algorithms. Figure 2 shows the population distributions at various stages of DE/best/1 and mDEOB/best/1 when solving the third function of CEC2005.

For the same function evaluations (FEs), i.e., sub_figures (a) versus (d), (b) versus (e), (c) versus (f), the sub_figures (d), (e), (f) associated with mDEOB more diverse than those associated with DE.

In the sub_figures (e) and (f), the candidate solutions are located on both sides of the global optimum, whereas they are located on one side in sub_figures (b) and (c).It is well known that the case where candidate solutions are distributed about the global optimum is more conducive to DE search. Thus, with the help of the onlooker bees, the mDEOB generates better more useful population distributions than DE alone.

In sub_figure (e), many candidate solutions cover the global optimum and the population maintains better diversity; DE/best/1 (shown in sub_figure (c)) fails to do so. The figures illustrate the process by which this population diversity expedites more accurate solutions than is achievable using DE.
Numerical experiment
In order to test mDEOB/best/1 and mDEOB/curtobest/1 and show their performance, two numerical experiments are given in this section. One is conducted on the benchmark function set of CEC2005, the other is a group of applicationoriented numerical examples related to two mixed discretecontinuous optimizations.
Experiment 1: test on CEC2005

Two comparative experiments on the benchmark function set of CEC2005 are conducted for mDEOB/best/1 versus DE/best/1 and mDEOB/curtobest/1 versus DE/curtobest/1.

Sign Tests on the experimental results are used to demonstrate the advantage of mDEOB algorithms.

Convergence figures on the first 14 benchmark functions, which include all functions except for 11 hybrid composition functions, are given to show the difference of convergence speed on the differential algorithms.
Designing experiments

5 unimodal functions f1–f5;

7 basic multimodal functions f6–f12;

2 expanded multimodal functions f13–f14;

11 hybrid composition functions f15–f25.
Experimental results of mDEOB_best/1, DE/best/1 over 25 runs on 25 test functions with 150000 FEs
DE  mDEOB  DE  mDEOB  DE  mDEOB  DE  mDEOB  DE  mDEOB  

f1  f2  f3  f4  f5  
1st  0.00E+00  0.00E+00  0.00E+00  0.00E+00  2.27E−13  0.00E+00  0.00E+00  0.00E+00  4.99E−07  0.00E+00 
7th  0.00E+00  0.00E+00  0.00E+00  0.00E+00  2.22E−12  0.00E+00  0.00E+00  0.00E+00  8.51E−07  0.00E+00 
13th  0.00E+00  0.00E+00  0.00E+00  0.00E+00  4.32E−12  0.00E+00  0.00E+00  0.00E+00  1.21E−06  0.00E+00 
19th  0.00E+00  0.00E+00  0.00E+00  0.00E+00  8.92E−12  0.00E+00  0.00E+00  0.00E+00  2.00E−06  0.00E+00 
25th  0.00E+00  0.00E+00  0.00E+00  0.00E+00  2.00E−11  0.00E+00  0.00E+00  0.00E+00  4.08E−06  5.46E−12 
Mean  0.00E+00  0.00E+00  0.00E+00  0.00E+00  6.21E−12  0.00E+00  0.00E+00  0.00E+E+00  1.57E−06  3.64E−13 
SD  0.00E+00  0.00E+00  0.00E+00  0.00E+00  5.44E−12  0.00E+00  0.00E+00  0.00E+00  9.81E−07  1.26E−12 
Compare  \(\approx\)  \(\approx\)  +  \(\approx\)  +  
f6  f7  f8  f9  f10  
1st  0.00E+00  0.00E+00  3.79E−01  7.40E−03  2.02E+01  2.01E+01  1.40E+01  3.98E+00  2.00E+01  1.99E+00 
7th  0.00E+00  0.00E+00  4.60E−01  5.16E−02  2.05E+01  2.03E+01  1.74E+01  5.97E+00  2.80E+01  6.96E+00 
13th  0.00E+00  0.00E+00  4.93E−01  6.64E−02  2.05E+01  2.04E+01  2.04E+01  7.96E+00  3.03E+01  1.09E+01 
19th  0.00E+00  0.00E+00  5.38E−01  1.21E−01  2.05E+01  2.05E+01  2.57E+01  1.19E+01  3.12E+01  1.79E+01 
25th  0.00E+00  3.99E+00  6.16E−01  2.58E−01  2.07E+01  2.06E+01  2.99E+01  2.09E+01  3.93E+01  2.39E+01 
Mean  0.00E+00  6.38E−01  4.98E−01  8.71E−02  2.05E+01  2.04E+01  2.12E+01  8.99E+00  2.98E+01  1.23E+01 
SD  0.00E+00  1.46E+00  6.02E−02  5.83E−02  9.78E−02  1.26E−01  4.52E+00  4.09E+00  4.11E+00  6.07E+00 
Compare  −  +  +  +  +  
f11  f12  f13  f14  f15  
1st  7.57E+00  8.17E−03  0.00E+00  0.00E+00  1.87E+00  3.37E−01  3.34E+00  1.67E+00  1.54E+02  8.99E+01 
7th  8.79E+00  1.79E+00  0.00E+00  0.00E+00  2.08E+00  6.21E−01  3.57E+00  2.24E+00  2.09E+02  1.46E+02 
13th  8.95E+00  2.75E+00  0.00E+00  0.00E+00  2.36E+00  8.33E−01  3.69E+00  2.50E+00  2.44E+02  1.97E+02 
19th  9.26E+00  3.47E+00  2.27E−13  1.88E+01  2.56E+00  1.02E+00  3.79E+00  3.03E+00  2.64E+02  4.27E+02 
25th  9.93E+00  5.38E+00  1.00E+01  1.69E+03  2.80E+00  1.91E+00  3.96E+00  3.92E+00  4.86E+02  6.03E+02 
Mean  8.91E+00  2.63E+00  8.00E−01  1.54E+02  2.31E+00  8.72E−01  3.68E+00  2.58E+00  2.52E+02  2.71E+02 
SD  5.54E−01  1.29E+00  2.71E+00  4.29E+02  2.84E−01  3.49E−01  1.56E−01  5.10E−01  7.29E+01  1.50E+02 
Compare  +  −  +  +  +  
f16  f17  f18  f19  f20  
1st  1.33E+02  9.81E+01  1.47E+02  9.49E+01  3.00E+02  6.00E+02  8.00E+02  7.90E+02  3.00E+02  7.90E+02 
7th  1.54E+02  1.06E+02  1.67E+02  1.06E+02  8.00E+02  8.00E+02  8.00E+02  8.00E+02  8.00E+02  8.00E+02 
13th  1.62E+02  1.20E+02  1.74E+02  1.14E+02  8.00E+02  9.30E+02  8.00E+02  9.17E+02  8.00E+02  9.17E+02 
19th  1.67E+02  1.34E+02  1.80E+02  1.22E+02  8.00E+02  9.58E+02  8.00E+02  9.47E+02  8.00E+02  9.47E+02 
25th  1.77E+02  1.65E+02  1.98E+02  1.42E+02  8.00E+02  9.99E+02  8.00E+02  1.00E+03  8.00E+02  1.01E+03 
Mean  1.60E+02  1.22E+02  1.73E+02  1.16E+02  7.80E+02  8.93E+02  8.00E+02  8.93E+02  7.80E+02  8.97E+02 
SD  1.05E+01  1.76E+01  1.12E+01  1.33E+01  9.80E+01  9.16E+01  0.00E+00  7.57E+01  9.80E+01  7.43E+01 
Compare  +  +  −  +  −  
f21  f22  f23  f24  f25  
1st  3.00E+02  3.00E+02  3.00E+02  7.25E+02  5.59E+02  5.59E+02  2.00E+02  2.00E+02  2.00E+02  2.00E+02 
7th  5.00E+02  5.00E+02  7.69E+02  7.37E+02  5.59E+02  7.29E+02  2.00E+02  2.00E+02  2.00E+02  2.00E+02 
13th  5.00E+02  9.94E+02  7.71E+02  7.45E+02  5.59E+02  9.71E+02  2.00E+02  2.00E+02  2.00E+02  2.00E+02 
19th  5.00E+02  1.11E+03  7.73E+02  7.64E+02  5.59E+02  1.15E+03  2.00E+02  2.00E+02  2.00E+02  2.00E+02 
25th  5.00E+02  1.18E+03  7.77E+02  8.70E+02  7.21E+02  1.22E+03  2.00E+02  1.25E+03  2.00E+02  1.25E+03 
Mean  4.68E+02  8.27E+02  7.52E+02  7.62E+02  5.85E+02  9.59E+02  2.00E+02  3.14E+02  2.00E+02  3.14E+02 
SD  7.33E+01  3.29E+02  9.23E+01  4.01E+01  5.93E+01  2.26E+02  0.00E+00  2.44E+02  0.00E+00  2.44E+02 
Compare  −  −  −  −  − 
Experimental results of mDEOB/curtobest/1, DE/curbest/1 over 25 runs on 25 test functions with 150,000 FEs
DE  mDEOB  DE  mDEOB  DE  mDEOB  DE  mDEOB  DE  mDEOB  

f1  f2  f3  f4  f5  
1st  0.00E+00  0.00E+00  5.50E−07  0.00E+00  4.89E+02  0.00E+00  2.27E−13  0.00E+00  1.28E+02  0.00E+00 
7th  8.55E−05  0.00E+00  1.74E−02  0.00E+00  1.90E+03  0.00E+00  9.29E−08  0.00E+00  3.53E+02  0.00E+00 
13th  2.28E−03  0.00E+00  6.37E−01  0.00E+00  1.15E+04  0.00E+00  4.12E−05  0.00E+00  9.36E+02  0.00E+00 
19th  2.60E−02  0.00E+00  2.64E+01  0.00E+00  2.98E+04  0.00E+00  1.69E−03  0.00E+00  1.50E+03  0.00E+00 
25th  1.14E+01  0.00E+00  6.33E+02  0.00E+00  1.71E+05  0.00E+00  4.06E−02  0.00E+00  3.65E+03  0.00E+00 
Mean  7.90E−01  0.00E+00  6.52E+01  0.00E+00  2.53E+04  0.00E+00  3.34E−03  0.00E+00  1.14E+03  0.00E+00 
SD  2.54E+00  0.00E+00  1.47E+02  0.00E+00  3.98E+04  0.00E+00  8.70E−03  0.00E+00  8.95E+02  0.00E+00 
Compare  +  +  +  +  +  
f6  f7  f8  f9  f10  
1st  3.99E+00  0.00E+00  1.72E−02  7.40E−03  2.01E+01  2.02E+01  0.00E+00  2.29E−02  3.98E+00  3.02E+00 
7th  8.35E+00  0.00E+00  7.14E−02  2.06E−02  2.02E+01  2.02E+01  3.98E+00  1.03E+00  7.96E+00  7.69E+00 
13th  1.98E+01  0.00E+00  3.13E−01  3.45E−02  2.02E+01  2.03E+01  4.97E+00  2.50E+00  1.19E+01  9.61E+00 
19th  6.73E+01  0.00E+00  3.64E−01  5.66E−02  2.03E+01  2.03E+01  6.17E+00  4.32E+00  1.29E+01  1.28E+01 
25th  5.70E+03  3.99E+00  2.32E+00  3.32E−01  2.04E+01  2.04E+01  1.29E+01  8.25E+00  1.99E+01  2.41E+01 
Mean  2.77E+02  4.78E−01  4.98E−01  5.40E−02  2.02E+01  2.03E+01  5.30E+00  3.24E+00  1.13E+01  1.04E+01 
SD  1.11E+03  1.30E+00  6.13E−01  6.40E−02  7.59E−02  7.74E−02  2.87E+00  2.16E+00  3.85E+00  4.42E+00 
Compare  +  +  −  −  +  
f11  f12  f13  f14  f15  
1st  3.52E−02  3.21E−05  0.00E+00  0.00E+00  2.80E−01  9.20E−01  1.10E+00  1.59E+00  0.00E+00  0.00E+00 
7th  3.71E−01  8.40E−02  1.00E+01  0.00E+00  5.42E−01  1.29E+00  1.76E+00  2.36E+00  7.81E+01  5.21E+01 
13th  1.34E+00  3.44E+00  1.52E+01  0.00E+00  7.12E−01  1.64E+00  2.30E+00  2.56E+00  1.36E+02  7.25E+01 
19th  2.13E+00  6.68E+00  7.12E+02  1.00E+01  7.83E−01  1.81E+00  2.55E+00  2.65E+00  4.25E+02  1.30E+02 
25th  3.11E+00  8.41E+00  2.13E+03  1.56E+03  1.25E+00  2.27E+00  3.08E+00  3.01E+00  6.21E+02  4.10E+02 
Mean  1.31E+00  3.49E+00  4.31E+02  6.65E+01  7.23E−01  1.58E+00  2.14E+00  2.49E+00  2.60E+02  1.17E+02 
SD  9.58E−01  2.88E+00  7.05E+02  3.04E+02  2.41E−01  3.35E−01  5.17E−01  2.90E−01  2.12E+02  1.13E+02 
Compare  +  +  −  −  +  
f16  f17  f18  f19  f20  
1st  9.27E+01  5.97E+01  9.37E+01  1.00E+02  8.00E+02  3.00E+02  8.00E+02  5.01E+02  8.00E+02  3.00E+02 
7th  1.05E+02  9.62E+01  1.02E+02  1.08E+02  8.01E+02  8.00E+02  8.01E+02  8.00E+02  8.01E+02  8.00E+02 
13th  1.14E+02  1.03E+02  1.14E+02  1.23E+02  9.21E+02  8.00E+02  9.21E+02  8.00E+02  9.21E+02  8.00E+02 
19th  1.26E+02  1.14E+02  1.27E+02  1.35E+02  9.76E+02  8.00E+02  9.88E+02  9.06E+02  9.89E+02  8.82E+02 
25th  1.48E+02  1.26E+02  1.64E+02  1.48E+02  1.07E+03  9.37E+02  1.03E+03  9.50E+02  1.03E+03  9.51E+02 
Mean  1.16E+02  1.05E+02  1.15E+02  1.21E+02  9.08E+02  7.45E+02  9.09E+02  8.26E+02  9.05E+02  8.01E+02 
SD  1.41E+01  1.41E+01  1.76E+01  1.45E+01  8.64E+01  1.76E+02  8.94E+01  8.69E+01  8.55E+01  1.28E+02 
Compare  +  −  +  +  +  
f21  f22  f23  f24  f25  
1st  3.00E+02  3.00E+02  3.01E+02  3.00E+02  5.59E+02  5.59E+02  2.00E+02  2.00E+02  2.00E+02  2.00E+02 
7th  8.75E+02  3.00E+02  7.35E+02  7.56E+02  9.71E+02  7.21E+02  2.00E+02  2.00E+02  2.00E+02  2.00E+02 
13th  9.71E+02  3.00E+02  7.55E+02  7.61E+02  1.08E+03  7.21E+02  2.01E+02  2.00E+02  2.01E+02  2.00E+02 
19th  1.13E+03  5.00E+02  8.00E+02  7.64E+02  1.18E+03  9.71E+02  5.41E+02  2.00E+02  5.41E+02  2.00E+02 
25th  1.20E+03  9.00E+02  9.63E+02  8.00E+02  1.26E+03  1.09E+03  1.23E+03  7.00E+02  1.23E+03  7.00E+02 
Mean  9.04E+02  4.34E+02  7.57E+02  7.30E+02  1.03E+03  8.21E+02  4.65E+02  2.44E+02  4.65E+02  2.44E+02 
SD  2.86E+02  1.96E+02  1.09E+02  1.28E+02  1.88E+02  1.75E+02  3.35E+02  1.24E+02  3.35E+02  1.24E+02 
Compare  +  +  +  +  + 
Statistical analysis of experimental results
According to Suganthan et al. (2005), Table 1 reports seven results of 25 independent runs on each function by DE/best/1 and mDEOB/best/1: the minimal error of 25 runs, the 7th error, the 13th error, the 19th error, the maximal error, the average error (mean) and the standard deviation (std.) of 25 runs, in turn. In the “compare” row, simple comparison analyses are given. The priority of the comparison analyses is the best solution, the mean and the standard deviation in turn. Table 2 reports the similar results for DE/curtobest/1 and mDEOB/curtobest/1. From Table 1, we can see that mDEOB/best/1 outperforms the DE/best/1 on the 5 unimodal functions and 9 multimodal functions. Especially, as shown in Table 2, mDEOB/curtobest/1 outperforms the DE/curtobest/1 on all unimodal functions and all hybrid composition functions except for f17. mDEOB/curtobest/1 is superior to DE/curtobest/1 on the 5 functions (i.e., f6, f7, f10, f11 and f12) among the other 9 multimodal functions.
Sign Test Derrac et al. (2011) is a popular statistical method to compare the performances of algorithms. As we all known, the average error (mean) and the best value are two most important factors for the performances of algorithms. So this paper uses Sign Test method to analyze the average errors and the best values, which are shown in Tables 1 and 2. Here the null hypothesis is that the performances of the two algorithms are not significantly differential, while the alternative hypothesis is that the performances are clearly differential. As shown in Table 3, for the results in Table 1, the probability value of supporting the null hypothesis of Sign Test on the average errors equals 1.000, but the probability on the best values is 0.021, which is less than the significance level 0.05. That is to say, we cannot reject the null hypothesis according to the average errors, but we can reject the null hypothesis according to the best values. This indicates that (1) judging by the average errors, the performances of the two algorithms are not significantly differential, but (2) judging by the best values, the performances of the two algorithms are obviously differential. So the overall performance of mDEOB/best/1 algorithm is obviously differential with the other. Combining with the front “compare” rows in Table 1, we can then draw a conclusion that the overall performance of mDEOB/best/1 is better than DE/best/1. For the results in Table 2, the probability values of supporting the null hypothesis of Sign Test on the average errors and on the best values are equal to 0.004 and 0.167 respectively. In the similar way, we may draw a conclusion that mDEOB/curtobest/1 outperforms DE/curtobest/1.
Figure 3 shows the evolution landscapes of the average error of the best function values on 25 running derived from all the four algorithms on all unimodal functions and all basic multimodal functions (i.e., f1–f12). It is not difficult to find the overall superiority of mDEOB algorithms at the convergence speed.
In summary: we can get that onlooker bees strategy has positive effect on the performance of DE/best/1 and DE/curtobest/1.
Experiment 2: mixed discretecontinuous
In order to further illustrate the capabilities of the proposed algorithms, two mixed discretecontinuous optimization problems (i.e., Design of a coil spring and a speed reducer) are optimized here.
Design of a coil spring
Here the above formula includes nine constants: \(F_{\text {max}}=1000.0\), \(S=189{,}000.0\), \(l_{\text {max}}=14.0\), \(d_{\text {min}}=0.2\), \(D_{\text {max}}=3.0\), \(F_{\text {p}}=300.0\), \(\sigma _{\text {pm}}=6.0\), \(\sigma _{\text {w}}=1.25\), \(G=11.5\times 10^6\). \(x_1\) is an integer variable, \(x_2\) is a continuous variable and \(x_3\) may take on only discrete variables according to the available standard of the spring steel wire diameters. The detailed explanation about the coil spring design can be found in reference Sandgren (1990), Lampinen and Zelinka (1999).
Optimal solution for coil spring problem
BranchBound  GA  MetaGA  DE/rand  This article: \(\cdot\) / \(\cdot\) / 1  

Sandgren (1990)  Chen and Tsao (1993)  Wu and Chow (1995)  Lampinen and Zelinka (1999)  DE/best  mDEOB/best  DE/cur_to_best  mDEOB/cur_to_best  
\(x_1\)  10  9  9  9  9  9  9  10 
\(x_2\)  1.180701  1.2287  1.227411  1.223041  1.22304  1.22304  1.22304  1.18104 
\(x_3\)  0.283  0.283  0.283  0.283  0.283  0.283  0.283  0.283 
\(g_1\)  54309  415.969  550.993  1008.8114  1006.92  1006.93  1006.93  5389.66 
\(g_2\)  8.8187  8.9207  8.9624  8.94564  8.94562  8.94562  8.94562  8.64751 
\(g_3\)  0.08298  0.08300  0.08300  0.083000  0.08300  0.08300  0.08300  0.08300 
\(g_4\)  1.8193  1.7713  1.7726  1.77696  1.77696  1.77696  1.77696  1.81896 
\(g_5\)  1.1723  1.3417  1.3371  1.32170  1.32170  1.32170  1.32170  1.17330 
\(g_6\)  5.4643  5.4568  5.4585  5.46429  5.46427  5.46427  5.46427  5.46398 
\(g_7\)  0.0  0.0  0.0  2.68 × 10^{−16}  0.0  0.0  0.0  0.0 
\(g_8\)  0.0  00174  0.0134  5.08 × 10^{−16}  2.34 × 10^{−7}  2.76 × 10^{−9}  9.61 × 10^{−8}  6.71 × 10^{−4} 
f(x)  2.7995  2.6709  2.6681  2.65856  2.65856  2.65856  2.65856  2.65856 
S.A.  –  –  –  95.0%  69.0%  88.0%  90.0%  95.0% 

Firstly, the proposed algorithms, mDEOB/best/1 and mDEOB/cur_to_best/1, can find the minimal objective value obtained in literatures. The best results obtained by other researchers in Table 4 is 2.65856. mDEOB/best/1 and mDEOB/cur_to_best/1 can also find the optimal solution with the average CPU times of 0.02578s and 0.02322s in 100 independent runs.

Secondly, mDEOB/cur_to_best/1 finds another optimal solution. The find provides another designing strategy of the coil spring. From Table 4, the optimal solution reported by Lampinen et.al. is (9, 1.223041, 0.238) of \((x_1, x_2, x_3)\). DE/best, mDEOB/best/1 and DE/cur_to_best/1 algorithms find the same optimal solution, while mDEOB/cur_to_best/1 finds another optimal solution, (10, 1.18104, 0.283).

Thirdly, the percentage of successfully achieving the optimal value in multiple runs demonstrates that the modified strategy of mDEOB is effective. The last row of Table 4 reports the percentage in 100 runs of successfully achieving the optimal value. The percentages of DE/best and DE/cur_to_best/1 are 69.0, 90.0% respectively, while those of the proposed mDEOB/best/1 and mDEOB/cur_to_best/1 are 88.0, 95.0%. This indicates that the robustness of mDEOB/best/1 and mDEOB/cur_to_best/1 algorithms are better than the corresponding DE algorithms. This improvement of algorithmic robustness could be only due to employing the onlooker bee operator.
Design of a speed reducer
Optimal solution for speed reducer design
DELC  DEDS  HEAA  MDE  PSODE  MBA  mDEOB/cur_to_best  

\(x_1\)  3.500000  3.500000  3.500022  3.500010  3.500000  3.500000  3.499998 
\(x_2\)  0.700000  0.700000  0.70000039  0.70000  0.700000  0.700000  0.700000 
\(x_3\)  17  17  17.000012  17  17.00000  17.00000  17.00000 
\(x_4\)  7.300000  7.300000  7.300427  7.300156  7.300000  7.300033  7.300003 
\(x_5\)  7.715319  7.715319  7.715377  7.80027  7.800000  7.715772  7.715313 
\(x_6\)  3.35024  3.35024  3.350230  3.350221  3.350214  3.350218  3.350214 
\(x_7\)  5.286654  5.286654  5.286663  5.286685  5.2866832  5.286654  5.286654 
f(x)  2994.471066  2994.471066  2994.499107  2996.356689  2996.348167  2994.482453  2994.468551 
In the constraint handling strategy and the handling method of integer variable \(x_3\), the proposed mDEOB/cur_to_best algorithm respectively employs the softconstraint (penalty) approach and the INT() function in reference Lampinen and Zelinka (1999) . The algorithmic parameters are set as follows, \(D=7\), \(N=50\), \(F=0.9\) and \(CR=0.8\). 100 independent runs are conducted with 2500 times iterations as the termination criterion.
In summary: The improved algorithms, especially mDEOB/cur_to_best algorithm, have strong competitiveness on this kind of complex constrained optimization problems.
All the above algorithms were implemented in Visual C++ and the experiments were conducted on a computer with a Intel(R) Xeon(R) CPU E31230 v3 @ 3.30GHz and 8GB RAM.
Conclusion
Two new algorithms, mDEOB/best/1 and mDEOB/curtobest/1, are proposed to deal with the imbalance between exploration and exploitation capabilities of the DE/best/1 and DE/curtobest/1 algorithms. Inspired by the ABC algorithm, these offer improved exploration abilities by employing a random search guided by onlooker bees. Numerical experiments were conducted to test the two proposed algorithm on CEC2005 benchmark functions and two engineering optimization problems. The results on the CEC2005 benchmark functions indicated the effectiveness of the improved strategy. Comparison with other algorithms for the engineering optimization problems showed the competitiveness of the proposed algorithms. In particular, the mDEDE/curtobest/1 algorithm found the new optima in both problems.
Declarations
Authors' contributions
All authors conceived the study, participated in its design and coordination. In addition, YM did much work for the later revision of this paper. QS drafted the manuscript. ZH performed the majority of the experimental work. XX carried out the manuscript editing. All authors read and approved the final manuscript.
Acknowledgements
This work was supported in part by the Key Project of Hubei Provincial Department of Education (D20161306).
Competing interests
The authors declare that they have no competing interests.
Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
Authors’ Affiliations
References
 Álvaro R et al (2012) MOABCIDEmultiobjective artificial bee colony with differential evolution for unconstrained multiobjective optimization. In: Proceedings of IEEE international syrnposiurn on cornputational intelligence and inforrnatics, (CINTI2012), pp 157–162Google Scholar
 Chen JL, Tsao YC (1993) Optimal design of machine elements using genetic algorithms. J Chin Soc Mech Eng 14(2):193–199Google Scholar
 Civicioglu P, Besdok E (2013) A conceptual comparison of the Cuckoosearch, particle swarm optimization, differential evolution and artificial bee colony algorithms. Artif Intell Rev 39:315–346View ArticleGoogle Scholar
 Das S, Suganthan P (2011) Differential evolution: a survey of the stateoftheart. IEEE Trans Evol Comput 1:4–31View ArticleGoogle Scholar
 Derrac J, García S, Molina D, Herrera F (2011) Practical tutorial on the use of nonparametric statistical tests as amethodology for comparing evolutionary and swarm intelligence algorithms. Swarm Evol Comput 1:3–8View ArticleGoogle Scholar
 Elsayed SM, Sarker RA, Essam DL (2011) Differential evolution with multiple strategies for solving CEC2011 realworld numerical optimization problems. In: IEEE congress on evolutionary computation (CEC2011), pp 1041–1048Google Scholar
 Gao W, Liu S, Huang L (2012) A global best artificial bee colony algorithm for global optimization. J Comput Appl Math 236(11):2741–2753MathSciNetView ArticleMATHGoogle Scholar
 Gao F et al (2013) Parameter identification for Van Der Pol–Duffing oscillator by a novel artificial bee colony algorithm with differential evolution operators. Appl Math Comput 222:132–144MathSciNetMATHGoogle Scholar
 Gao W, Liu S (2011) Improved artificial bee colony algorithm for global optimization. Inf Process Lett 111:871–882MathSciNetView ArticleMATHGoogle Scholar
 Hu Z, Xiong S, Su Q, Fang Z (2014) Finite Markov chain analysis of classical differential evolution algorithm. J Comput Appl Math 268:121–134MathSciNetView ArticleMATHGoogle Scholar
 Hu Z, Su Q, Yang X et al (2016) Not guaranteeing convergence of differential evolution on a class of multimodal functions. Appl Soft Comput 41:479–487View ArticleGoogle Scholar
 Hu Z, Su Q, Xiong S, Hu F (2008) Selfadaptive hybrid differential evolution with simulated annealing algorithm for numerical optimization. In: IEEE world congress computational intelligence, pp 1189–1194Google Scholar
 Hu Z, Xiong S, Su Q, Zhang X (2013) Sufficient conditions for global convergence of differential evolution algorithm. J Appl Math 2013:193196. doi:10.1155/2013/193196 MathSciNetGoogle Scholar
 Karaboga D (2005) An idea based on honey bee swarm for numerical optimization. Erciyes University, Technical ReportTR06. Kayseri, TurkeyGoogle Scholar
 Karaboga D, Basturk B (2007) A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm. J Glob Optim 39:459–471MathSciNetView ArticleMATHGoogle Scholar
 Karaboga D, Basturk B (2008) On the performance of artificial bee colony (ABC) algorithm. Appl Soft Comput 8:687–697View ArticleGoogle Scholar
 Karaboga D, Basturk B (2009) A comparative study of artificial bee colony algorithm. Appl Math Comput 214:108–132MathSciNetMATHGoogle Scholar
 Lampinen J, Zelinka I (1999) Mixed integerdiscretecontinuous optimization by differential evolution. In: Proceedings of 5th international Mendel conference on soft computing, (MENDEL1999), pp 77–81Google Scholar
 LaTorre A, Muelas S, Peña JM (2011) Benchmarking a hybrid DERHC algorithm on real world problems. In: IEEE congress on evolutionary computation (CEC2011), pp 1027–1033Google Scholar
 Li Y, Wang Y, Li B (2013) A hybrid artificial bee colony assisted differential evolution algorithm for optimal reactive power flow. Electr Power Energy Syst 52:25–33View ArticleGoogle Scholar
 Li X, Yin M (2012) Hybrid differential evolution with artificial bee colony and its application for design of a reconfigurable antenna array with discrete phase shifters. IET Microw Antennas Propag 6(14):1573–1582MathSciNetView ArticleGoogle Scholar
 Montes EM, MirandaVarela ME, del Carmen GmezRamm R (2010) Differential evolutoin in constrained numerical optimization: an empirical study. Inf Sci 180:4223–4262View ArticleGoogle Scholar
 Sadollah A, Bahreininejad A, Eskandar H et al (2013) Mine blast algorithm: a new population based algorithm for solving engineering optimization problems. Appl Soft Comput 13:2592–2612View ArticleGoogle Scholar
 Sandgren E (1990) Nonlinear integer and discrete programming in mechanical design optimization. J Mech Des Trans ASME 112(2):223–229View ArticleGoogle Scholar
 Shen H, Zhu Y, Niu B et al (2009) An improved group search optimizer for mechanical design optimization problems. Prog Nat Sci 19(1):91–97View ArticleGoogle Scholar
 Storn R, Price K (1995) Differential evolution: a simple and efficient adaptive scheme for global optimization over continuous Spaces. Technical report, International Computer Science InstituteGoogle Scholar
 Suganthan PN, Hansen N, Liang JJ, Deb K, Chen YP, Auger A, Tiwari S (2005) Problem definition and evaluation criteria for the CEC 2005 special session on realparameter optimization. Nanyang Technology University Singapore, Technical Report, May 2005Google Scholar
 Su Q, Hu Z (2013) Color image quantization algorithm based on selfadaptive differential evolution. Comput Intell Neurosci 2013:231916. doi:10.1155/2013/231916 View ArticlePubMedPubMed CentralGoogle Scholar
 Vesterstrom J, Thomsen R (2004) A comparative study of differential evolution, particle swarm optimization and evolutionary algorithm on numerical benchmark problems. Congr Evol Comput 2:1980–1987Google Scholar
 Wang Y, Cai Z, Zhang Q (2011) Differetial evolution with composite trial vector generation strategies and control parameters. IEEE Trans Evol Comput 1:55–66View ArticleGoogle Scholar
 Wu S, Chow P (1995) Genetic algorithms for nonlinear mixed discreteinteger optimization problems via metagenetic parameter optimization. Eng Optim 24(2):137–159MathSciNetView ArticleGoogle Scholar
 Yang J, Li W, Shi X, Xin L, Yu J (2013) A hybrid ABCDE algorithm and its application for timemodulated arrays pattern synthesis. IEEE Trans Antennas Propag 11:5485–5495ADSView ArticleGoogle Scholar