SlideShare a Scribd company logo
1 of 25
Prepared by
Jeethan & Jun
1
 Overview
 Evolutionary Algorithms (EA)
 EA’s v/s Traditional search
 Pseudo code
 Parameters
 Characteristics of EAs
 Types of Eas
 Advantages and disadvantages
 References
2
 Search Problem
 Darwinian natural selection
 Evolutionary Algorithms are population-
based “generate-and-test” search algorithms
3
4
 Evolutionary algorithms operate on a
population of potential solutions applying the
principle of survival of the fittest to produce
better approximations to a solution.
 A type of Guided Random Search Used for
optimization problems
5
 search is performed in a parallel manner
 Provides a number of potential solutions to a
given problem.
 They are generally more straight forward to
apply
 The final choice is left to the user
6
7
 Parameters of EAs may differ from one type
to another. Main parameters:
◦ Population size
◦ Maximum number of generations
◦ Elitism factor
◦ Mutation rate
◦ Cross-over rate
8
 There are six main characteristics of EAs
◦ Representation
◦ Selection
◦ Recombination
◦ Mutation
◦ Fitness Function
◦ Survivor Decision
 Representation:
◦ How to define an individual
◦ The way to store the optimization parameters.
◦ Determined according to the problem.
◦ Different types:
 Binary representation
 Real-valued representation
 Lisp-S expression representation
9
 Selection
◦ Selection determines, which individuals are chosen for
mating (recombination) and how many offspring each
selected individual produces.
◦ Parents are selected according to their fitness by means of
one of the following algorithms:
 Roulette wheel selection
 Truncation selection
 Recombination
◦ Determines how to combine the genes of selected parents
◦ Types is determined according to the representation :
 Bits of the genes
 Values of the genes
10
 Mutation
◦ Change on a single gene of the individual
 Fitness Function
◦ Gives an intuition about how good the individual is.
 Survivor Decision
◦ Idea of survival of the best individuals. It is about
Elitism factor.
11
 Genetic Algorithms(GA) – binary
strings
 Genetic Programming(GP) –
expression trees
 Evolutionary Strategies(ES) – real-
valued vectors
 Evolutionary Programming(EP) – finite
state machines
Evolutionary Algorithms
Genetic
Algorithms
Genetic
Programming
Evolutionary
Programming
Evolutionary
Strategies
 Optimum parameter – Random strategy
 Classified as global search heuristics
 Represented by byte arrays
 Two requirements
• Genetic representation
• Fitness function
 Condition principal
 Finding the best
path between
two points in
"Grid World"
 Creatures in
world:
◦ Occupy a single
cell
◦ Can move to
neighboring cells
 Goal: Travel
from the gray
cell to the green
cell in the
shortest number
of steps
Finish
Start
 Representation:
N=00, E=10,
S=11,W=01
00 10 10 00 10 11 10 10 00 00 10 00 10 10 00 01 00 10 00 10 00 10 10 00 10 11 10 10 00 00 10 00 10 10 00 01 00 10 00 10
10 10 00 10 11 10 00 00 01 00 00 10 00 01 00 01 00 10 10 10
00 00 10 10 00 10 10 11 10 11 10 00 10 00 00 00 01 00 10 00
p1 =
p2 =
p2 =
10 10 00 10 11 10 00 00 01 00 00 10 00 01 00 01 00 10 10 10
00 00 10 10 00 10 10 11 10 11 10 00 10 00 00 00 01 00 10 00
p2 =
p2 =
00 00 10 10 00 10 10 11 10 11 10 00 00 01 00 01 00 10 10 10
p1+2 =
p1 = 00 11 01 10 10 00 00 01 00 10 00 10 11 10 00 00 10 00 10 10
p1’ = 00 11 00 10 10 00 10 01 00 10 00 10 11 10 00 00 11 00 10 10
 Population
 Fitness
function
 Mutation
 Selection
 Cross over
 find the proper program
 simple problems – High computation power
 represented by expression trees
 mainly operate cross-over
 mutation only can be applied once
 no fixed representation
 Only use mutation operation
 child is determined in a way of mutation
 So, we can conclude that there are three
