SlideShare a Scribd company logo
1 of 26
Advance operator and
technique in Genetic
algorithm
JMHM Jayamaha
SEU/IS/10/PS/104
PS0372
Content
 The low-level operators
 Diploidy, Dominance
 Inversion and Reordering
 Partially Matched Crossover (PMX).
 Order corssover
 Multi-Objective Optimization
 Knowledge Based Techniques
 Summary
 References
Diploidy, Dominance
 When nature wants to construct a more complex or animal life to rely upon, a
more complex underlying chromosome structure is needed and this is
achieved by the diploid or double stranded chromosomes
 In the diploid form, a genotype carries one or more pairs of chromosomes,
each containing information for the same function.
 Consider a diploid chromosome structure where different letters represent
different alleles (different gene function values)
 Allele represents the property of a particular gene
Diploidy, Dominance (continue)
 Each locus of a letter represents one allele.
 The uppercase and the lowercase letters mentioned above represent the
alternative alleles at that position.
 Originally, in nature each allele may represent different phenotypic
properties. For example Q may represent gray haired gene and q may be
black haired gene.
 a pair of genes exists describing each function; there should be some aspect
to decide which of the two values to choose because,
 for example, the phenotype may not have both gray haired and black haired at the
same time.
Diploidy, Dominance(continue)
 The basic approach for eliminating this conflict of redundancy is through a
genetic called dominance.
 At a locus, it has been noted that one allele (called the dominant allele) will
take the precedence over the other alternative allele (called the recessive
allele).
 In the above example, if it is assumed that all uppercase letters are dominant
and all lowercase letters are recessive, the phenotype expressed by the
example chromosome is written as,
Diploidy, Dominance(continue)
 The dominant gene is expressed when heterozygote (mixed, Pp→P) or
homozygote (SS→S) and the recessive genes expressed only when homozygote
(tt→t).
Diploidy, Dominance(continue)
 Advantages
 Diploid chromosomes lend advantages to individuals where the environment may
change over a period of time
 Disadvantages
 Currently harmful, but potentially useful alleles can still be maintained, but in a
recessive position
 In a GA, diploidy might be useful in an on-line application where the system
could switch between different states.
Inversion and Reordering
 Inversion operator is a primary natural mechanism to recode a problem.
 In inversion operator, two points are selected along the length of the
chromosome, the chromosome is cut at those points and the end points of the
section cut, gets reversed (switched, swapped).
 To make it clear, consider a chromosome of length 8 where two inverse points
are selected random (the points are 2 and 6 denoted by ˆ character)
 On using inversion operator, the string becomes,
Inversion and Reordering(continue)
 The features of inversion and crossover are combined together to produce a
single operator, which lead to the development of other reordering operators.
On combining inversion and crossover, the reordering operators formulated
are
 1. Partially Matched Crossover (PMX).
 2. Order Crossover (OX).
 3. Cycle Crossover (CX).
Partially Matched Crossover (PMX).
 In Partially Matched Crossover, two strings are aligned, and two crossover
points are selected uniformly at random along the length of the strings.
 The two crossover points give a matching selection, which is used to affect a
cross through position by-position exchange operations.
 Consider two strings
 Two crossover points were selected at random, and PMX proceeds by position
wise exchanges.
Partially Matched Crossover (PMX).(continue)
 In-between the crossover points the genes get exchanged i.e., the 3 and the
2, the 6 and the 7, the 5 and the 9 exchange places. This is by mapping
parent B to parent A. Now mapping parent A to parent B, the 7 and the 6, the
9 and the 5, the 2 and the 3 exchange places.
 Thus after PMX, the offspring produced as follows
Order Crossover (OX)
 The order crossover begins in a manner similar to PMX. But instead of using
point by- point exchanges as PMX does, order crossover applies sliding motion
to fill the left out holes by transferring the mapped positions.
 Consider the parent chromosomes,
 On mapping parent B with parent A, the places 3,6 and 5 are left with holes.
Order Crossover (OX)(continue)
 These holes are now filled with a sliding motion that starts with the second
crossover point.
 The holes are then filled with the matching section taken from the parent A.
Thus performing this operation, the offspring produced using order crossover
is as given below.
Multi-Objective Optimization
 Multi-objective optimization problems have received interest form researches
since early 1960s
 In a multi-objective optimization problem, multiple objective functions need
