Skip to main content

A hybrid cuckoo search algorithm with Nelder Mead method for solving global optimization problems

Abstract

Cuckoo search algorithm is a promising metaheuristic population based method. It has been applied to solve many real life problems. In this paper, we propose a new cuckoo search algorithm by combining the cuckoo search algorithm with the Nelder–Mead method in order to solve the integer and minimax optimization problems. We call the proposed algorithm by hybrid cuckoo search and Nelder–Mead method (HCSNM). HCSNM starts the search by applying the standard cuckoo search for number of iterations then the best obtained solution is passing to the Nelder–Mead algorithm as an intensification process in order to accelerate the search and overcome the slow convergence of the standard cuckoo search algorithm. The proposed algorithm is balancing between the global exploration of the Cuckoo search algorithm and the deep exploitation of the Nelder–Mead method. We test HCSNM algorithm on seven integer programming problems and ten minimax problems and compare against eight algorithms for solving integer programming problems and seven algorithms for solving minimax problems. The experiments results show the efficiency of the proposed algorithm and its ability to solve integer and minimax optimization problems in reasonable time.

Background

Cuckoo search (CS) is a population based meta-heuristic algorithm that was developed by Yang et al. (2007). CS (Garg 2015a, d) and other meta-heuristic algorithms such as ant colony optimization (ACO) (Dorigo 1992), artificial bee colony (Garg et al. 2013; Garg 2014; Karaboga and Basturk 2007), particle swarm optimization (PSO) (Garg and Sharma 2013; Kennedy and Eberhart 1995), bacterial foraging (Passino 2002), bat algorithm (Yang 2010a), bee colony optimization (BCO) (Teodorovic and DellOrco 2005), wolf search (Tang et al. 2012), cat swarm (Chu et al. 2006), firefly algorithm (Yang 2010b), fish swarm/school (Li et al. 2002), genetic algorithm (GA) (Garg 2015a), etc., have been applied to solve global optimization problems. These algorithms have been widely used to solve unconstrained and constrained problems and their applications. However, few works have been applied to solve minimax and integer programming problems via these algorithms.

A wide variety of real life problems in logistics, economics, social science, politics, game theory, and engineering can be formulated as integer optimization and minimax problems. The combinatorial problems, like the knapsack-capital budgeting problem, warehouse location problem, traveling salesman problem, decreasing costs and machinery selection problem, network and graph problems, such as maximum flow problems, set covering problems, matching problems, weighted matching problems, spanning trees problems, very large scale integration (LSI) circuits design problems, robot path planning problems, and many scheduling problems can also be solved as integer optimization and minimax problems (see, e.g., Chen et al. 2010; Du and Pardalos 2013; Hoffman and Padberg 1993; Little et al. 1963; Mitra 1973; Nemhauser et al. 1989; Zuhe et al. 1990).

Branch and bound (BB) is one of the most famous exact integer programming algorithm. However, BB suffers from high complexity, since it explores a hundred of nodes in a big tree structure when it solves a large scale problems. Recently, there are some efforts to apply some of swarm intelligence algorithms to solve integer programming problems such as ant colony algorithm (Jovanovic and Tuba 2011, 2013), artificial bee colony algorithm (Bacanin and Tuba 2012; Tuba et al. 2012), particle swarm optimization algorithm (Petalas et al. 2007), cuckoo search algorithm (Tuba et al. 2011) and firefly algorithm (Brown et al. 2007).

The minimax problem, as well as all other problems containing max (or min) operators, is considered to be difficult because max function is not differentiable. So many unconstrained optimization algorithms with the use of derivatives can not be applied to solve the non-differentiable unconstrained optimization problem directly.

There are several different approaches that have been taken to solve minimax problem. Many researchers have derived algorithms for the solution to minimax problem by solving an equivalent differentiable program with many constraints (see, e.g., Liuzzi et al. 2006; Polak 2012; Polak et al. 2003; Yang 2010b and the references therein), which may not be efficient in computing.

Some swarm intelligence (SI) algorithms have been applied to solve minimax problems such as PSO (Petalas et al. 2007). The main drawback of applying swarm intelligence algorithms for solving minimax and integer programming problems is the slow convergence and the expensive computation time for these algorithms.

Recent studies illustrate that CS is potentially far more efficient than PSO, GAs, and other algorithms. For example, in Yang et al. (2007), the authors showed that CS algorithm could outperform is very promising the existing algorithms such as GA and PSO. Also, CS algorithm has shown good performance both on benchmark unconstrained functions and applications (Gandomi et al. 2013; Yang and Deb 2013). Also, the authors in Singh and Abhay Singh (2014) compared latest metaheuristic algorithms such as Krill Herd algorithm (Gandomi and Alavi 2012), firefly algorithm and CS algorithm and found that CS algorithm is superior for both unimodal and multimodal test function in terms of optimization fitness and time processing.

Moreover, the CS algorithm has a few number of parameters and easy to implement which is not found on other meta-heuristics algorithms such as GA and PSO. Due to these advantage of the CS algorithm, many researchers have applied it on their work for various applications such as Garg et al. (2014), Garg (2015b, c, d). The CS algorithm is combined with other methods such as Nelder–Mead method to solve various problems (Chang et al. 2015; Jovanovic et al. 2014).