steps:
◦ Initialize population and calculate fitness values
◦ Mutate the parents and generate new population
◦ Calculate fitness values of new generation and
continue from the second step
 mutation is very critical
 main application areas:
◦ Cellular design problems.
◦ Constraint optimization
◦ Testing students’ code
◦ ......
 not widely used
 Mainly use the real-vectors as coding
representation
 Very flexible
 Representation: represent floating, real-
vector as well
 Selection: neighborhood method
◦ plus selection (both parent and child)
◦ comma selection (only parent)
 Fitness function: objective function values.
 recombination & mutation: use
additional parameters sigma
represent the mutation amount
 three recombination functions:
◦ Arithmetic mean of the parents
◦ Geometric mean of the parents
◦ Discrete cross-over method.
 There are many application areas
of the ES. Some of
them:Optimization of Road
Networks
◦ Local Minority Game
◦ Multi-Criterion Optimization
◦ .....
21
22
 Advantages of Ea’s
• Large application domain
• Complex search problems
• Easy to work in parallel
• Robustness
 Disadvantages of Ea’s
• Adjustment of parameters (trial-and-error)
 No guarantee for finding optimal solutions in a finite amount of time
 https://www.youtube.com/watch?v=ejxfTy4lI
6I
 http://en.wikipedia.org/wiki/Evolutionary_algorithm
 http://www.geatbx.com/docu/algindex-02.html#TopOfPage
 http://www.faqs.org/faqs/ai-faq/genetic/part2/section-
3.html
 http://en.wikipedia.org/wiki/Genetic_programming
 http://alphard.ethz.ch/gerber/approx/default.html
 http://en.wikipedia.org/wiki/Evolutionary_programming
 http://en.wikipedia.org/wiki/Genetic_algorithm
 http://homepage.sunrise.ch/homepage/pglaus/gentore.htm
 http://www.ads.tuwien.ac.at/raidl/tspga/TSPGA.html
 http://en.wikipedia.org/wiki/Evolution_strategy
24
?
25

More Related Content

Similar to Evolutionary Algorithms Guide for Optimization Problems

Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithmsshadanalam
 
Solving non linear programming minimization problem using genetic algorithm
Solving non linear programming minimization problem using genetic algorithmSolving non linear programming minimization problem using genetic algorithm
Solving non linear programming minimization problem using genetic algorithmLahiru Dilshan
 
Analysis of Parameter using Fuzzy Genetic Algorithm in E-learning System
Analysis of Parameter using Fuzzy Genetic Algorithm in E-learning SystemAnalysis of Parameter using Fuzzy Genetic Algorithm in E-learning System
Analysis of Parameter using Fuzzy Genetic Algorithm in E-learning SystemHarshal Jain
 
Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Ahmed Gad
 
Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Kapil Khatiwada
 
AI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfAI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfThninh2
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceSahil Kumar
 
Genetic Algorithm (1).pdf
Genetic Algorithm (1).pdfGenetic Algorithm (1).pdf
Genetic Algorithm (1).pdfAzmiNizar1
 
Advanced Optimization Techniques
Advanced Optimization TechniquesAdvanced Optimization Techniques
Advanced Optimization TechniquesValerie Felton
 
Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Aleksander Stensby
 
GA of a Paper 2012.pptx
GA of a Paper 2012.pptxGA of a Paper 2012.pptx
GA of a Paper 2012.pptxwaqasjavaid26
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktimRaktim Halder
 
Genetic algorithm_raktim_IITKGP
Genetic algorithm_raktim_IITKGP Genetic algorithm_raktim_IITKGP
Genetic algorithm_raktim_IITKGP Raktim Halder
 
Data Science - Part XIV - Genetic Algorithms
Data Science - Part XIV - Genetic AlgorithmsData Science - Part XIV - Genetic Algorithms
Data Science - Part XIV - Genetic AlgorithmsDerek Kane
 
Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02Amna Saeed
 

Similar to Evolutionary Algorithms Guide for Optimization Problems (20)

Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithms
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
CI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptxCI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptx
 
Solving non linear programming minimization problem using genetic algorithm
Solving non linear programming minimization problem using genetic algorithmSolving non linear programming minimization problem using genetic algorithm
Solving non linear programming minimization problem using genetic algorithm
 