to be optimized simultaneously.
 In the case of multiple objectives, there does not necessarily exist a solution
that is best with respect to all objectives because of differentiation between
objectives.
 A solution may be best in one objective but worst in another.
 Therefore, there usually exist a set of solutions for the multiple-objective
 case, which cannot simply be compared with each other.
Multi-Objective Optimization(continue)
 For such solutions, called Pareto optimal solutions or non-dominated
solutions, no improvement is possible in any objective function without
sacrificing at least one of the other objective functions.
 Thus by using the concept of Pareto-optimality we can find a set of solutions
that are all optimal compromises between the conflicting objectives.
 Pareto-optimality is a concept used economics, game theory, etc.
 In the past few years, there has been a wide development in applying genetic
algorithms to solve the multi-objective optimization problem, known as
evolutionary multi-objective optimization or genetic multi-objective
optimization.
Multi-Objective Optimization(continue)
 The population-to-population approach is beneficial in the exploration of
Pareto-optimal solutions.
 The main issue in solving multi-objective optimization problems by use of
genetic algorithms is how to determine the fitness value of individuals
according to multiple objectives.
Knowledge Based Techniques
 While most research has gone into GAs using the traditional crossover and
mutation operators, some have advocated designing new operators for each
task, using domain knowledge.
 This makes each GA more task specific (less robust), but may improve
performance significantly.
 GA is being designed to tackle a real world problem, and has to compete with
other search and optimization techniques, the incorporation of domain
knowledge often makes sense.
 Domain knowledge may be used to prevent obviously unfit chromosomes,or
those, which would violate problem constraints, from being produced in the
first place.
Knowledge Based Techniques(continue)
 This avoids wasting time evaluating such individuals, and avoids introducing
poor performers into the population.
 For example, a researcher designed analogous crossover for his task in robotic
trajectory generation.
 This used local information in the chromosome (i.e., the values of just a few
genes) to decide which crossover sites would be certain to yield unfit offspring.
 Domain knowledge can also be used to design local improvement operators,
which allow more efficient exploration of the search space around good point
 It can also be used to perform heuristic initialization of the population, so
that search begins with some reasonably good points, rather than a random
set.
Knowledge Based Techniques(continue)
 The various methods for combining problem specific information with genetic
algorithm are as follows:
 Hybrid schemes
 Parallel computers.
Hybrid Schemes
 In hybrid schemes GAs are used to get close to optimum value, then
conventional optimization schemes like greedy search, gradient search or
stochastic hill climbing may be used to become closer to optimum value.
 The hybrid scheme can be represented using scheme as shown in Figure
Hybrid Schemes (continue)
 Thus from Figure , it can be noted that the genetic algorithm sorts out peak
and the local search techniques are used for hill climbing. Considering greedy
heuristic crossover for Traveling salesman problem, if chromosomes are
permutations of city numbers, then normal crossover may produce infeasible
chromosomes. This is done by,
 Start at a random city X and go to the closest city to X using the parent’s tours;
repeat.
Parallel Computers
 Using parallel computers in Genetic Algorithms, master/slave operation is
performed.
 Master does selection and mating and slaves evaluated fitness of new
chromosomes.
 Master waits for all the slaves to finish or master can hand out new work as
each slave finishes.
 Thus on a parallel machine the conventional optimization can be done on
each species on its own CPU. This is shown in next figure.
Summary
 The low-level operators
 Diploidy, Dominance
 Multi-Objective Optimization
 Knowledge Based Techniques
References
 Introduction to Genetic Algorithms by S.N.Sivanandam · S.N.Deepa (page 83 –
104)

More Related Content

What's hot

6G mobile technology
6G mobile technology6G mobile technology
6G mobile technologyAJOVE
 
Parallel computing
Parallel computingParallel computing
Parallel computingVinay Gupta
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmRespa Peter
 
Artificial Intelligence techniques
Artificial Intelligence techniquesArtificial Intelligence techniques
Artificial Intelligence techniquesPavan Kumar Talla
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and LiftingMegha Sharma
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithmsAboul Ella Hassanien
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsAbdullah Alfadhly
 
5 g smart diabetes toward personalized diabetes diagnosis with healthcare big...
5 g smart diabetes toward personalized diabetes diagnosis with healthcare big...5 g smart diabetes toward personalized diabetes diagnosis with healthcare big...
5 g smart diabetes toward personalized diabetes diagnosis with healthcare big...Venkat Projects
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design ApproachA B Shinde
 
