Computational Intelligence and Metaheuristic Algorithms with ApplicationsView this Special Issue
Research Article | Open Access
Erik Cuevas, Adolfo Reyna-Orta, "A Cuckoo Search Algorithm for Multimodal Optimization", The Scientific World Journal, vol. 2014, Article ID 497514, 20 pages, 2014. https://doi.org/10.1155/2014/497514
A Cuckoo Search Algorithm for Multimodal Optimization
Interest in multimodal optimization is expanding rapidly, since many practical engineering problems demand the localization of multiple optima within a search space. On the other hand, the cuckoo search (CS) algorithm is a simple and effective global optimization algorithm which can not be directly applied to solve multimodal optimization problems. This paper proposes a new multimodal optimization algorithm called the multimodal cuckoo search (MCS). Under MCS, the original CS is enhanced with multimodal capacities by means of (1) the incorporation of a memory mechanism to efficiently register potential local optima according to their fitness value and the distance to other potential solutions, (2) the modification of the original CS individual selection strategy to accelerate the detection process of new local minima, and (3) the inclusion of a depuration procedure to cyclically eliminate duplicated memory elements. The performance of the proposed approach is compared to several state-of-the-art multimodal optimization algorithms considering a benchmark suite of fourteen multimodal problems. Experimental results indicate that the proposed strategy is capable of providing better and even a more consistent performance over existing well-known multimodal algorithms for the majority of test problems yet avoiding any serious computational deterioration.
Optimization is a field with applications in many areas of science, engineering, economics, and others, where mathematical modelling is used . In general, the goal is to find an acceptable solution of an objective function defined over a given search space. Optimization algorithms are usually broadly divided into deterministic and stochastic ones . Since deterministic methods only provide a theoretical guarantee of locating a local minimum for the objective function, they often face great difficulties in solving optimization problems . On the other hand, stochastic methods are usually faster in locating a global optimum . Moreover, they adapt easily to black-box formulations and extremely ill-behaved functions, whereas deterministic methods usually rest on at least some theoretical assumptions about the problem formulation and its analytical properties (such as Lipschitz continuity) .
Evolutionary algorithms (EA), which are considered to be members of the stochastic group, have been developed by a combination of rules and randomness that mimics several natural phenomena. Such phenomena include evolutionary processes such as the evolutionary algorithm (EA) proposed by Fogel et al. , de Jong , and Koza ; the genetic algorithm (GA) proposed by Holland  and Goldberg ; the artificial immune system proposed by de Castro and von Zuben ; and the differential evolution algorithm (DE) proposed by Storn and Price . Some other methods which are based on physical processes include simulated annealing proposed by Kirkpatrick et al. , the electromagnetism-like algorithm proposed by Birbil and Fang , and the gravitational search algorithm proposed by Rashedi et al. . Also, there are other methods based on the animal-behavior phenomena such as the particle swarm optimization (PSO) algorithm proposed by Kennedy and Eberhart  and the ant colony optimization (ACO) algorithm proposed by Dorigo et al. .
Most of research work on EA aims for locating the global optimum . Despite its best performance, a global optimum may be integrated by parameter values that are considered impractical or prohibitively expensive, limiting their adoption into a real-world application. Therefore, from a practical point of view, it is desirable to have access to not only the global optimum but also as many local optima as possible (ideally all of them). Under such circumstances, a local optimum with acceptable performance quality and modest cost may be preferred over a costly global solution with marginally better performance . The process of finding the global optimum and multiple local optima is known as multimodal optimization.
EA perform well for locating a single optimum but fail to provide multiple solutions . Several methods have been introduced into the EA scheme to achieve multimodal optimization, such as fitness sharing [20–22], deterministic crowding , probabilistic crowding [22, 24], clustering based niching , clearing procedure , species conserving genetic algorithm , and elitist-population strategies . However, most of these methods have difficulties that need to be overcome before they can be employed successfully to multimodal applications. Some identified problems include difficulties in tuning some niching parameters, difficulties in maintaining discovered solutions in a run, extra computational overheads, and poor scalability when dimensionality is high. An additional problem represents the fact that such methods are devised for extending the search capacities of popular EA such as GA and PSO, which fail in finding a balance between exploration and exploitation, mainly for multimodal functions . Furthermore, they do not explore the whole region effectively and often suffer premature convergence or loss of diversity.
As alternative approaches, other researchers have employed artificial immune systems (AIS) to solve multimodal optimization problems. Some examples are the clonal selection algorithm  and the artificial immune network (AiNet) [31, 32]. Both approaches use operators and structures which attempt to find multiple solutions by mimicking the natural immune system’s behavior.
Every EA needs to address the issue of exploration and exploitation of the search space . Exploration is the process of visiting entirely new points of a search space, whilst exploitation is the process of refining those points within the neighborhood of previously visited locations in order to improve their solution quality. Pure exploration degrades the precision of the evolutionary process but increases its capacity to find new potential solutions. On the other hand, pure exploitation allows refining existent solutions but adversely driving the process to local optimal solutions.
Multimodal optimization requires a sufficient amount of exploration of the population agents in hyperspace so that all the local and global attractors can be successfully and quickly detected [34, 35]. However, an efficient multimodal optimization algorithm should exhibit not only good exploration tendency but also good exploitative power, especially during the last stages of the search, because it must ensure accurately a distributed convergence to different optima in the landscape. Therefore, the ability of an EA to find multiple solutions depends on its capacity to reach a good balance between the exploitation of found-so-far elements and the exploration of the search space . So far, the exploration-exploitation dilemma has been an unsolved issue within the framework of EA.
Recently, a novel nature-inspired algorithm, called the cuckoo search (CS) algorithm , has been proposed for solving complex optimization problems. The CS algorithm is based on the obligate brood-parasitic strategy of some cuckoo species. One of the most powerful features of CS is the use of Lévy flights to generate new candidate solutions. Under this approach, candidate solutions are modified by employing many small changes and occasionally large jumps. As a result, CS can substantially improve the relationship between exploration and exploitation, still enhancing its search capabilities . Recent studies show that CS is potentially far more efficient than PSO and GA . Such characteristics have motivated the use of CS to solve different sorts of engineering problems such as mesh generation , embedded systems , steel frame design , scheduling problems , thermodynamics , and distribution networks .
This paper presents a new multimodal optimization algorithm called the multimodal cuckoo search (MCS). The method combines the CS algorithm with a new memory mechanism which allows an efficient registering of potential local optima according to their fitness value and the distance to other potential solutions. The original CS selection strategy is mainly conducted by an elitist decision where the best individuals prevail. In order to accelerate the detection process of potential local minima in our method, the selection strategy is modified to be influenced by individuals that are contained in the memory mechanism. During each generation, eggs (individuals) that exhibit different positions are included in the memory. Since such individuals could represent to the same local optimum, a depuration procedure is also incorporated to cyclically eliminate duplicated memory elements. The performance of the proposed approach is compared to several state-of-the-art multimodal optimization algorithms considering a benchmark suite of 14 multimodal problems. Experimental results indicate that the proposed strategy is capable of providing better and even more consistent performance over the existing well-known multimodal algorithms for the majority of test problems avoiding any serious computational deterioration.
The paper is organized as follows. Section 2 explains the cuckoo search (CS) algorithm, while Section 3 presents the proposed MCS approach. Section 4 exhibits the experimental set and its performance results. Finally, Section 5 establishes some concluding remarks.
2. Cuckoo Search (CS) Method
CS is one of the latest nature-inspired algorithms, developed by Yang and Deb . CS is based on the brood parasitism of some cuckoo species. In addition, this algorithm is enhanced by the so-called Lévy flights , rather than by simple isotropic random walks. Recent studies show that CS is potentially far more efficient than PSO and GA .
Cuckoo birds lay their eggs in the nests of other host birds (usually other species) with amazing abilities such as selecting nests containing recently laid eggs and removing existing eggs to increase the hatching probability of their own eggs. Some of the host birds are able to combat this parasitic behavior of cuckoos and throw out the discovered alien eggs or build a new nest in a distinct location. This cuckoo breeding analogy is used to develop the CS algorithm. Natural systems are complex, and therefore they cannot be modeled exactly by a computer algorithm in its basic form. Simplification of natural systems is necessary for successful implementation in computer algorithms. Yang and Deb  simplified the cuckoo reproduction process into three idealized rules.(1)An egg represents a solution and is stored in a nest. An artificial cuckoo can lay only one egg at a time.(2)The cuckoo bird searches for the most suitable nest to lay the eggs in (solution) to maximize its eggs’ survival rate. An elitist selection strategy is applied, so that only high-quality eggs (best solutions near the optimal value) which are more similar to the host bird’s eggs have the opportunity to develop (next generation) and become mature cuckoos.(3)The number of host nests (population) is fixed. The host bird can discover the alien egg (worse solutions away from the optimal value) with a probability of , and these eggs are thrown away or the nest is abandoned and a completely new nest is built in a new location. Otherwise, the egg matures and lives to the next generation. New eggs (solutions) laid by a cuckoo choose the nest by Lévy flights around the current best solutions.
From the implementation point of view, in the CS operation, a population, (), of eggs (individuals) is evolved from the initial point () to a total gen number iterations (). Each egg, (), represents an -dimensional vector, , where each dimension corresponds to a decision variable of the optimization problem to be solved. The quality of each egg, (candidate solution), is evaluated by using an objective function, , whose final result represents the fitness value of .Three different operators define the evolution process of CS: (A) Lévy flight, (B) replacement of some nests by constructing new solutions, and (C) elitist selection strategy.
2.1. Lévy Flight (A)
One of the most powerful features of cuckoo search is the use of Lévy flights to generate new candidate solutions (eggs). Under this approach, a new candidate solution, (), is produced by perturbing the current with a change of position . In order to obtain , a random step, , is generated by a symmetric Lévy distribution. For producing , Mantegna’s algorithm  is employed as follows: where and are -dimensional vectors and . Each element of and is calculated by considering the following normal distributions: where represents the gamma distribution. Once has been calculated, the required change of position is computed as follows: where the product denotes entrywise multiplications whereas is the best solution (egg) seen so far in terms of its fitness value. Finally, the new candidate solution, , is calculated by using
2.2. Replacement of Some Nests by Constructing New Solutions (B)
Under this operation, a set of individuals (eggs) are probabilistically selected and replaced with a new value. Each individual, (), can be selected with a probability of . In order to implement this operation, a uniform random number, , is generated within the range . If is less than , the individual is selected and modified according to (5). Otherwise, remains without change. This operation can be resumed by the following model: where rand is a random number normally distributed, whereas and are random integers from 1 to .
2.3. Elitist Selection Strategy (C)
After producing either by operator A or by operator B, it must be compared with its past value . If the fitness value of is better than , then is accepted as the final solution. Otherwise, is retained. This procedure can be resumed by the following statement: This elitist selection strategy denotes that only high-quality eggs (best solutions near the optimal value) which are more similar to the host bird’s eggs have the opportunity to develop (next generation) and become mature cuckoos.
2.4. Complete CS Algorithm
CS is a relatively simple algorithm with only three adjustable parameters: , the population size, , and the number of generations gen. According to Yang and Deb , the convergence rate of the algorithm is not strongly affected by the value of and it is suggested to use . The operation of CS is divided in two parts: initialization and the evolution process. In the initialization (), the first population, (), is produced. The values, , of each individual, , are randomly and uniformly distributed between the prespecified lower initial parameter bound, , and the upper initial parameter bound, . One has In the evolution process, operators A (Lévy flight), B (replacement of some nests by constructing new solutions), and C (elitist selection strategy) are iteratively applied until the number of iterations has been reached. The complete CS procedure is illustrated in Algorithm 1.
From Algorithm 1, it is important to remark that the elitist selection strategy (C) is used two times, just after operator A or operator B is executed.
3. The Multimodal Cuckoo Search (MCS)
In CS, individuals emulate eggs which interact in a biological system by using evolutionary operations based on the breeding behavior of some cuckoo species. One of the most powerful features of CS is the use of Lévy flights to generate new candidate solutions. Under this approach, candidate solutions are modified by employing many small changes and occasionally large jumps. As a result, CS can substantially improve the relationship between exploration and exploitation, still enhancing its search capabilities. Despite such characteristics, the CS method still fails to provide multiple solutions in a single execution. In the proposed MCS approach, the original CS is adapted to include multimodal capacities. In particular, this adaptation contemplates the incorporation of a memory mechanism to efficiently register potential local optima according to their fitness value and the distance to other potential solutions, the modification of the original CS individual selection strategy to accelerate the detection process of new local minima, and the inclusion of a depuration procedure to cyclically eliminate duplicated memory elements.
In order to implement these modifications, the proposed MCS divides the evolution process in three asymmetric states. The first state () includes 0 to 50% of the evolution process. The second state () involves 50 to 75%. Finally, the third state () lasts from 75 to 100%. The idea of this division is that the algorithm can react in a different manner depending on the current state. Therefore, in the beginning of the evolutionary process, exploration can be privileged, while, at the end of the optimization process, exploitation can be favored. Figure 1 illustrates the division of the evolution process according to MCS.
The next sections examine the operators suggested by MCS as adaptations of CS to provide multimodal capacities. These operators are (D) the memory mechanism, (E) new selection strategy, and (F) depuration procedure.
3.1. Memory Mechanism (D)
In the MCS evolution process, a population, (), of eggs (individuals) is evolved from the initial point () to a total gen number iterations (). Each egg, (), represents an -dimensional vector, , where each dimension corresponds to a decision variable of the optimization problem to be solved. The quality of each egg, (candidate solution), is evaluated by using an objective function, , whose final result represents the fitness value of . During the evolution process, MCS maintains also the best, , and the worst, , eggs seen so far, such that Global and local optima possess two important characteristics: they have a significant good fitness value and they represent the best fitness value inside a determined neighborhood. Therefore, the memory mechanism allows efficiently registering potential global and local optima during the evolution process, involving a memory array, , and a storage procedure. stores the potential global and local optima, , during the evolution process, with being the number of elements so far that are contained in the memory . On the other hand, the storage procedure indicates the rules that the eggs, , must fulfill in order to be captured as memory elements. The memory mechanism operates in two phases: initialization and capture.
3.1.1. Initialization Phase
This phase is applied only once within the optimization process. Such an operation is achieved in the null iteration () of the evolution process. In the initialization phase, the best egg, , of , in terms of its fitness value, is stored in the memory M (), where , for a minimization problem.
3.1.2. Capture Phase
This phase is applied from the first () iteration to the last iteration (), at the end of each operator (A and B). At this stage, eggs, , corresponding to potential global and local optima are efficiently registered as memory elements, , according to their fitness value and the distance to other potential solutions. In the operation, each egg, , of is tested in order to evaluate if it must be captured as a memory element. The test considers two rules: significant fitness value rule and nonsignificant fitness value rule.
Significant Fitness Value Rule. Under this rule, the solution quality of is evaluated according to the worst element, , that is contained in the memory M, where , in case of a minimization problem. If the fitness value of is better than (), is considered potential global and local optima. The next step is to decide whether represents a new optimum or it is very similar to an existent memory element, (if it is already contained in the memory M). Such a decision is specified by an acceptance probability function, , that depends, on one side, on the distances from to the nearest memory element and, on the other side, on the current state of the evolution process (1, 2, and 3). Under , the probability that would be part of M increases as the distance enlarges. Similarly, the probability that would be similar to an existent memory element increases as decreases. On the other hand, the indicator that relates a numeric value with the state of the evolution process is gradually modified during the algorithm to reduce the likelihood of accepting inferior solutions. The idea is that in the beginning of the evolutionary process (exploration), large distance differences can be considered, while only small distance differences are tolerated at the end of the optimization process.
In order to implement this procedure, the normalized distance () is calculated from to all the elements of the memory M . is computed as follows:where represent the components of the memory element , whereas and indicate the low parameter bound and the upper parameter bound (), respectively. One important property of the normalized distance is that its values fall into the interval .
By using the normalized distance the nearest memory element to is defined, with . Then, the acceptance probability function is calculated by using the following expression: In order to decide whether represents a new optimum or it is very similar to an existent memory element, a uniform random number is generated within the range . If is less than , the egg is included in the memory M as a new optimum. Otherwise, it is considered that is similar to . Under such circumstances, the memory M is updated by the competition between and , according to their corresponding fitness values. Therefore, would replace in case is better than . On the other hand, if is better than , remains with no change. The complete procedure of the significant fitness value rule can be resumed by the following statement: In order to demonstrate the significant fitness value rule process, Figure 2 illustrates a simple minimization problem that involves a two-dimensional function, . As an example, it assumed a population, , of two different particles (), a memory with two memory elements (), and the execution of the first state (). According to Figure 2, both particles and maintain a better fitness value than , which possesses the worst fitness value of the memory elements. Under such conditions, the significant fitness value rule must be applied to both particles. In case of , the first step is to calculate the correspondent distances and . represents the nearest memory element to . Then, the acceptance probability function is calculated by using (10). Since the value of is high, there exists a great probability that becomes the next memory element (). On the other hand, for , represents the nearest memory element. As is very low, there exists a great probability that competes with for a place within M. In such a case, remains with no change considering that .
Nonsignificant Fitness Value Rule. Different to the significant fitness value rule, the nonsignificant fitness value rule allows capturing local optima with low fitness values. It operates if the fitness value of is worse than (). Under such conditions, it is necessary, as a first step, to test which particles could represent local optima and which must be ignored as a consequence of their very low fitness value. Then, if the particle represents a possible local optimum, its inclusion inside the memory M is explored.
The decision on whether represents a new local optimum or not is specified by a probability function, , which is based on the relationship between and the so far valid fitness value interval . Therefore, the probability function is defined as follows: where and represent the best and worst eggs seen so far, respectively. In order to decide whether represents a new local optimum or it must be ignored, a uniform random number, , is generated within the range . If is less than , the egg is considered to be a new local optimum. Otherwise, it must be ignored. Under , the so far valid fitness value interval is divided into two sections: I and II (see Figure 3). Considering this division, the function assigns a valid probability (greater than zero) only to those eggs that fall into the zone of the best individuals (part I) in terms of their fitness value. Such a probability value increases as the fitness value improves. The complete procedure can be reviewed in Algorithm 2.
If the particle represents a possible local optimum, its inclusion inside the memory M is explored. In order to consider if could represent a new memory element, another procedure that is similar to the significant fitness value rule process is applied. Therefore, the normalized distance () is calculated from to all the elements of the memory M , according to (9). Afterwards, the nearest distance to is determined. Then, by using (10), the following rule can be thus applied: Under this rule, a uniform random number, , is generated within the range . If is less than , the egg is included in the memory M as a new optimum. Otherwise, the memory does not change.
3.2. New Selection Strategy (E)
The original CS selection strategy is mainly conducted by an elitist decision where the best individuals in the current population prevail. Such an operation, defined in this paper as operator C (Section 2.3), is executed two times, just after operators A and B in the original CS method. This effect allows incorporating interesting convergence properties to CS when the objective considers only one optimum. However, in case of multiple-optimum detection, such a strategy is not appropriate. Therefore, in order to accelerate the detection process of potential local minima in our method, the selection strategy is modified to be influenced by the individuals contained in the memory M.
Under the new selection procedure (operator E), the final population is built by considering the first element from the memory M instead of using the best individuals between the currents and . In case of the number of elements in M is less than , the rest of the individuals are completed by considering the best elements from the current .
3.3. Depuration Procedure (F)
During the evolution process, the memory M stores several individuals (eggs). Since such individuals could represent the same local optimum, a depuration procedure is incorporated at the end of each state (1, 2, and 3) to eliminate similar memory elements. The inclusion of this procedure allows (a) reducing the computational overhead during each state and (b) improving the search strategy by considering only significant memory elements.
Memory elements tend to concentrate on optimal points (good fitness values), whereas element concentrations are enclosed by areas holding bad fitness values. The main idea in the depuration procedure is to find the distances among concentrations. Such distances, considered as depuration ratios, are later employed to delete all elements inside them, except for the best element in terms of their fitness values.
The method used by the depuration procedure in order to determine the distance between two concentrations is based on the element comparison between the concentration corresponding to the best element and the concentration of the nearest optimum in the memory. In the process, the best element in the memory is compared to a memory element, , which belongs to one of both concentrations (where ). If the fitness value of the medium point, , between both is not worse than both, , the element is part of the same concentration of . However, if is worse than both, the element is considered as part of the nearest concentration. Therefore, if and belong to different concentrations, the Euclidian distance between and can be considered as a depuration ratio. In order to avoid the unintentional deletion of elements in the nearest concentration, the depuration ratio is lightly shortened. Thus, the depuration ratio is defined as follows: The proposed depuration procedure only considers the depuration ratio between the concentration of the best element and the nearest concentration. In order to determine all ratios, preprocessing and postprocessing methods must be incorporated and iteratively executed.
The preprocessing method must obtain the best element from the memory in terms of its fitness value, calculate the Euclidian distances from the best element to the rest of the elements in the memory, and sort the distances according to their magnitude. This set of tasks allows identification of both concentrations: the one belonging to the best element and that belonging to the nearest optimum, so they must be executed before the depuration ratio calculation. Such concentrations are represented by the elements with the shortest distances to . Once has been calculated, it is necessary to remove all the elements belonging to the concentration of the best element. This task is executed as a postprocessing method in order to configure the memory for the next step. Therefore, the complete depuration procedure can be represented as an iterative process that at each step determines the distance of the concentration of the best element with regard to the concentration of the nearest optimum.
A special case can be considered when only one concentration is contained within the memory. This case can happen because the optimization problem has only one optimum or because all the other concentrations have been already detected. Under such circumstances, the condition where is worse than and would be never fulfilled.
In order to find the distances among concentrations, the depuration procedure is conducted in Procedure 1.
At the end of the above procedure, the vector will contain the depurated memory which would be used in the next state or as a final result of the multimodal problem.
In order to illustrate the depuration procedure, Figure 4 shows a simple minimization problem that involves two different optimal points (concentrations). As an example, it assumed a memory, , with six memory elements whose positions are shown in Figure 4(a). According to the depuration procedure, the first step is to build the vector and to calculate the corresponding distance among the elements. Following such operation, the vector Z and the set of distances are configured as and , respectively. Figure 4(b) shows the configuration of X where, for sake of easiness, only the two distances and have been represented. Then, the depuration ratio is calculated. This process is an iterative computation that begins with the shortest distance . The distance (see Figure 4(c)), corresponding to and , produces the evaluation of their medium point . Since is worse than but not worse than , the element is considered to be part of the same concentration as . The same conclusion is obtained for in case of , after considering the point . For , the point is produced. Since is worse than and , the element is considered to be part of the concentration corresponding to the next optimum. The iterative process ends here, after assuming that the same result is produced with and , for and , respectively. Therefore, the depuration ratio is calculated as 85% of the distances . Once the elements inside of have been removed from Z, the same process is applied to the new Z. As a result, the final configuration of the memory is shown in Figure 4(d).
3.4. Complete MCS Algorithm
Once the new operators (D) memory mechanism, (E) new selection strategy, and (F) depuration procedure have been defined, the proposed MCS algorithm can be summarized by Algorithm 3. The new algorithm combines operators defined in the original CS with the new ones. Despite these new operators, the MCS maintains the same three adjustable parameters (, , and gen) compared to the original CS method.
4. Experimental Results
This section presents the performance of the proposed algorithm beginning from Section 4.1 that describes the experimental methodology. For the sake of clarity, results are divided into two sections, Section 4.2 and Section 4.3, which report the comparison between the MCS experimental results and the outcomes produced by other multimodal metaheuristic algorithms.
4.1. Experimental Methodology
This section examines the performance of the proposed MCS by using a test suite of fourteen benchmark functions with different complexities. Table 3 in the appendix presents the benchmark functions used in our experimental study. In the table, NO indicates the number of optimal points in the function and indicates the search space (subset of ). The experimental suite contains some representative, complicated, and multimodal functions with several local optima. Such functions are considered complex entities to be optimized, as they are particularly challenging to the applicability and efficiency of multimodal metaheuristic algorithms. A detailed description of each function is given in the appendix.
In the study, five performance indexes are compared: the effective peak number (EPN), the maximum peak ratio (MPR), the peak accuracy (PA), the distance accuracy (DA), and the number of function evaluations (NFE). The first four indexes assess the accuracy of the solution, whereas the last measures the computational cost.
The effective peak number (EPN) expresses the amount of detected peaks. An optimum is considered as detected if the distance between the identified solution and the optimum is less than 0.01 . The maximum peak ratio (MPR) is used to evaluate the quality and the number of identified optima. It is defined as follows: where represents the number of identified solutions (identified optima) for the algorithm under testing and represesnts the number of true optima contained in the function. The peak accuracy (PA) specifies the total error produced between the identified solutions and the true optima. Therefore, PA is calculated as follows: Peak accuracy (PA) may lead to erroneous results, mainly if the peaks are close to each other or hold an identical height. Under such circumstances, the distance accuracy (DA) is used to avoid such error. DA is computed as PA, but fitness values are replaced by the Euclidian distance. DA is thus defined by the following model: The number of function evaluations (NFE) indicates the total number of function computations that have been calculated by the algorithm under testing, through the overall optimization process.
The experiments compare the performance of MCS against the crowding differential evolution (CDE) , the fitness sharing differential evolution (SDE) [21, 22], the clearing procedure (CP) , the elitist-population strategy (AEGA) , the clonal selection algorithm (CSA) , and the artificial immune network (AiNet) .
Since the approach solves real-valued multimodal functions and a fair comparison must be assured, we have used for the GA approaches a consistent real coding variable representation and uniform operators for crossover and mutation. The crossover probability of and the mutation probability of have been used. We have employed the standard tournament selection operator with tournament size = 2 for implementing the sequential fitness sharing, the clearing procedure, and the elitist-population strategy (AEGA). On the other hand, the parameter values for the AiNet algorithm have been defined as suggested in , with the mutation strength of , the suppression threshold of , and the update rate of . Algorithms based on DE use a scaling factor of and a crossover probability of . The crowding DE employs a crowding factor of and the sharing DE considers with a share radius of .
In case of the MCS algorithm, the parameters are set to , the population size is , and the number of generations is gen = 500. Once they have been all experimentally determined, they are kept for all the test functions through all experiments.
To avoid relating the optimization results to the choice of a particular initial population and to conduct fair comparisons, we perform each test 50 times, starting from various randomly selected points in the search domain as it is commonly done in the literature.
All algorithms have been tested in MatLAB© over the same Dell Optiplex GX520 computer with a Pentium-4 2.66G-HZ processor, running Windows XP operating system over 1 Gb of memory. The sections below present experimental results for multimodal optimization problems which have been divided into two groups. The first one considers functions , while the second gathers functions .
4.2. Comparing MCS Performance for Functions
This section presents a performance comparison for different algorithms solving the multimodal problems that are shown in Table 3. The aim is to determine whether MCS is more efficient and effective than other existing algorithms for finding all multiple optima of . All the algorithms employ a population size of 50 individuals using 500 successive generations.
Table 1 provides a summarized performance comparison among several algorithms in terms of the effective peak number (EPN), the maximum peak ratio (MPR), the peak accuracy (PA), the distance accuracy (DA), and the number of function evaluations (NFE). The results are averaged by considering 50 different executions.
Considering the EPN index, in all functions , MCS always finds better or equally optimal solutions. Analyzing results of function , the CDE, AEGA, and the MCS algorithms reach all optima. In case of function , only CSA and AiNet have not been able to detect all the optima values each time. Considering function , only MCS can detect all optima at each run. In case of function , most of the algorithms detect only half of the total optima but MCS can recognize most of them. Analyzing results of function , CDE, CP, CSA, and AiNet present a similar performance whereas SDE, AEGA, and MCS obtain the best EPN values. In case of , almost all algorithms present a similar performance; however, only the CDE, CP, and MCS algorithms have been able to detect all optima. Considering function , the MCS algorithm is able to detect most of the optima whereas the rest of the methods reach different performance levels.
By analyzing the MPR index in Table 1, MCS has reached the best performance for all the multimodal problems. On the other hand, the rest of the algorithms present different accuracy levels, with CDE and SDE being the most consistent.
Considering thePA index, MCS presents the best performance. Since PA evaluates the accumulative differences of fitness values, it could drastically change when one or several peaks are not detected (function ) or when the function under testing presents peaks with high values (function ). For the case of the DA index in Table 1, it is evident that the MCS algorithm presents the best performance providing the shortest distances among the detected optima.
Analyzing the NFE measure in Table 1, it is clear that CSA and AiNet need fewer function evaluations than other algorithms considering the same termination criterion. This fact is explained by considering that both algorithms do not implement any additional process in order to detect multiple optima. On the other hand, the MCS method maintains a slightly higher number of function evaluations than CSA and AiNet due to the inclusion of the depuration procedure. The rest of the algorithms present a considerable higher NFE value.
It can be easily deduced from such results that the MCS algorithm is able to produce better search locations (i.e., a better compromise between exploration and exploitation) in a more efficient and effective way than other multimodal search strategies by using an acceptable number of function evaluations.
4.3. Comparing MCS Performance for Functions
This section presents a performance comparison for different algorithms solving the multimodal problems that are shown in Table 3. The aim is to determine whether MCS is more efficient and effective than its competitors for finding multiple optima in . All the algorithms employ a population size of 50 individuals using 500 successive generations. Table 2 provides a summarized performance comparison among several algorithms in terms of the effective peak number (EPN), the maximum peak ratio (MPR), the peak accuracy (PA), the distance accuracy (DA), and the number of function evaluations (NFE). The results are averaged by considering 50 different executions.
The goal of multimodal optimizers is to find as many as possible global optima and good local optima. The main objective in these experiments is to determine whether MCS is able to find not only optima with prominent fitness value, but also optima with low fitness values. Table 2 provides a summary of the performance comparison among the different algorithms.
Considering the EPN measure, it is observed that MCS finds more optimal solutions for the multimodal problems than the other methods. Analyzing function , only MCS can detect all optima whereas CP, AEGA, CSA, and AiNet exhibit the worst EPN performance.
Functions represent a set of special cases which contain a few prominent optima (with good fitness value). However, such functions present also several optima with bad fitness values. In these functions, MCS is able to detect the highest number of optimum points. On the contrary, the rest of algorithms can find only prominent optima.
For function , four algorithms (CDE, SDE, CP, and MCS) can recognize all optima for each execution. In case of function , numerous optima are featured with different fitness values. However, MCS still can detect most of the optima.
In terms of number of the maximum peak ratios (MPR), MCS has obtained the best score for all the multimodal problems. On the other hand, the rest of the algorithms present different accuracy levels.
A close inspection of Table 2 also reveals that the proposed MCS approach is able to achieve the smallest PA and DA values in comparison to all other methods.
Similar conclusions to those in Section 4.2 can be established regarding the number of function evaluations (NFE). All results demonstrate that MCS achieves the overall best balance in comparison to other algorithms, in terms of both the detection accuracy and the number of function evaluations.
The cuckoo search (CS) algorithm has been recently presented as a new heuristic algorithm with good results in real-valued optimization problems. In CS, individuals emulate eggs (contained in nests) which interact in a biological system by using evolutionary operations based on the breeding behavior of some cuckoo species. One of the most powerful features of CS is the use of Lévy flights to generate new candidate solutions. Under this approach, candidate solutions are modified by employing many small changes and occasionally large jumps. As a result, CS can substantially improve the relationship between exploration and exploitation, still enhancing its search capabilities. Despite such characteristics, the CS method still fails to provide multiple solutions in a single execution. In order to overcome such inconvenience, this paper proposes a new multimodal optimization algorithm called the multimodal cuckoo search (MCS). Under MCS, the original CS is enhanced with multimodal capacities by means of incorporation of a memory mechanism to efficiently register potential local optima according to their fitness value and the distance to other potential solutions, modification of the original CS individual selection strategy to accelerate the detection process of new local minima, and inclusion of a depuration procedure to cyclically eliminate duplicated memory elements.
MCS has been experimentally evaluated over a test suite of the fourteen benchmark multimodal functions. The performance of MCS has been compared to some other existing algorithms including the crowding differential evolution (CDE) , the fitness sharing differential evolution (SDE) [21, 22], the clearing procedure (CP) , the elitist-population strategy (AEGA) , the clonal selection algorithm (CSA) , and the artificial immune network (AiNet) . All experiments have demonstrated that MCS generally outperforms all other multimodal metaheuristic algorithms in terms of both the detection accuracy and the number of function evaluations. The remarkable performance of MCS is explained by two different features: (i) operators (such as Lévy flight) allow a better exploration of the search space, increasing the capacity to find multiple optima, and (ii) the diversity of solutions contained in the memory M in the context of multimodal optimization is maintained and further improved through an efficient mechanism.
For list of benchmark functions, see Table 3.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
The proposed algorithm is part of the optimization system used by a biped robot supported under the Grant CONACYT CB 181053.
- P. M. Pardalos, H. E. Romeijn, and H. Tuy, “Recent developments and trends in global optimization,” Journal of Computational and Applied Mathematics, vol. 124, no. 1-2, pp. 209–228, 2000.
- C. A. Floudas, I. G. Akrotirianakis, S. Caratzoulas, C. A. Meyer, and J. Kallrath, “Global optimization in the 21st century: advances and challenges,” Computers & Chemical Engineering, vol. 29, no. 6, pp. 1185–1202, 2005.
- Y. Ji, K.-C. Zhang, and S.-J. Qu, “A deterministic global optimization algorithm,” Applied Mathematics and Computation, vol. 185, no. 1, pp. 382–387, 2007.
- A. Georgieva and I. Jordanov, “Global optimization based on novel heuristics, low-discrepancy sequences and genetic algorithms,” European Journal of Operational Research, vol. 196, no. 2, pp. 413–422, 2009.
- D. Lera and Y. D. Sergeyev, “Lipschitz and Hölder global optimization using space-filling curves,” Applied Numerical Mathematics, vol. 60, no. 1-2, pp. 115–129, 2010.
- L. J. Fogel, A. J. Owens, and M. J. Walsh, Artificial Intelligence through Simulated Evolution, John Wiley & Sons, Chichester, UK, 1966.
- K. de Jong, Analysis of the behavior of a class of genetic adaptive systems [Ph.D. thesis], University of Michigan, Ann Arbor, Mich, USA, 1975.
- J. R. Koza, “Genetic programming: a paradigm for genetically breeding populations of computer programs to solve problems,” Tech. Rep. STAN-CS-90-1314, Stanford University, Stanford, Calif, USA, 1990.
- J. H. Holland, Adaptation in Natural and Artificial Systems, University of Michigan Press, Ann Arbor, Mich, USA, 1975.
- D. E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning, Addison-Wesley, Boston, Mass, USA, 1989.
- L. N. de Castro and F. J. von Zuben, “Artificial immune systems—part I: basic theory and applications,” Tech. Rep. TR-DCA 01/99, 1999.
- R. Storn and K. Price, “Differential evolution-a simple and efficient adaptive scheme for global optimisation over continuous spaces,” Tech. Rep. TR-95-012, ICSI, Berkeley, Calif, USA, 1995.
- S. Kirkpatrick, C. D. Gelatt Jr., and M. P. Vecchi, “Optimization by simulated annealing,” Science, vol. 220, no. 4598, pp. 671–680, 1983.
- S. I. Birbil and S.-C. Fang, “An electromagnetism-like mechanism for global optimization,” Journal of Global Optimization, vol. 25, no. 3, pp. 263–282, 2003.
- E. Rashedi, H. Nezamabadi-Pour, and S. Saryazdi, “Filter modeling using gravitational search algorithm,” Engineering Applications of Artificial Intelligence, vol. 24, no. 1, pp. 117–122, 2011.
- J. Kennedy and R. Eberhart, “Particle swarm optimization,” in Proceedings of the IEEE International Conference on Neural Networks, vol. 4, pp. 1942–1948, December 1995.
- M. Dorigo, V. Maniezzo, and A. Colorni, “Positive feedback as a search strategy,” Tech. Rep. 91-016, Politecnico di Milano, Milano, Italy, 1991.
- S. Dasa, S. Maity, B.-Y. Qu, and P. N. Suganthan, “Real-parameter evolutionary multimodal optimization—a survey of the state-of-the-art,” Swarm and Evolutionary Computation, vol. 1, no. 2, pp. 71–78, 2011.
- K.-C. Wong, C.-H. Wu, R. K. P. Mok, C. Peng, and Z. Zhang, “Evolutionary multimodal optimization using the principle of locality,” Information Sciences, vol. 194, pp. 138–170, 2012.
- D. Beasley, D. R. Bull, and R. R. Matin, “A sequential niche technique for multimodal function optimization,” Evolutionary Computation, vol. 1, no. 2, pp. 101–125, 1993.
- B. L. Miller and M. J. Shaw, “Genetic algorithms with dynamic niche sharing for multimodal function optimization,” in Proceedings of the 3rd IEEE International Conference on Evolutionary Computation, pp. 786–791, May 1996.
- R. Thomsen, “Multimodal optimization using crowding-based differential evolution,” in Proceedings of the Congress on Evolutionary Computation (CEC '04), pp. 1382–1389, June 2004.
- S. W. Mahfoud, Niching methods for genetic algorithms [Ph.D. thesis], Illinois Genetic Algorithm Laboratory, University of Illinois, Urbana, Ill, USA, 1995.
- O. J. Mengshoel and D. E. Goldberg, “Probability crowding: deterministic crowding with probabilistic replacement,” in Proceedings of the International Genetic and Evolutionary Computation Conference, W. Banzhaf, Ed., pp. 409–416, Orlando, Fla, USA, 1999.
- X. Yin and N. Germay, “A fast genetic algorithm with sharing scheme using cluster analysis methods in multimodal function optimization,” in Proceedings of the International Conference on Artificial Neural Networks and Genetic Algorithms, pp. 450–457, 1993.
- A. Petrowski, “A clearing procedure as a niching method for genetic algorithms,” in Proceedings of the IEEE International Conference on Evolutionary Computation (ICEC '96), pp. 798–803, Nagoya, Japan, May 1996.
- J.-P. Li, M. E. Balazs, G. T. Parks, and P. J. Clarkson, “A species conserving genetic algorithm for multimodal function optimization,” Evolutionary Computation, vol. 10, no. 3, pp. 207–234, 2002.
- Y. Liang and K.-S. Leung, “Genetic Algorithm with adaptive elitist-population strategies for multimodal function optimization,” Applied Soft Computing Journal, vol. 11, no. 2, pp. 2017–2034, 2011.
- G. Chen, C. P. Low, and Z. Yang, “Preserving and exploiting genetic diversity in evolutionary programming algorithms,” IEEE Transactions on Evolutionary Computation, vol. 13, no. 3, pp. 661–673, 2009.
- L. N. de Castro and F. J. von Zuben, “Learning and optimization using the clonal selection principle,” IEEE Transactions on Evolutionary Computation, vol. 6, no. 3, pp. 239–251, 2002.
- L. N. Castro and J. Timmis, “An artificial immune network for multimodal function optimization,” in Proceedings of the Congress on Evolutionary Computation, pp. 699–704, Honolulu, Hawaii, USA, 2002.
- Q. Xu, L. Wang, and J. Si, “Predication based immune network for multimodal function optimization,” Engineering Applications of Artificial Intelligence, vol. 23, no. 4, pp. 495–504, 2010.
- K. C. Tan, S. C. Chiam, A. A. Mamun, and C. K. Goh, “Balancing exploration and exploitation with adaptive variation for evolutionary multi-objective optimization,” European Journal of Operational Research, vol. 197, no. 2, pp. 701–713, 2009.
- S. Roy, S. M. Islam, S. Das, S. Ghosh, and A. V. Vasilakos, “A simulated weed colony system with subregional differential evolution for multimodal optimization,” Engineering Optimization, vol. 45, no. 4, pp. 459–481, 2013.
- F. Yahyaie and S. Filizadeh, “A surrogate-model based multi-modal optimization algorithm,” Engineering Optimization, vol. 43, no. 7, pp. 779–799, 2011.
- S. Yazdani, H. Nezamabadi-pour, and S. Kamyab, “A gravitational search algorithm for multimodal optimization,” Swarm and Evolutionary Computation, vol. 14, pp. 1–14, 2014.
- X.-S. Yang and S. Deb, “Cuckoo search via Lévy flights,” in Proceedings of the World Congress on Nature & Biologically Inspired Computing (NABIC '09), pp. 210–214, Coimbatore, india, December 2009.
- S. Walton, O. Hassan, K. Morgan, and M. R. Brown, “A review of the development and applications of the Cuckoo search algorithm,” in Swarm Intelligence and Bio-Inspired Computation Theory and Applications, X.-S. Yang, Z. Cui, R. Xiao, A. H. Gandomi, and M. Karamanoglu, Eds., pp. 257–271, Elsevier, San Diego, Calif, USA, 2013.
- X.-S. Yang and S. Deb, “Engineering optimisation by cuckoo search,” International Journal of Mathematical Modelling and Numerical Optimisation, vol. 1, no. 4, pp. 330–343, 2010.
- S. Walton, O. Hassan, K. Morgan, and M. R. Brown, “Modified cuckoo search: a new gradient free optimisation algorithm,” Chaos, Solitons and Fractals, vol. 44, no. 9, pp. 710–718, 2011.
- A. Kumar and S. Chakarverty, “Design optimization for reliable embedded system using Cuckoo search,” in Proceedings of the 3rd International Conference on Electronics Computer Technology (ICECT '11), pp. 264–268, April 2011.
- A. Kaveh and T. Bakhshpoori, “Optimum design of steel frames using Cuckoo search algorithm with Lévy flights,” The Structural Design of Tall and Special Buildings, vol. 22, no. 13, pp. 1023–1036, 2013.
- L. H. Tein and R. Ramli, “Recent advancements of nurse scheduling models and a potential path,” in Proceedings of 6th IMT-GT Conference on Mathematics, Statistics and Its Applications (ICMSA '10), pp. 395–409, 2010.
- V. Bhargava, S. E. K. Fateen, and A. Bonilla-Petriciolet, “Cuckoo search: a new nature-inspired optimization method for phase equilibrium calculations,” Fluid Phase Equilibria, vol. 337, pp. 191–200, 2013.
- Z. Moravej and A. Akhlaghi, “A novel approach based on cuckoo search for DG allocation in distribution network,” International Journal of Electrical Power and Energy Systems, vol. 44, no. 1, pp. 672–679, 2013.
- I. Pavlyukevich, “Lévy flights, non-local search and simulated annealing,” Journal of Computational Physics, vol. 226, no. 2, pp. 1830–1844, 2007.
- R. N. Mantegna, “Fast, accurate algorithm for numerical simulation of Lévy stable stochastic processes,” Physical Review E, vol. 49, no. 4, pp. 4677–4683, 1994.
Copyright © 2014 Erik Cuevas and Adolfo Reyna-Orta. 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.