Analysis of Parameter using Fuzzy Genetic Algorithm in E-learning System
Analysis of Parameter using Fuzzy Genetic Algorithm in E-learning SystemAnalysis of Parameter using Fuzzy Genetic Algorithm in E-learning System
Analysis of Parameter using Fuzzy Genetic Algorithm in E-learning System
 
Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)
 
Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)
 
AI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfAI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdf
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 
Genetic Algorithm (1).pdf
Genetic Algorithm (1).pdfGenetic Algorithm (1).pdf
Genetic Algorithm (1).pdf
 
04 1 evolution
04 1 evolution04 1 evolution
04 1 evolution
 
RM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lectureRM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lecture
 
Advanced Optimization Techniques
Advanced Optimization TechniquesAdvanced Optimization Techniques
Advanced Optimization Techniques
 
Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014
 
GA of a Paper 2012.pptx
GA of a Paper 2012.pptxGA of a Paper 2012.pptx
GA of a Paper 2012.pptx
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktim
 
Genetic algorithm_raktim_IITKGP
Genetic algorithm_raktim_IITKGP Genetic algorithm_raktim_IITKGP
Genetic algorithm_raktim_IITKGP
 
Data Science - Part XIV - Genetic Algorithms
Data Science - Part XIV - Genetic AlgorithmsData Science - Part XIV - Genetic Algorithms
Data Science - Part XIV - Genetic Algorithms
 
Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02
 
genetic computing
genetic computinggenetic computing
genetic computing
 

Recently uploaded

Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
TOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsTOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsssuserddc89b
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCEPRINCE C P
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaDashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaPraksha3
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real timeSatoshi NAKAHIRA
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfSELF-EXPLANATORY
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...jana861314
 
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.PraveenaKalaiselvan1
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxSwapnil Therkar
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Genomic DNA And Complementary DNA Libraries construction.
Genomic DNA And Complementary DNA Libraries construction.Genomic DNA And Complementary DNA Libraries construction.
Genomic DNA And Complementary DNA Libraries construction.k64182334
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 

Recently uploaded (20)

Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
TOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsTOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physics
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaDashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real time
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
 
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Genomic DNA And Complementary DNA Libraries construction.
Genomic DNA And Complementary DNA Libraries construction.Genomic DNA And Complementary DNA Libraries construction.
Genomic DNA And Complementary DNA Libraries construction.
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 