advanced computer architesture-conditions of parallelism
advanced computer architesture-conditions of parallelismadvanced computer architesture-conditions of parallelism
advanced computer architesture-conditions of parallelismPankaj Kumar Jain
 
System interconnect architecture
System interconnect architectureSystem interconnect architecture
System interconnect architectureGagan Kumar
 

What's hot (20)

VLIW Processors
VLIW ProcessorsVLIW Processors
VLIW Processors
 
6G mobile technology
6G mobile technology6G mobile technology
6G mobile technology
 
Parallel computing
Parallel computingParallel computing
Parallel computing
 
Artificial Intelligence Algorithms
Artificial Intelligence AlgorithmsArtificial Intelligence Algorithms
Artificial Intelligence Algorithms
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Artificial Intelligence techniques
Artificial Intelligence techniquesArtificial Intelligence techniques
Artificial Intelligence techniques
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
 
Millimeter Waves (mmWaves)
Millimeter Waves (mmWaves)Millimeter Waves (mmWaves)
Millimeter Waves (mmWaves)
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
L9 fuzzy implications
L9 fuzzy implicationsL9 fuzzy implications
L9 fuzzy implications
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithms
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and Protocols
 
5 g smart diabetes toward personalized diabetes diagnosis with healthcare big...
5 g smart diabetes toward personalized diabetes diagnosis with healthcare big...5 g smart diabetes toward personalized diabetes diagnosis with healthcare big...
5 g smart diabetes toward personalized diabetes diagnosis with healthcare big...
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design Approach
 
6lowpan
6lowpan6lowpan
6lowpan
 
advanced computer architesture-conditions of parallelism
advanced computer architesture-conditions of parallelismadvanced computer architesture-conditions of parallelism
advanced computer architesture-conditions of parallelism
 
Genetic Algorithm
Genetic Algorithm Genetic Algorithm
Genetic Algorithm
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
System interconnect architecture
System interconnect architectureSystem interconnect architecture
System interconnect architecture
 

Viewers also liked

Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic AlgorithmSHIMI S L
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmgarima931
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmszamakhan
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceSahil Kumar
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by ExampleNobal Niraula
 
A multilevel automatic thresholding method based on a genetic algorithm for a...
A multilevel automatic thresholding method based on a genetic algorithm for a...A multilevel automatic thresholding method based on a genetic algorithm for a...
A multilevel automatic thresholding method based on a genetic algorithm for a...Akshit Arora
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmsguest9938738
 
Edge detection using evolutionary algorithms new
Edge detection using evolutionary algorithms newEdge detection using evolutionary algorithms new
Edge detection using evolutionary algorithms newPriyanka Sharma
 
Security Patterns with WSO2 ESB
Security Patterns with WSO2 ESBSecurity Patterns with WSO2 ESB
Security Patterns with WSO2 ESBWSO2
 
Wso2 esb-maintenance-guide
Wso2 esb-maintenance-guideWso2 esb-maintenance-guide
Wso2 esb-maintenance-guideChanaka Fernando
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithmsanas_elf
 

Viewers also liked (20)

Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
ZIG ZAG FEEDER
ZIG ZAG FEEDERZIG ZAG FEEDER
ZIG ZAG FEEDER
 
3ppt
3ppt3ppt
3ppt
 
A multilevel automatic thresholding method based on a genetic algorithm for a...
A multilevel automatic thresholding method based on a genetic algorithm for a...A multilevel automatic thresholding method based on a genetic algorithm for a...
A multilevel automatic thresholding method based on a genetic algorithm for a...
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Edge detection using evolutionary algorithms new
Edge detection using evolutionary algorithms newEdge detection using evolutionary algorithms new
Edge detection using evolutionary algorithms new
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Clipping ( Cohen-Sutherland Algorithm )
Clipping ( Cohen-Sutherland Algorithm )Clipping ( Cohen-Sutherland Algorithm )
Clipping ( Cohen-Sutherland Algorithm )
 
Security Patterns with WSO2 ESB
Security Patterns with WSO2 ESBSecurity Patterns with WSO2 ESB
Security Patterns with WSO2 ESB
 
