Which mechanisms are at place between parents and offspring generation (2)?
2. (random) Mutation
First step of designing EA?
+ what does it need to be?
+ What forms can it take?
Designing a representation (phenotype) for an individual solution
+ that must be relevant to the problem we’re solving
+ it can be discrete value (binary, integer)
Example discrete representation
+ example mutation
-> how often does it happen?
Binary alphabet
10100011
-> single 0’s are genes, the whole 8 bit block is a chromosome
Mutation
10101011
-> based on certain probability for each gene
Example order based representation
+ What are individuals represented as?
+ What is it used for?
+ Example for mutation
Traveling salesman (city gets assigned number 1-N, solution could be 5,4,2,1,3 -> fasted way)
+Individuals are represented as permutations
+Used for ordering and sequencing problems
original 1 2 3 4 5 mutation 1 4 3 2 5 -> Swap
What is the most costly step for a real EA application?
-> What do we have to avoid?
Evaluating an individual
-> don’t re-evaluated unmodified individuals
Mutation operators
Recombination operators
(3) important points
2. representation?
Example Recombination for discrete representation
Parent 1 Parent 2 1 1 1 1 1 0 0 0 0 0 cut at random point (n=3) child 1 child 2 1 1 1 0 0 0 0 0 1 1
Selection strategy
Example rank based selection
Replacement strategy
1. what does it affect? How so?
Deciding which individuals to kill effects the selection pressure
Elitism
Re-introducing the individual with the highest fitness in the population
Preservation
Keep individual with highest fitness in safe place
Recombination vs Mutations
Recombination vs Mutations
Stopping criterions (4)
Algorithm performance
Practical performance
At which problems is EA superior (3)?
Key issue
1. Exploration
Sample unknown regions
If too much exploration (random search) there will be no convergence
Key issue
2. Exploitation
Try to improve the best-so-far individuals
Too much of it leads to local search only.
The algorithm will converge to a local optimum.