![]() | ||
In operations research, cuckoo search is an optimization algorithm developed by Xin-she Yang and Suash Deb in 2009. It was inspired by the obligate brood parasitism of some cuckoo species by laying their eggs in the nests of other host birds (of other species). Some host birds can engage direct conflict with the intruding cuckoos. For example, if a host bird discovers the eggs are not their own, it will either throw these alien eggs away or simply abandon its nest and build a new nest elsewhere. Some cuckoo species such as the New World brood-parasitic Tapera have evolved in such a way that female parasitic cuckoos are often very specialized in the mimicry in colors and pattern of the eggs of a few chosen host species Cuckoo search idealized such breeding behavior, and thus can be applied for various optimization problems.
Contents
Metaphor
Cuckoo search (CS) uses the following representations:
Each egg in a nest represents a solution, and a cuckoo egg represents a new solution. The aim is to use the new and potentially better solutions (cuckoos) to replace a not-so-good solution in the nests. In the simplest form, each nest has one egg. The algorithm can be extended to more complicated cases in which each nest has multiple eggs representing a set of solutions.
CS is based on three idealized rules:
- Each cuckoo lays one egg at a time, and dumps its egg in a randomly chosen nest;
- The best nests with high quality of eggs will carry over to the next generation;
- The number of available hosts nests is fixed, and the egg laid by a cuckoo is discovered by the host bird with a probability
p a ∈ ( 0 , 1 ) . Discovering operate on some set of worst nests, and discovered solutions dumped from farther calculations.
In addition, Yang and Deb discovered that the random-walk style search is better performed by Lévy flights rather than simple random walk.
Algorithm
The pseudo-code can be summarized as:
Objective function:An important advantage of this algorithm is its simplicity. In fact, comparing with other population- or agent-based metaheuristic algorithms such as particle swarm optimization and harmony search, there is essentially only a single parameter
Random walks and the step size
An important issue is the applications of Lévy flights and random walks in the generic equation for generating new solutions
where
If s is too large, then the new solution generated will be too far away from the old solution (or even jump out side of the bounds). Then, such a move is unlikely to be accepted. If s is too small, the change is too small to be significant, and consequently such search is not efficient. So a proper step size is important to maintain the search as efficient as possible.
As an example, for simple isotropic random walks, we know that the average distance
where
For a typical length scale L of a dimension of interest, the local search is typically limited in a region of
Algorithm and convergence analysis will be fruitful, because there are many open problems related to metaheuristics