Evolutionary Algorithms Guide for Optimization Problems

  • 2.  Overview  Evolutionary Algorithms (EA)  EA’s v/s Traditional search  Pseudo code  Parameters  Characteristics of EAs  Types of Eas  Advantages and disadvantages  References 2
  • 3.  Search Problem  Darwinian natural selection  Evolutionary Algorithms are population- based “generate-and-test” search algorithms 3
  • 4. 4
  • 5.  Evolutionary algorithms operate on a population of potential solutions applying the principle of survival of the fittest to produce better approximations to a solution.  A type of Guided Random Search Used for optimization problems 5
  • 6.  search is performed in a parallel manner  Provides a number of potential solutions to a given problem.  They are generally more straight forward to apply  The final choice is left to the user 6
  • 7. 7
  • 8.  Parameters of EAs may differ from one type to another. Main parameters: ◦ Population size ◦ Maximum number of generations ◦ Elitism factor ◦ Mutation rate ◦ Cross-over rate 8
  • 9.  There are six main characteristics of EAs ◦ Representation ◦ Selection ◦ Recombination ◦ Mutation ◦ Fitness Function ◦ Survivor Decision  Representation: ◦ How to define an individual ◦ The way to store the optimization parameters. ◦ Determined according to the problem. ◦ Different types:  Binary representation  Real-valued representation  Lisp-S expression representation 9
  • 10.  Selection ◦ Selection determines, which individuals are chosen for mating (recombination) and how many offspring each selected individual produces. ◦ Parents are selected according to their fitness by means of one of the following algorithms:  Roulette wheel selection  Truncation selection  Recombination ◦ Determines how to combine the genes of selected parents ◦ Types is determined according to the representation :  Bits of the genes  Values of the genes 10
  • 11.  Mutation ◦ Change on a single gene of the individual  Fitness Function ◦ Gives an intuition about how good the individual is.  Survivor Decision ◦ Idea of survival of the best individuals. It is about Elitism factor. 11
  • 12.  Genetic Algorithms(GA) – binary strings  Genetic Programming(GP) – expression trees  Evolutionary Strategies(ES) – real- valued vectors  Evolutionary Programming(EP) – finite state machines
  • 14.  Optimum parameter – Random strategy  Classified as global search heuristics  Represented by byte arrays  Two requirements • Genetic representation • Fitness function  Condition principal
  • 15.  Finding the best path between two points in "Grid World"  Creatures in world: ◦ Occupy a single cell ◦ Can move to neighboring cells  Goal: Travel from the gray cell to the green cell in the shortest number of steps Finish Start
  • 16.  Representation: N=00, E=10, S=11,W=01 00 10 10 00 10 11 10 10 00 00 10 00 10 10 00 01 00 10 00 10 00 10 10 00 10 11 10 10 00 00 10 00 10 10 00 01 00 10 00 10 10 10 00 10 11 10 00 00 01 00 00 10 00 01 00 01 00 10 10 10 00 00 10 10 00 10 10 11 10 11 10 00 10 00 00 00 01 00 10 00 p1 = p2 = p2 = 10 10 00 10 11 10 00 00 01 00 00 10 00 01 00 01 00 10 10 10 00 00 10 10 00 10 10 11 10 11 10 00 10 00 00 00 01 00 10 00 p2 = p2 = 00 00 10 10 00 10 10 11 10 11 10 00 00 01 00 01 00 10 10 10 p1+2 = p1 = 00 11 01 10 10 00 00 01 00 10 00 10 11 10 00 00 10 00 10 10 p1’ = 00 11 00 10 10 00 10 01 00 10 00 10 11 10 00 00 11 00 10 10  Population  Fitness function  Mutation  Selection  Cross over
  • 17.  find the proper program  simple problems – High computation power  represented by expression trees  mainly operate cross-over  mutation only can be applied once
  • 18.  no fixed representation  Only use mutation operation  child is determined in a way of mutation  So, we can conclude that there are three steps: ◦ Initialize population and calculate fitness values ◦ Mutate the parents and generate new population ◦ Calculate fitness values of new generation and continue from the second step
  • 19.  mutation is very critical  main application areas: ◦ Cellular design problems. ◦ Constraint optimization ◦ Testing students’ code ◦ ......  not widely used
  • 20.  Mainly use the real-vectors as coding representation  Very flexible  Representation: represent floating, real- vector as well  Selection: neighborhood method ◦ plus selection (both parent and child) ◦ comma selection (only parent)  Fitness function: objective function values.
  • 21.  recombination & mutation: use additional parameters sigma represent the mutation amount  three recombination functions: ◦ Arithmetic mean of the parents ◦ Geometric mean of the parents ◦ Discrete cross-over method.  There are many application areas of the ES. Some of them:Optimization of Road Networks ◦ Local Minority Game ◦ Multi-Criterion Optimization ◦ ..... 21
  • 22. 22  Advantages of Ea’s • Large application domain • Complex search problems • Easy to work in parallel • Robustness  Disadvantages of Ea’s • Adjustment of parameters (trial-and-error)  No guarantee for finding optimal solutions in a finite amount of time
  • 24.  http://en.wikipedia.org/wiki/Evolutionary_algorithm  http://www.geatbx.com/docu/algindex-02.html#TopOfPage  http://www.faqs.org/faqs/ai-faq/genetic/part2/section- 3.html  http://en.wikipedia.org/wiki/Genetic_programming  http://alphard.ethz.ch/gerber/approx/default.html  http://en.wikipedia.org/wiki/Evolutionary_programming  http://en.wikipedia.org/wiki/Genetic_algorithm  http://homepage.sunrise.ch/homepage/pglaus/gentore.htm  http://www.ads.tuwien.ac.at/raidl/tspga/TSPGA.html  http://en.wikipedia.org/wiki/Evolution_strategy 24
  • 25. ? 25