Artificial Neural Network Topology
Artificial Neural Network TopologyArtificial Neural Network Topology
Artificial Neural Network Topology
 
Distributed System - Security
Distributed System - SecurityDistributed System - Security
Distributed System - Security
 
Wso2 esb-maintenance-guide
Wso2 esb-maintenance-guideWso2 esb-maintenance-guide
Wso2 esb-maintenance-guide
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Wso2 esb-rest-integration
Wso2 esb-rest-integrationWso2 esb-rest-integration
Wso2 esb-rest-integration
 

Similar to Advance operator and technique in genetic algorithm

Genetic Algorithm 2 -.pptx
Genetic Algorithm 2 -.pptxGenetic Algorithm 2 -.pptx
Genetic Algorithm 2 -.pptxTAHANMKH
 
Genetic Algorithm for the Traveling Salesman Problem using Sequential Constru...
Genetic Algorithm for the Traveling Salesman Problem using Sequential Constru...Genetic Algorithm for the Traveling Salesman Problem using Sequential Constru...
Genetic Algorithm for the Traveling Salesman Problem using Sequential Constru...CSCJournals
 
Genetic Algorithm (1).pdf
Genetic Algorithm (1).pdfGenetic Algorithm (1).pdf
Genetic Algorithm (1).pdfAzmiNizar1
 
Two-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionTwo-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionXin-She Yang
 
A genetic algorithm approach to static job shop scheduling
A genetic algorithm approach to static job shop schedulingA genetic algorithm approach to static job shop scheduling
A genetic algorithm approach to static job shop schedulingNagendra Bvs
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmsswapnac12
 
Medical diagnosis classification
Medical diagnosis classificationMedical diagnosis classification
Medical diagnosis classificationcsandit
 
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...cscpconf
 
F043046054
F043046054F043046054
F043046054inventy
 
F043046054
F043046054F043046054
F043046054inventy
 
F043046054
F043046054F043046054
F043046054inventy
 
Evolutionary computing - soft computing
Evolutionary computing - soft computingEvolutionary computing - soft computing
Evolutionary computing - soft computingSakshiMahto1
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4Nandhini S
 
Parallel evolutionary approach paper
Parallel evolutionary approach paperParallel evolutionary approach paper
Parallel evolutionary approach paperPriti Punia
 

Similar to Advance operator and technique in genetic algorithm (20)

10.1.1.34.7361
10.1.1.34.736110.1.1.34.7361
10.1.1.34.7361
 
D0353027043
D0353027043D0353027043
D0353027043
 
Genetic Algorithm 2 -.pptx
Genetic Algorithm 2 -.pptxGenetic Algorithm 2 -.pptx
Genetic Algorithm 2 -.pptx
 
Genetic Algorithm for the Traveling Salesman Problem using Sequential Constru...
Genetic Algorithm for the Traveling Salesman Problem using Sequential Constru...Genetic Algorithm for the Traveling Salesman Problem using Sequential Constru...
Genetic Algorithm for the Traveling Salesman Problem using Sequential Constru...
 
Ga
GaGa
Ga
 
Genetic Algorithm (1).pdf
Genetic Algorithm (1).pdfGenetic Algorithm (1).pdf
Genetic Algorithm (1).pdf
 
Two-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionTwo-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential Evolution
 
A genetic algorithm approach to static job shop scheduling
A genetic algorithm approach to static job shop schedulingA genetic algorithm approach to static job shop scheduling
A genetic algorithm approach to static job shop scheduling
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Medical diagnosis classification
Medical diagnosis classificationMedical diagnosis classification
Medical diagnosis classification
 
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
 
Comparison
ComparisonComparison
Comparison
 
F043046054
F043046054F043046054
F043046054
 
F043046054
F043046054F043046054
F043046054
 
F043046054
F043046054F043046054
F043046054
 
Gadoc
GadocGadoc
Gadoc
 
algo presentation.pptx
algo presentation.pptxalgo presentation.pptx
algo presentation.pptx
 
Evolutionary computing - soft computing
Evolutionary computing - soft computingEvolutionary computing - soft computing
Evolutionary computing - soft computing
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4
 
Parallel evolutionary approach paper
Parallel evolutionary approach paperParallel evolutionary approach paper
Parallel evolutionary approach paper
 

Recently uploaded

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