The aim of this work is to propose a new hybrid cuckoo search algorithm with a Nelder–Mead method in order to overcome the slow convergence of the standard cuckoo search. The Nelder–Mead method accelerates the search of the proposed algorithm and increases the convergence of the proposed algorithm. The proposed algorithm is called hybrid cuckoo search with Nelder–Mead (HCSNM). In HCSNM algorithm, we combine the cuckoo search with a Nelder Mead method in order to accelerate the search and avoid running the algorithm with more iterations without any improvements.

The main difference between our proposed algorithm and the other hybrid Cuckoo search and Nelder–Mead algorithms is the way of applying the Nelder–Mead method. The authors in Chang et al. (2015), Jovanovic et al. (2014) have invoked the Nelder–Mead method in the cuckoo search algorithm instead of the levy Flight operator. The drawback of this idea is the computation time because the calling for NM method at each iteration in the Cuckoo search algorithm. However in our proposed algorithm we run the standard CS algorithm for some iterations then we pass the best found solution to the Nelder–Mead method to start from good Solution which help the NM method to get the global minimum of the functions in reasonable time.

Also, we test the HCSNM algorithm on seven integer programming and ten minimax benchmark problems. The experimental results show that the proposed HCSNM is a promising algorithm and can obtain the optimal or near optimal solution for most of the tested function in reasonable time.

The outline of the paper is as follows. “Definition of the problems and an overview of the applied algorithms” section presents the definitions of the integer programming and the minimax problems and gives an overview of the Nelder–Mead method. “Overview of cuckoo search algorithm” section summarizes the main concepts of cuckoo search algorithm (CS). “The proposed HCSNM algorithm” section describes the main structure of the proposed HCSNM algorithm. “Numerical experiments” section gives the experimental results and details of implementation in solving integer programming and minimax problems. Finally, we end with some conclusions and future work in “Conclusion and future work” section.

Definition of the problems and an overview of the applied algorithms

In this section, we present the definitions of the integer programming and the minimax problems as follows.

The integer programming problem definition

An integer programming problem is a mathematical optimization problem in which all of the variables are restricted to be integers. The unconstrained integer programming problem can be defined as follows.

$$min f(x),\quad x \in S \subseteq {\mathbb{Z}}^n,$$
(1)

where \({\mathbb{Z}}\) is the set of integer variables, S is a not necessarily bounded set.

Minimax problem definition

The general form of the minimax problem as reported in Yang (2010b) is defined by:

$$\text {min}\;F(x)$$
(2)

where

$$F(x)= \text {max}\;f_i(x), \quad i=1,\ldots ,m$$
(3)

with \(f_i(x):S\subset {\mathbb{R}}^n\rightarrow {\mathbb{R}}\), \(i=1,\ldots ,m\).

The nonlinear programming problems of the form:

$$\begin{aligned}&\text {min}\;F(x),\nonumber \\&g_i(x)\ge 0,\quad \;\;i=2,\ldots ,m,\nonumber \end{aligned}$$

can be transformed to minimax problems as follows:

$$\text {min}\;\text {max}\;f_i(x), \quad i=1,\ldots ,m$$
(4)

where

$$\begin{aligned}&f_1(x)=F(x), \\&f_i(x)=F(x)-\alpha _i g_i(x),\\&\alpha _i>0,\quad i=2,\ldots ,m \end{aligned}$$
(5)

It has been proved that for sufficiently large \(\alpha _i\), the optimum point of the minimax problem, coincides with the optimum point of the nonlinear programming problem (Bandler and Charalambous 1974).

Nelder Mead method

The Nelder–Mead algorithm (NM) is one of the most popular derivative-free nonlinear optimization algorithms. Nelder and Mead (1965) proposed NM algorithm. It starts with \(n+1\) vertices (points) \(x_1,x_2,\ldots ,x_{n+1}\). The vertices are evaluated, ordered and re-labeled in order to assign the best point and the worst point. In minimization optimization problems, the \(x_1\) is considered as the best vertex or point if it has the minimum value of the objective function, while the worst point \(x_{n+1}\) with the maximum value of the objective function. At each iteration, new points are computed, along with their function values, to form a new simplex. Four scalar parameters must be specified to define a complete NM algorithm: coefficients of reflection \(\rho\), expansion \(\chi\), contraction \(\tau\), and shrinkage \(\phi\) where \(\rho > 0\), \(\chi > 1\), \(0< \tau < 1\), and \(0< \phi < 1\). The main steps of the NM algorithm are presented as shown below in Algorithm 1. The vertices are ordered according to their fitness functions. The reflection process starts by computing the reflected point \(x_r = {\bar{x}}+ \rho ({\bar{x}}- x_{(n+1)})\), where \({\bar{x}}\) is the average of all points except the worst. If the reflected point \(x_r\) is lower than the nth point \(f(x_{n})\) and greater than the best point \(f(x_1)\), then the reflected point is accepted and the iteration is terminated. If the reflected point is better than the best point, then the algorithm starts the expansion process by calculating the expanded point \(x_e = {\bar{x}} + \chi (x_r - {\bar{x}})\). If \(x_e\) is better than the reflected point nth, the expanded point is accepted. Otherwise the reflected point is accepted and the iteration will be terminated. If the reflected point \(x_r\) is greater than the nth point \(x_n\) the algorithm starts a contraction process by applying an outside \(x_{oc}\) or inside contraction \(x_{ic}\) depending on the comparison between the values of the reflected point \(x_r\) and the nth point \(x_n\). If the contracted point \(x_{oc}\) or \(x_{ic}\) is greater than the reflected point \(x_r\), the shrink process is starting. In the shrink process, the points are evaluated and the new vertices of simplex at the next iteration will be \(x^{\prime }_2,\ldots ,x^{\prime }_{n+1}\), where \(x^{\prime} = x_1 + \phi (x_i - x_1) , i = 2,\ldots , n + 1\).

