shuffled complex evolution
TRANSCRIPT
1
Shuffled Complex Evolution
2
Shuffled Complex EvolutionAn Evolutionary algorithm That performs local and global
search
A solution evolves locally through a memetic evolution
(Local search)
This local search is similar to that performed by the particle
swarm optimization
Then, it evolves globally by changing of information from
parallel local searches (Global search)
This is also called or similar to what is called “Shuffled frog
leaping algorithm”
2
3
A solution to a given problem is represented in the form of a
string consisting of a set of elements (memes) that hold a
set of values for the optimization variables
The fitness of each individual is determined by evaluating it
against an objective function
Shuffled Complex Evolution
1 2 3 . . . . . . . . . . . . . . . . . N
Variable value
Number of variables
78 18 52 2 61. . . .97 36 30 44 3
4
Each individual represents a feasible solution for the
problem under study
The length of the chromosome equals the number of
variables
The solution of a given problem started by creating
population at random
Calculating the fitness of each individual
Then, Starting the evolutionary process
Shuffled Complex Evolution
3
5
The whole population is divided into a set of memeplexes
(subsets of the whole domain)
Each subset represents a local area of the whole domain
A local search is performed at each memeplex through a
memetic evolution
After a number of memetic evolution steps, information is
passed among memeplexes through a shuffling process
The local search and the shuffling processes continue
until convergence criteria are satisfied
Shuffled Complex EvolutionEvolutionary Process
6
So, shuffled complex evolution tries to balance between a
wide-scan of a large solution space and deep search of
promising locations
It depends mainly on partitioning the solution space into
local communities and perform local search within these
communities
Then, it shuffles these local communities to perform global
search
Shuffled Complex EvolutionEvolutionary Process
4
7
So, shuffled complex evolution tries to balance between a
wide-scan of a large solution space and deep search of
promising locations
It depends mainly on partitioning the solution space into
local communities and perform local search within these
communities
Then, it shuffles these local communities to perform global
search
Shuffled Complex EvolutionEvolutionary Process
8
The population is sorted in a descending order according to
their fitness
Then, the entire population is divided into m memeplexes,
each containing n individuals (i.e., P = m x n)
To ensure that each memeplex represents the whole
solution space, in this process, the first individual goes to
the first memeplex, the second goes to the second
memeplex, individual m goes to the mth memeplex, and
individual m + 1 goes to the first memeplex, and so on
Shuffled Complex EvolutionEvolutionary Process
5
9
Within each memeplex, the individuals with the best and
the worst fitness are identified as Xb and Xw, respectively
Also, the individual with the global best fitness is identified
as Xg
Then, an evolution process is applied to improve the
individual with the worst fitness in each cycle
SCE applies memetic evolution (cultural) rather than
genetic (biological) evolution
Shuffled Complex EvolutionEvolutionary Process
10
Accordingly, the position of the individual with the worst
fitness is adjusted to improve its position through
exchanging information with the best solution
Change in position (Di) = rand() . (Xb – Xw)
New position Xw = current position Xw + Di
Shuffled Complex EvolutionEvolutionary Process
If this process produces a better solution, it replaces the
worst. Otherwise, the calculations in Eqs. 1 and 2 are
repeated with respect to the global best (Xg replaces Xb)
6
11
If no improvement becomes possible, then a new solution is
randomly generated to replace the worst one with another
having any arbitrary fitness
The calculations then continue for a specific number of
iterations within each memeplex
Then, A global search is performed b shuffling the whole
memplexes again into one pool
ideas are passed among memeplexes in a shuffling process.
The local search and the shuffling processes continue until
defined convergence criteria are satisfied
Shuffled Complex EvolutionEvolutionary Process
12
The shuffling process allows ideas to be passed among
memeplexes
Again, the whole population is sorted according to their
fitness and divided again into memeplexes
The local search and the shuffling processes continue until
defined convergence criteria are satisfied or for specific
number of iterations
Shuffled Complex EvolutionEvolutionary Process
7
Determine Xb, Xw, and Xg
Apply memetic evolution
Is new frog better than worst?
Is new frog better than worst?
Replace Worst frog
Yes
Yes
it = no of iterations
Generate a new frog randomlyNo
NoNo
NoApply memetic evolution but
with replacing Xb by Xg
Yes
m = no of memeplexes
Yes
m = m + 1
it = it + 1
it = 0
Start
Population size (p)Number of memplexes (m)Iterations in each memeplex (it)
Sort (p) in descending order
Partition p into m memeplexes
Apply local search
Shuffle the m memeplexes
Convergence criteria
satisfied
Yes
END
Determine the best solution
Generate (p) randomly
Evaluate the fitness of (p)
m = 0
No
Ant Colony Optimization
8
15
Ant Colony Optimization
Ant colony Optimization (ACO) algorithm was developed in
1996 based on the based on the fact that ants are able to
find the shortest route between their nest and a source of
food
This is done using pheromone trails, which ants deposit
whenever they travel
when ants leave their nest to search for a food source, they
randomly rotate around an obstacle, and initially the
pheromone deposits will be the same for the right and left
directions
16
Ant Colony Optimization
When the ants in the shorter direction find a food source,
they carry the food and start returning back, following their
pheromone trails, and still depositing more pheromone
9
17
Ant Colony Optimization
When the ants in the shorter direction find a food source,
they carry the food and start returning back, following their
pheromone trails, and still depositing more pheromone
an ant will most likely choose the shortest path when
returning back to the nest with food as this path will have
the most deposited pheromone
Over time, this positive feedback (autocatalytic) process
prompts all ants to choose the shorter path
18
Ant Colony OptimizationSolution Representation
The process starts by generating m random ants (solutions)
An ant k (k=1, 2, …., m) represents a solution string, with a
selected value for each variable
Each ant is then evaluated according to an objective
function
At the beginning all options are assumed to have the same
pheromone concentration
10
19
Ant Colony OptimizationSolution Representation
At the beginning all options are assumed to have the same
pheromone concentration
20
Ant Colony Optimization
In each subsequent iteration, the pheromone concentration
associated with each possible route (variable value) is
changed in a way to reinforce good solutions
Change in Pheromone Concentration
11
21
Ant Colony Optimization
The reason for allowing pheromone evaporation is to avoid
too strong influence of the old pheromone to avoid
premature solution stagnation
the change in pheromone concentration is calculated as
Change in Pheromone Concentration
This is used for minimization problems, however, in
maximization the fitness itself could be used
22
Ant Colony Optimization
Once the pheromone is updated after an iteration, the next
iteration starts by changing the ants’ paths (i.e., associated
variable values) in a manner that respects pheromone
concentration and also some heuristic preference
As such, an ant k at iteration t will change the value for each
variable according to the following probability
Change of Selection Probabilities
12
23
Ant Colony Optimization
Pij(k,t) = probability that option lij is chosen by ant k for variable i at iteration t;
ζij(t) = pheromone concentration associated with option lij at iteration t;
ηij = heuristic factor for preferring among available options and is an indicator of how good it is for ant k to select optionlij (this heuristic factor is generated by some problem
characteristics and its value is fixed for each option lij);
α and β are exponent parameters that control the relative
importance of pheromone concentration versus the heuristic factor
Change of Selection Probabilities
Start
-Input data -Number of Iterations (t)-Number of ants (m)
t = 0
t = t + 1
Construct a solution(an ant)
Calculate objective function
All solutions (mants) created
All iterations or termination
criteria satisfied
Update pheromone matrixYes
No
No
Yes
End