N
iter=iter+1
iter>itermxa
Set ABC algorithm parameters
Initialize each honey source according to formula 1
Hire bees to search the neighborhood of each honey source
Observe bees and calculate the probability to select honey source
begin
Output optimal solution
Y
end