Overview of cuckoo search algorithm

In the following subsection, we summarize the main concepts and structure of the cuckoo search algorithm.

Main concepts

Cuckoo search algorithm is a population based metaheuristic algorithm inspired from the reproduction strategy of the cuckoo birds (Yang and Deb 2009). The cuckoo birds lay their eggs in a communal nests and they may remove other eggs to increase the probability of hatching their own eggs (Payne and Karen Klitz 2005). This method of laying the eggs in other nests is called obligate brood parasitism. Some host birds can discover the eggs are not their own and throw these eggs away or abandon their nest and build a new nest in a new place. Some kind of cuckoo birds can mimic the color and the pattern of the eggs of a few host bird in order to reduce the probability of discovering the intruding eggs. Since the cuckoo eggs are hatching earlier than the host bird eggs, the cuckoos laid their eggs in a nest where the host bird just laid its own eggs. Once the eggs are hatching, the cuckoo chick’s starts to propel the host eggs out the of the nest in order to increase its share of food provided by its host bird.

L\(\acute{e}\)vy flights

Recent studies show that the behavior of many animals when searching for foods have the typical characteristics of L\(\acute{e}\)vy Flights, see, e.g., Brown et al. (2007), Pavlyukevich (2007) and Reynolds and Frye (2007). L\(\acute{e}\)vy flight (Brown et al. 2007) is a random walk in which the step-lengths are distributed according to a heavy-tailed probability distribution. After a large number of steps, the distance from the origin of the random walk tends to a stable distribution.

figure a

Cuckoo search characteristic

The cuckoo search algorithm is based on the following three rules:

  • At a time, cuckoo randomly chooses a nest to lay an egg.

  • The best nests with high quality of eggs (solutions) will carry over to the next generations.

  • The number of available host nests is fixed. The probability of discovering an intruding egg by the host bird is \(p_a \in [0,1]\). If the host bird discovers the intruding egg, it throws the intruding egg away the nest or abandons the nest and starts to build a new nest elsewhere.

Cuckoo search algorithm

We present in details the main steps of the Cuckoo search algorithm as shown in Algorithm 2.

figure b
  • Step 1 The standard cuckoo search algorithm starts with the initial values of population size n, probability \(p_a \in [0,1]\), maximum number of iterations \(Max_{itr}\) and the initial iteration counter t (Lines 1–2).

  • Step 2 The initial population n is randomly generated and each solution \(x_i\) in the population is evaluated by calculating its fitness function \(f(x_i)\) (Lines 3–6).

  • Step 3 The following steps are repeated until the termination criterion is satisfied.

    • Step 3.1 A new solution is randomly generated using a L\({\acute{e}}\)vy flight as follows.

      $$x_i^{t+1}=x_i^{t}+\alpha \oplus L\acute{e}vy(\lambda ),$$
      (6)

      where \(\oplus\) denotes entry-wise multiplication, \(\alpha\) is the step size, and L\({\acute{e}}\)vy \((\lambda )\) is the L\({\acute{e}}\)vy distribution (Lines 8–9).

    • Step 3.2 If its objective function is better than the objective function of the selected random solution, then the new solution is replaced with a random selected solution (Lines 10–13).

    • Step 3.3 A fraction \((1-p_a)\) of the solutions is randomly selected, abandoned and replaced by new solutions generated via using local random walks as follows.

      $$x_i^{t+1}=x_i^{t}+\gamma \left( x_j^t-x_k^t\right) ,$$
      (7)

      where \(x_j^t\) and \(x_k^t\) are two different solutions randomly selected and \(\gamma\) is a random number (Lines 14–15).

    • Step 3.4 The solutions are ranked according to their objective values, then the best solution is assigned. The iteration counter increases (Lines 16–18).

    • Step 4 The operation is repeated until the termination criteria are satisfied (Line 19).

  • Step 6 Produce the best found solution so far (Line 20).

The proposed HCSNM algorithm

The steps of the proposed HCSNM algorithm are the same steps of the standard CS algorithm till line 19 in Algorithm 2 then we apply the NM method in Algorithm 1 as an intensification process in order to refine the best obtained solution from the previous stage in the standard CS algorithm.

Numerical experiments

In order to investigate the efficiency of the HCSNM, we present the general performance of it with different benchmark functions and compare the results of the proposed algorithm against variant of particle swarm optimization algorithms. We program HCSNM via MATLAB and take the results of the comparative algorithms from their original papers. In the following subsections, we report the parameter setting of the proposed algorithm with more details and the properties of the applied test functions. Also we present the performance analysis of the proposed algorithm with the comparative results between it and the other algorithms.

Parameter setting

In Table 1, we summarize the parameters of the HCSNM algorithm with their assigned values.

