Code covered by the BSD License  

Highlights from
One Rank Cuckoo Search (ORCS) algorithm

One Rank Cuckoo Search (ORCS) algorithm

by

 

01 May 2013 (Updated )

An improved cuckoo search optimization algorithm. Well competent and easy to use.

Rastrigin(x)
function y = Rastrigin(x)
% Rastrigin function
% Matlab Code by A. Hedar (Sep. 29, 2005).
% Last updated by Ahmed Tawfik (Apr. 30, 2013).
n = size(x,2); 
s = 0;
for j = 1:n
    s = s+(x(j)^2-10*cos(2*pi*x(j))); 
end
y = 10*n+s;

Contact us