Advance operator and technique in genetic algorithm

  • 1. Advance operator and technique in Genetic algorithm JMHM Jayamaha SEU/IS/10/PS/104 PS0372
  • 2. Content  The low-level operators  Diploidy, Dominance  Inversion and Reordering  Partially Matched Crossover (PMX).  Order corssover  Multi-Objective Optimization  Knowledge Based Techniques  Summary  References
  • 3. Diploidy, Dominance  When nature wants to construct a more complex or animal life to rely upon, a more complex underlying chromosome structure is needed and this is achieved by the diploid or double stranded chromosomes  In the diploid form, a genotype carries one or more pairs of chromosomes, each containing information for the same function.  Consider a diploid chromosome structure where different letters represent different alleles (different gene function values)  Allele represents the property of a particular gene
  • 4. Diploidy, Dominance (continue)  Each locus of a letter represents one allele.  The uppercase and the lowercase letters mentioned above represent the alternative alleles at that position.  Originally, in nature each allele may represent different phenotypic properties. For example Q may represent gray haired gene and q may be black haired gene.  a pair of genes exists describing each function; there should be some aspect to decide which of the two values to choose because,  for example, the phenotype may not have both gray haired and black haired at the same time.
  • 5. Diploidy, Dominance(continue)  The basic approach for eliminating this conflict of redundancy is through a genetic called dominance.  At a locus, it has been noted that one allele (called the dominant allele) will take the precedence over the other alternative allele (called the recessive allele).  In the above example, if it is assumed that all uppercase letters are dominant and all lowercase letters are recessive, the phenotype expressed by the example chromosome is written as,
  • 6. Diploidy, Dominance(continue)  The dominant gene is expressed when heterozygote (mixed, Pp→P) or homozygote (SS→S) and the recessive genes expressed only when homozygote (tt→t).
  • 7. Diploidy, Dominance(continue)  Advantages  Diploid chromosomes lend advantages to individuals where the environment may change over a period of time  Disadvantages  Currently harmful, but potentially useful alleles can still be maintained, but in a recessive position  In a GA, diploidy might be useful in an on-line application where the system could switch between different states.
  • 8. Inversion and Reordering  Inversion operator is a primary natural mechanism to recode a problem.  In inversion operator, two points are selected along the length of the chromosome, the chromosome is cut at those points and the end points of the section cut, gets reversed (switched, swapped).  To make it clear, consider a chromosome of length 8 where two inverse points are selected random (the points are 2 and 6 denoted by ˆ character)  On using inversion operator, the string becomes,
  • 9. Inversion and Reordering(continue)  The features of inversion and crossover are combined together to produce a single operator, which lead to the development of other reordering operators. On combining inversion and crossover, the reordering operators formulated are  1. Partially Matched Crossover (PMX).  2. Order Crossover (OX).  3. Cycle Crossover (CX).
  • 10. Partially Matched Crossover (PMX).  In Partially Matched Crossover, two strings are aligned, and two crossover points are selected uniformly at random along the length of the strings.  The two crossover points give a matching selection, which is used to affect a cross through position by-position exchange operations.  Consider two strings  Two crossover points were selected at random, and PMX proceeds by position wise exchanges.
  • 11. Partially Matched Crossover (PMX).(continue)  In-between the crossover points the genes get exchanged i.e., the 3 and the 2, the 6 and the 7, the 5 and the 9 exchange places. This is by mapping parent B to parent A. Now mapping parent A to parent B, the 7 and the 6, the 9 and the 5, the 2 and the 3 exchange places.  Thus after PMX, the offspring produced as follows
  • 12. Order Crossover (OX)  The order crossover begins in a manner similar to PMX. But instead of using point by- point exchanges as PMX does, order crossover applies sliding motion to fill the left out holes by transferring the mapped positions.  Consider the parent chromosomes,  On mapping parent B with parent A, the places 3,6 and 5 are left with holes.
  • 13. Order Crossover (OX)(continue)  These holes are now filled with a sliding motion that starts with the second crossover point.  The holes are then filled with the matching section taken from the parent A. Thus performing this operation, the offspring produced using order crossover is as given below.
  • 14. Multi-Objective Optimization  Multi-objective optimization problems have received interest form researches since early 1960s  In a multi-objective optimization problem, multiple objective functions need to be optimized simultaneously.  In the case of multiple objectives, there does not necessarily exist a solution that is best with respect to all objectives because of differentiation between objectives.  A solution may be best in one objective but worst in another.  Therefore, there usually exist a set of solutions for the multiple-objective  case, which cannot simply be compared with each other.
  • 15. Multi-Objective Optimization(continue)  For such solutions, called Pareto optimal solutions or non-dominated solutions, no improvement is possible in any objective function without sacrificing at least one of the other objective functions.  Thus by using the concept of Pareto-optimality we can find a set of solutions that are all optimal compromises between the conflicting objectives.  Pareto-optimality is a concept used economics, game theory, etc.  In the past few years, there has been a wide development in applying genetic algorithms to solve the multi-objective optimization problem, known as evolutionary multi-objective optimization or genetic multi-objective optimization.
  • 16. Multi-Objective Optimization(continue)  The population-to-population approach is beneficial in the exploration of Pareto-optimal solutions.  The main issue in solving multi-objective optimization problems by use of genetic algorithms is how to determine the fitness value of individuals according to multiple objectives.
  • 17. Knowledge Based Techniques  While most research has gone into GAs using the traditional crossover and mutation operators, some have advocated designing new operators for each task, using domain knowledge.  This makes each GA more task specific (less robust), but may improve performance significantly.  GA is being designed to tackle a real world problem, and has to compete with other search and optimization techniques, the incorporation of domain knowledge often makes sense.  Domain knowledge may be used to prevent obviously unfit chromosomes,or those, which would violate problem constraints, from being produced in the first place.
  • 18. Knowledge Based Techniques(continue)  This avoids wasting time evaluating such individuals, and avoids introducing poor performers into the population.  For example, a researcher designed analogous crossover for his task in robotic trajectory generation.  This used local information in the chromosome (i.e., the values of just a few genes) to decide which crossover sites would be certain to yield unfit offspring.  Domain knowledge can also be used to design local improvement operators, which allow more efficient exploration of the search space around good point  It can also be used to perform heuristic initialization of the population, so that search begins with some reasonably good points, rather than a random set.
  • 19. Knowledge Based Techniques(continue)  The various methods for combining problem specific information with genetic algorithm are as follows:  Hybrid schemes  Parallel computers.
  • 20. Hybrid Schemes  In hybrid schemes GAs are used to get close to optimum value, then conventional optimization schemes like greedy search, gradient search or stochastic hill climbing may be used to become closer to optimum value.  The hybrid scheme can be represented using scheme as shown in Figure
  • 21.
  • 22. Hybrid Schemes (continue)  Thus from Figure , it can be noted that the genetic algorithm sorts out peak and the local search techniques are used for hill climbing. Considering greedy heuristic crossover for Traveling salesman problem, if chromosomes are permutations of city numbers, then normal crossover may produce infeasible chromosomes. This is done by,  Start at a random city X and go to the closest city to X using the parent’s tours; repeat.
  • 23. Parallel Computers  Using parallel computers in Genetic Algorithms, master/slave operation is performed.  Master does selection and mating and slaves evaluated fitness of new chromosomes.  Master waits for all the slaves to finish or master can hand out new work as each slave finishes.  Thus on a parallel machine the conventional optimization can be done on each species on its own CPU. This is shown in next figure.
  • 24.
  • 25. Summary  The low-level operators  Diploidy, Dominance  Multi-Objective Optimization  Knowledge Based Techniques
  • 26. References  Introduction to Genetic Algorithms by S.N.Sivanandam · S.N.Deepa (page 83 – 104)

Editor's Notes

  1. The dominant gene is always expressed at each locus and the recessive gene is only expressed when it is present in accordance with another recessive. The dominant gene is expressed when heterozygote (mixed, Pp→P) or homozygote (SS→S) and the recessive genes expressed only when homozygote (tt→t).
  2. Having two genes allows two different solutions to be remembered, and passed on to offspring. One of these will be dominant (i.e., it will be expressed in the phenotype), while the other will be recessive. If environmental conditions change, the dominance can shift, so that the other gene is dominant
  3. A Pareto-optimal solution is one that is not dominated by any other solution i.e. it is one in which no objective can be improved without a deterioration in one or more of the other objectives.
  4. The basic features of genetic algorithms are the multiple directional and global searches, in which a population of potential solutions is maintained from generation to generation