Parameter values are selected either based on the common settings in the literature or determined through our preliminary numerical experiments.

  • Population size n The experimental tests show that the best population size is \(n=20\), we applied the proposed algorithm with different population size in order to test the efficiency of the selected population size number. Figure 1 shows that the best population size is \(n = 20,\) while increasing this number to \(n = 25\) will increase the function evaluation without a big improvement in the function values.

  • A fraction of worse nests \(p_a\) In order to increase the diversification ability of the proposed algorithm, the worst solutions are discarded and the new solutions are randomly generated to replace the worst solutions. The number of the discarded solutions depends on the value of a fraction of worse nests \(p_a\). The common \(p_a\) value is 0.25.

  • Maximum number of iterations \(Max_{itr}\) The main termination criterion in standard cuckoo search algorithm is the number of iterations. In the proposed algorithm, we run the standard CS algorithm 3d iterations, then the best found solution is passed to the NM method. The effect of the maximum number of iteration is shown in Table 2. Table 2 shows that function values of six random selected functions (three integer functions and three minmax function). The results in Table 2 shows that there is no big different in the function value after applying 3d and 4d iterations which indicates that the number of iteration 3d is the best selection in term of function evaluation

  • Number of best solution for NM method \(N_{elite}\) In the final stage of the algorithm, the best obtained solution from the cuckoo search is refined by the NM method. The number of the refined solutions \(N_{elite}\) is set to 1.

Table 1 Parameter setting
Table 2 The effect of maximum number of iteration before applying Nelder–Mead method
Fig. 1
figure 1

The effects of the number of population size

Integer programming optimization test problems

We test do the efficiency of the HCSNM algorithm by applying the algorithm on seven benchmark integer programming problems (\(FI_1-FI_7\)) as shown in Table 3. In Table 4, we list the properties of the benchmark functions (function number, dimension of the problem, problem bound and the global optimal of each problem). Now we define the test functions as follows. The solutions are rounded to the nearest integer for function evaluation purposes and they are consider as real numbers for all other operations.

Table 3 Integer programming optimization testproblems
Table 4 The properties of the Integer programming test functions

The efficiency of the proposed HCSNM algorithm with integer programming problems

In this subsection, we verify the importance of invoking the NM method in the final stage as a final intensification process. In Table 5, the results show the mean evaluation function values of the standard cuckoo search, the NM method and the proposed HCSNM algorithm, respectively. We apply the same termination criterion for all algorithms, which terminates the search when all algorithms reach to the optimal solution within an error of \(10^{-4}\) before the 20,000 function evaluation value. We report the average function evaluation over 50 runs and give the best results in italicised text. The initial solution in the NM method is randomly generated. In Table 5, the results show that invoking the NM method in the final stage enhances the general performance of the proposed algorithm and can accelerate the search to reach to the optimal solution or near optimal solution.

Table 5 The efficiency of invoking the Nelder–Mead method in the final stage of SSSO algorithm for \(FI_1 - FI_{7}\) integer programming problems

The general performance of the HCSNM algorithm with integer programming problems

We apply the second experimental test to investigate the general performance of the proposed algorithm on the integer programming problems by plotting the values of function values versus the number of iterations as shown in Fig. 2 for four functions \(FI_1, FI_2, FI_3\) and \(FI_5\) (randomly picked). The solid line represents the standard cuckoo search algorithm, while the dotted line represents the performance of the NM method after applying he NM on the best obtained solution from the standard cuckoo search. We can conclude from Fig. 2 that invoking the NM method as an intensification process in the final stage of the proposed algorithm can accelerate the search and obtain the optimal or near optimal solution in reasonable time.

Fig. 2
figure 2

The general performance of the proposed HCSNM algorithm with integer problems

HCSNM and other algorithms

We compare HCSNM with four benchmark algorithms (particle swarm optimization with its variants) in order to verify of the efficiency of the proposed algorithm. Before we give the comparison results of all algorithms, let us describe the comparative four algorithms (Petalas et al. 2007).

  • RWMPSOg RWMPSOg is random walk memetic particle swarm optimization (with global variant), which combines the particle swarm optimization with random walk (as direction exploitation).

  • RWMPSOl RWMPSOl is random walk memetic particle swarm optimization (with local variant), which combines the particle swarm optimization with random walk (as direction exploitation).

  • PSOg PSOg is standard particle swarm optimization with global variant without local search method.

  • PSOl PSOl is standard particle swarm optimization with local variant without local search method.

Comparison between RWMPSOg, RWMPSOl, PSOg, PSOl and HCSNM for integer programming problems

In this subsection, we give the comparison results between our HCSNM algorithm and the other algorithms in order to verify of the efficiency of our proposed algorithm. We test the five comparative algorithms on seven benchmark functions and report the results. We take the results of the comparative algorithms from their original paper (Petalas et al. 2007). In Table 6, we report the minimum (min), maximum (max), average (mean), standard deviation (SD) and success rate (%Suc) of the evaluation function values over 50 runs. The run is considered successful if the algorithm reaches to the global minimum of the solution within an error of \(10^{-4}\) before the 20,000 function evaluation value. We report the best results between the comparative algorithms in italicised text. The results in Table 6 shows that the proposed HCSNM algorithm succeeds in six of seven function, where function \(FI_6\) is little bit better than the proposed algorithm, however the rate of success of the proposed algorithm is 100 % for all functions.

Table 6 Experimental results (min, max, mean, standard deviation and rate of success) of function evaluation for \(FI_1 - FI_{7}\) test problems

HCSNM and other meta-heuristics and swarm intelligence algorithms for integer programming problems

We test the HCSNM algorithm with different meta-heuristics algorithms such as GA (Holland 1975), PSO (Kennedy and Eberhart 1995), firefly (FF) algorithm (Yang 2010b) and grey wolf optimizer (GWO) (Mirjalili et al. 2014). In order to make a fair comparison we set the population size = 20 for all algorithms and the termination criteria for all algorithm are the same which are the algorithm reaches to the global minimum of the solution within an error of \(10^{-4}\) before the 20,000 function evaluation value. We applied the standard parameter setting for all compared meta-heuristics algorithms. In Table 7, we report the average (Avg) and SD of all algorithms over 50 runs.

Table 7 HCSNM and other meta-heuristics algorithms for \(FI_1 - FI_{7}\) integer programming problems

HCSNM and the branch and bound method

We apply further investigation to verify of the powerful of the proposed algorithm with the integer programming problems, by comparing the HCSNM algorithm against the branch and bound (BB) method (Borchers and Mitchell 1991, 1994; Lawler and Wood 1966; Manquinho et al. 1997).

Comparison between the BB method and HCSNM for integer programming problems

In Table 8, we show the comparison results between the BB method and the proposed HCSNM. We take the results of the BB method from its original paper (Laskari et al. 2002). In Laskari et al. (2002), the BB algorithm transforms the initial integer problem programming problem to a continuous one. For the bounding, the BB uses the sequential quadratic programming method to solve the generated sub problems. While for branching, BB uses depth first traversal with backtracking. We report the average (Mean), SD and rate of success (Suc) over 30 runs. We report the best mean evaluation values between the two algorithms in italicised text. The results in Table 8 shows that the proposed algorithm results are better than the results of the BB method in six of seven tested functions, while the rate of success is 100 % for all function in the proposed algorithm. The overall results in Table 8 shows that the proposed algorithm is faster and more efficient than the BB method for most cases.

Table 8 Experimental results (mean, standard deviation and rate of success) of function evaluation between BB and HCSNM for \(FI_1 - FI_{7}\) test problems

Minimax optimization test problems

We consider another type of optimization test problems in order to investigate the efficiency of the proposed algorithm, these functions are ten benchmark minimax functions as shown in Table 9. We report their properties in Table 10.

Table 9 Minimax optimization test problems
Table 10 Minimax test functions properties

The efficiency of the proposed HCSNM algorithm with minimax problems

We apply another test to investigate the idea of invoking the NM method in the final stage as a final intensification process with the standard Cuckoo search algorithm. In Table 11, we show the mean evaluation function values of the standard cuckoo search algorithm, the NM method and the proposed HCSNM algorithm, respectively. We apply for all algorithms the same termination criterion, which terminates the search when both algorithms reach to the optimal solution within an error of \(10^{-4}\) before the 20,000 function evaluation value. We report the average function evaluation over 100 runs and the best results in italicised text. Also we show in Table 11 that invoking the NM method in the final stage in the proposed algorithm enhance the general performance of it and can accelerate the search to reach to the optimal solution or near optimal solution faster than the standard Cuckoo search algorithm and the NM method.

Table 11 The efficiency of invoking the Nelder–Mead method in the final stage of HCSNM for \(FM_1 - FM_{10}\) minimax problems

HCSNM and other algorithms

We compare HCSNM with three benchmark algorithms in order to verify of the efficiency of the proposed algorithm with minimax problems. Let us give a brief description about these comparative three algorithms.

  • HPS2 (Santo and Fernandes 2011) HPS2 is heuristic pattern search algorithm, which is applied for solving bound constrained minimax problems by combining the Hook and Jeeves (HJ) pattern and exploratory moves with a randomly generated approximate descent direction.

  • UPSOm (Parsopoulos and Vrahatis 2005) UPSOm is unified particle swarm Optimization algorithm, which combines the global and local variants of the standard PSO and incorporates a stochastic parameter to imitate mutation in evolutionary algorithms.

  • RWMPSOg (Petalas et al. 2007). RWMPSOg is random walk memetic particle swarm optimization (with global variant), which combines the particle swarm optimization with random walk (as direction exploitation).

Comparison between HPS2, UPSOm, RWMPSOg and HCSNM for minimax problems

In this subsection, we present the comparison results between our HCSNM algorithm and the other algorithms in order to verify of the efficiency of the proposed algorithm. We test the four comparative algorithms on ten benchmark functions, take the results of the comparative algorithms from their original paper (Santo and Fernandes 2011) and report the results. In Table 12, we report the average (Avg), sD and Success rate (%Suc) over 100 runs. The mark (–) for \(FM_8\) in HPS2 algorithm and \(FM_2\), \(FM_8\) and \(FM_9\) in RWMPSOg algorithm in Table 12 means that the results of these algorithms for these functions are not reported in their original paper. The run is considered successful if the algorithm reaches the global minimum of the solution within an error of \(10^{-4}\) before the 20,000 function evaluation value. The results in Table 12, show that the proposed HCSNM algorithm succeeds in most runs and obtains the objective value of each function faster than the other algorithms, except for functions \(FM_3\), \(FM_6\), \(FM_9\) and \(FM_{10}\) the HPS2 results are better than the proposed algorithm. The dimensions for functions \(FM_4\), FM6, F7, FM8 and FM9 is 7, 10, 2, 4 and 7 respectively, which increase the number of function evaluations beyond 20,000 when applied the NM method. The rate of success for these function can increase to 100 % if the function evaluation criterion bigger than 20,000.

Table 12 Evaluation function for the minimax problems \(FM _{1}-FM _{10}\)

HCSNM and other meta-heuristics and swarm intelligence algorithms for minmax problems

Also we compare the proposed HCSNM algorithm against the same meta-heuristics and swarm intelligence algorithms (SI) which described in “HCSNM and other meta-heuristics and swarm intelligence algorithms for integer programming problems” for integer problems. The average (Avg) and SD of all algorithms are reported over 100 runs as shown in Table 13.

Table 13 HCSNM and other meta-heuristics algorithms for \(FM_1 - FM_{10}\) minmax problems

The results in Table 13 shows that the proposed HCSNM algorithm is outperform the other met-heuristics and swarm intelligence algorithm

HCSNM and SQP method

Another test for our proposed algorithm, we compare the HCSNM with another known method which is called sequential quadratic programming method (SQP) (Boggs and Tolle 1995; Fletcher 2013; Gill et al. 1981; Wilson et al. 1963).

We test the results of the two comparative algorithms on ten benchmark functions, take the results of the SQP algorithm from paper (Laskari et al. 2002) and report the results. In Table 14, we report the average (Avg), SD and success rate (%Suc) over 30 runs. The run is considered successful if the algorithm reaches the global minimum of the solution within an error of \(10^{-4}\) before the 20,000 function evaluation value. The results in Table 14, show that the proposed HCSNM algorithm outperforms the SQP algorithm in seven of ten functions, while the results of SQP algorithm are better than our proposed algorithm for functions \(FM_3\), \(FM_5\) and \(FM_6\). We can conclude from this comparison that the proposed HCSNM outperforms the SQP algorithm in most cases of tested minimax problems.

Table 14 Experimental results (mean, standard deviation and rate of success) of function evaluation between SQP and HCSNM for \(FM_1 - FM_{10}\) test problems

Conclusion and future work

In this paper, a new hybrid cuckoo search algorithm with NM method is proposed in order to solve integer programming and minimax problems. The proposed algorithm is called hybrid cuckoo search and Nelder–Mead algorithm (HCSNM). The NM algorithm helps the proposed algorithm to overcome the slow convergence of the standard by refining the best obtained solution from the cuckoo search instead of keeping the algorithm running with more iterations without any improvements (or slow improvements) in the results. In order to verify the robustness and the effectiveness of the proposed algorithm, HCSNM has been applied on seven integer programming and ten minimax problems. The experimental results show that the proposed algorithm is a promising algorithm and has a powerful ability to solve integer programming and minimax problems faster than other algorithms in most cases.

In the future work, we will focus on the following directions:

  • Apply the proposed algorithms on solving constrained optimization and engineering problems.

  • Modify our proposed algorithm to solve other combinatorial problems, large scale integer programming and minimax problems.

References

  • Bacanin N, Tuba M (2012) Artificial bee colony (ABC) algorithm for constrained optimization improved with genetic operators. Stud Inform Control 21(2):137–146

    Google Scholar 

  • Bandler JW, Charalambous C (1974) Nonlinear programming using minimax techniques. J Optim Theory Appl 13(6):607–619

    Article  Google Scholar 

  • Boggs PT, Tolle JW (1995) Sequential quadratic programming. Acta Numer 4:1–51

    Article  Google Scholar 

  • Borchers B, Mitchell JE (1991) Using an interior point method in a branch and bound algorithm for integer programming. Technical Report No. 195, Mathematical Sciences, Rensselaer Polytechnic Institute, Troy, NY, USA

  • Borchers B, Mitchell JE (1994) An improved branch and bound algorithm for mixed integer nonlinear programs. Comput Oper Res 21(4):359–367

    Article  Google Scholar 

  • Brown CT, Liebovitch LS, Glendon R (2007) Lévy flights in Dobe Ju/hoansi foraging patterns. Hum Ecol 35(1):129–138

    Article  Google Scholar 

  • Chang JY, Liao SH, Wu SL, Lin CT (2015) A hybrid of cuckoo search and simplex method for fuzzy neural network training. In: IEEE 12th international conference on networking, sensing and control (ICNSC). IEEE, pp 13–16

  • Chen DS, Batson RG, Dang Y (2010) Applied integer programming: modeling and solution. Wiley, Hoboken

    Google Scholar 

  • Chu SC, Tsai PW, Pan JS (2006) Cat swarm optimization. In: PRICAI 2006: trends in artificial intelligence. Springer, Berlin, pp 854–858

  • Dorigo M (1992) Optimization, learning and natural algorithms. Ph.D. thesis, Politecnico di Milano, Italy

  • Du DZ, Pardalos PM (eds) (2013) Minimax and applications, vol 4. Springer, Berlin

  • Fletcher R (2013) Practical methods of optimization. Wiley, Hoboken

    Google Scholar 

  • Gandomi A, Yang X, Alavi A (2013) Cuckoo search algorithm: a meta-heuristic approach to structural optimization problem. Eng Comput 29:17–35

    Article  Google Scholar 

  • Gandomi AH, Alavi AH (2012) Krill herd: a new bio-inspired optimization algorithm. Commun Nonlinear Sci Numer Simul 17(12):4831–4845

    Article  Google Scholar 

  • Garg H (2014) Solving structural engineering design optimization problems using an artificial bee colony algorithm. J Ind Manag Optim 10(3):777–794

    Article  Google Scholar 

  • Garg H (2015a) A hybrid GA-GSA algorithm for optimizing the performance of an industrial system by utilizing uncertain data. In: Vasant P (ed) Handbook of research on artificial intelligence techniques and algorithms, chap 20. IGI Global, pp 625–659. doi:10.4018/978-1-4666-7258-1.ch020

  • Garg H (2015b) An efficient biogeography based optimization algorithm for solving reliability optimization problems. Swarm Evolut Comput 24:1–10

    Article  Google Scholar 

  • Garg H (2015c) Multi-objective optimization problem of system reliability under intuitionistic fuzzy set environment using Cuckoo Search algorithm. J Intell Fuzzy Syst 29(4):1653–1669

    Article  Google Scholar 

  • Garg H (2015d) An approach for solving constrained reliability-redundancy allocation problems using cuckoo search algorithm. Beni-Suef Univ J Basic Appl Sci 4(1):14–25

    Article  Google Scholar 

  • Garg H, Sharma SP (2013) Multi-objective reliability-redundancy allocation problem using particle swarm optimization. Comput Ind Eng 64(1):247–255

    Article  Google Scholar 

  • Garg H, Rani M, Sharma SP (2013) Predicting uncertain behavior of press unit in a paper industry using artificial bee colony and fuzzy Lambda Tau methodology. Appl Soft Comput 13(4):1869–1881

    Article  Google Scholar 

  • Garg H, Rani M, Sharma SP (2014) An approach for analyzing the reliability of industrial systems using soft-computing based technique. Expert Syst Appl 41(2):489–501

    Article  Google Scholar 

  • Gill PE, Murray W, Wright MH (1981) Practical optimization. Academic Publisher, London

    Google Scholar 

  • GlankwahmdeeL A, Liebman JS, Hogg GL (1979) Unconstrained discrete nonlinear programming. Eng Optim 4(2):95–107

    Article  Google Scholar 

  • Hoffman KL, Padberg M (1993) Solving airline crew scheduling problems by branch-and-cut. Manag Sci 39(6):657–682

    Article  Google Scholar 

  • Holland JH (1975) Adaption in natural and artificial systems. The University of Michigan Press, Ann Arbor

    Google Scholar 

  • Jovanovic R, Kais S, Alharbi FH (2014) Cuckoo search inspired hybridization of the Nelder–Mead simplex algorithm applied to optimization of photovoltaic cells. arXiv preprint arXiv:1411.0217

  • Jovanovic R, Tuba M (2011) An ant colony optimization algorithm with improved pheromone correction strategy for the minimum weight vertex cover problem. Appl Soft Comput 11(8):5360–5366

    Article  Google Scholar 

  • Jovanovic R, Tuba M (2013) Ant colony optimization algorithm with pheromone correction strategy for the minimum connected dominating set problem. Comput Sci Inf Syst 10(1):133–149

    Article  Google Scholar 

  • Karaboga D, Basturk B (2007) A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm. J Glob Optim 39(3):459–471

    Article  Google Scholar 

  • Kennedy J, Eberhart R (1995) Particle swarm optimization. In: IEEE international conference on neural networks, vol 4. IEEE, pp 1942–1948

  • Laskari EC, Parsopoulos KE, Vrahatis MN (2002) Particle swarm optimization for integer programming. In: WCCI. IEEE, pp 1582–1587

  • Lawler EL, Wood DE (1966) Branch-and-bound methods: a survey. Oper Res 14(4):699–719

    Article  Google Scholar 

  • Li XL, Shao ZJ, Qian JX (2002) An optimizing method based on autonomous animats: fish-swarm algorithm. Syst Eng Theory Pract 22(11):32–38

    Google Scholar 

  • Little JD, Murty KG, Sweeney DW, Karel C (1963) An algorithm for the traveling salesman problem. Oper Res 11(6):972–989

    Article  Google Scholar 

  • Liuzzi G, Lucidi S, Sciandrone M (2006) A derivative-free algorithm for linearly constrained finite minimax problems. SIAM J Optim 16(4):1054–1075

    Article  Google Scholar 

  • Lukšan L, Vlcek J (2000) Test problems for nonsmooth unconstrained and linearly constrained optimization. Technical report 798, Institute of Computer Science, Academy of Sciences of the Czech Republic, Prague

  • Manquinho VM, Silva JPM, Oliveira AL, Sakallah KA (1997) Branch and bound algorithms for highly constrained integer programs. Technical Report, Cadence European Laboratories, Portugal

  • Mirjalili S, Mirjalili SM, Lewis A (2014) Grey wolf optimizer. Adv Eng Softw 69:46–61

    Article  Google Scholar 

  • Mitra G (1973) Investigation of some branch and bound strategies for the solution of mixed integer linear programs. Math Program 4(1):155–170

    Article  Google Scholar 

  • Nelder JA, Mead R (1965) A simplex method for function minimization. Comput J 7(4):308–313

    Article  Google Scholar 

  • Nemhauser GL, Rinnooy Kan AHG, Todd MJ (1989) Handbooks in OR & MS, vol 1. Elsevier, Amsterdam

    Google Scholar 

  • Parsopoulos KE, Vrahatis MN (2005) Unified particle swarm optimization for tackling operations research problems. In: Proceedings of the IEEE swarm intelligence symposium (SIS 2005). IEEE, pp 53–59

  • Passino KM (2002) Biomimicry of bacterial foraging for distributed optimization and control. IEEE Control Syst 22(3):52–67

    Article  Google Scholar 

  • Pavlyukevich I (2007) Lévy flights, non-local search and simulated annealing. J Comput Phys 226(2):1830–1844

    Article  Google Scholar 

  • Payne RB, Karen Klitz K (2005) The Cuckoos (Bird families of the world). Oxford University Press, New York

    Google Scholar 

  • Petalas YG, Parsopoulos KE, Vrahatis MN (2007) Memetic particle swarm optimization. Ann Oper Res 156(1):99–127

    Article  Google Scholar 

  • Polak E (ed) (2012) Optimization: algorithms and consistent approximations, vol 124. Springer, Berlin

  • Polak E, Royset JO, Womersley RS (2003) Algorithms with adaptive smoothing for finite minimax problems. J Optim Theory Appl 119(3):459–484

    Article  Google Scholar 

  • Rao SS (1994) Engineering optimization—theory and practice. Wiley, New Delhi

    Google Scholar 

  • Reynolds AM, Frye MA (2007) Free-flight odor tracking in Drosophila is consistent with an optimal intermittent scale-free search. PLoS One 2(4):e354–e354

    Article  Google Scholar 

  • Rudolph G (1994) An evolutionary algorithm for integer programming. In: Davidor Y, Schwefel H-P, Männer R (eds) Parallel Problem Solving from Nature—PPSN III. Springer, Berlin, pp 139–148

    Chapter  Google Scholar 

  • Santo IACPE, Fernandes EMGP (2011) Heuristic pattern search for bound constrained minimax problems. In: Murgante B, Gervasi O, Iglesias A, Taniar D, Apduhan BO (eds) Computational science and its applications—ICCSA 2011. Springer, Berlin, pp 174–184

  • Schwefel H-P (1995) Evolution and optimum seeking. Sixth-generation computer technology series. Wiley, New York‏, pp 325–366

  • Singh GP, Abhay Singh A (2014) Comparative study of Krill Herd, firefly and cuckoo search algorithms for unimodal and multimodal optimization. Int J Intell Syst Appl 03:35–49

    Google Scholar 

  • Tang R, Fong S, Yang XS, Deb S (2012) Wolf search algorithm with ephemeral memory. In: Seventh international conference on digital information management (ICDIM). IEEE, pp 165–172

  • Teodorovic D, DellOrco M (2005) Bee colony optimizationa cooperative learning approach to complex transportation problems. In: Advanced OR and AI methods in transportation: Proceedings of the 16th MiniEURO conference and 10th meeting of EWGT, 13–16 September. Publishing House of the Polish Operational and System Research, Poznan, pp 51–60

  • Tuba M, Subotic M, Stanarevic N (2011) Modified cuckoo search algorithm for unconstrained optimization problems. In: Proceedings of the 5th European conference on European computing conference. World Scientific and Engineering Academy and Society (WSEAS), pp 263–268

  • Tuba M, Bacanin N, Stanarevic N (2012) Adjusted artificial bee colony (ABC) algorithm for engineering problems. WSEAS Trans Comput 11(4):111–120

    Google Scholar 

  • Wilson RB (1963) A simplicial algorithm for concave programming. Doctoral dissertation, Graduate School of Business Administration, George F. Baker Foundation, Harvard University

  • Yang XS, Deb S (2009) Cuckoo search via Lévy flights. In: World congress on nature & biologically inspired computing (NaBIC 2009). IEEE, pp 210–214

  • Yang XS (2010a) A new metaheuristic bat-inspired algorithm. In: Nature inspired cooperative strategies for optimization (NICSO 2010). Springer, Berlin, pp 65–74

  • Yang XS (2010b) Firefly algorithm, stochastic test functions and design optimisation. Int J Bio-Inspired Comput 2(2):78–84

    Article  Google Scholar 

  • Yang XS, Deb S (2013) Multi-objective cuckoo search for design optimization. Comput Oper Res 40:1616–1624

    Article  Google Scholar 

  • Yang B, Chen Y, Zhao Z (2007) A hybrid evolutionary algorithm by combination of PSO and GA for unconstrained and constrained optimization problems. In: IEEE international conference on control and automation (ICCA 2007). IEEE, pp 166–170

  • Zuhe S, Neumaier A, Eiermann MC (1990) Solving minimax problems by interval methods. BIT Numer Math 30(4):742–751

    Article  Google Scholar 

Download references

Authors' contributions

This work was carried out in collaboration among the authors. AFA is a postdoctoral fellow for the MAT. Both authors read and approved the final manuscript

Acknowledgements

The research of the MAT is supported in part by the Natural Sciences and Engineering Research Council of Canada (NSERC). The postdoctoral fellowship of the AFA is supported by NSERC.

Competing interests

Both authors declare that they have no competing interests.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohamed A. Tawhid.

Rights and permissions

Open Access This 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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ali, A.F., Tawhid, M.A. A hybrid cuckoo search algorithm with Nelder Mead method for solving global optimization problems. SpringerPlus 5, 473 (2016). https://doi.org/10.1186/s40064-016-2064-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s40064-016-2064-1

Keywords