SlideShare a Scribd company logo
Presented by :
Bhavya Singh
(9917102266)
Mentor:
Dr. Varsha Garg
(Electronics & Communications dept.)
A GENETIC ALGORITHM FOR JOB-SHOP
SCHEDULING
GENETIC ALGORITHM
 Based on the phenomena of natural selection/evolution.
 Works on producing a set of random solutions (population).
 Each solution in the set corresponds to a chromosome.
 Produced compete in a space where only the fittest solution survive.
 Used for optimization
Operators
 Reproduction- Evolves the next generation.
 Crossover- Swaps the portions of two selected chromosomes.
 Mutation- Invert/change a randomly selected gene in the chromosome.
Fitness Function
 Evaluates the fitness (profit) of a solution.
JOB SHOP PROBLEM
 Three Manufacturing units M1,M2 and M3.
 Each unit manufactures a different product.
 1 represents that the unit is ON (manufacturing) and 0 represents that the unit is OFF (not
manufacturing).
 The set/chromosome {1,0,1} represents that M1 and M3 are ON while M3 is OFF.
 We need to find an optimal solution which yields maximum profit, i.e.,{1,1,1}.
Define a fitness function.
Select a population of the solution and calculate their fitness values.
APPLYING GENETIC ALGORITHM
Applying Reproduction :-
 Suppose we randomly generate 500 sets of such solutions.
 Resulting population will have 2000 chromosomes.
 Among the 2000 chromosomes, the one having the maximum fitness value will be having the maximum
appearance like as follows: {0,0,1}, {0,1,0}, {1,1,0}, {1,0,1},{1,1,0}, {0,1,0},{1,1,0}, {1,0,1},…,{1,0,1},
{0,1,0},{1,1,0},{0,1,0},{0,0,1},{1,1,0},{1,1,0},{0,1,0},…,{1,0,1},{1,1,0},……. up to 2000th chromosome.
Applying Crossover :-
 Let’s select two solutions randomly from 2000 chromosomes
a) {1,10} and {0,1,0}
b) {1,0,1} and {1,1,0}
 Randomly choose a crossing site
a) 1st bit for pair a
b) 0th bit for pair b
Applying Mutation :-
 Let’s select a chromosome {0,1,0} to be mutated.
 After flipping either of the three bits, we can have the following possible chromosomes:
{0,1,1}
{0,0,0}
{1,1,0}
CONCLUSION
 In the end we can say that by the application of
Crossover we have reached an optimal solution for the
job shop problem.
REFERENCES
 Nakano, Ryohei & Yamada, Takeshi. (1991). Conventional Genetic Algorithm for Job Shop Problems.. 91.
474-479.
 Elaine Rich and Kevin Knight, 1991, Artificial Intelligence, 2nd Edition, Tata McGraw-Hill, New Delhi.
THANK YOU

More Related Content

Similar to Genetic algorithm

Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
zamakhan
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
anas_elf
 
Chapter09.ppt
Chapter09.pptChapter09.ppt
Chapter09.ppt
butest
 

Similar to Genetic algorithm (20)

Machine Learning - Genetic Algorithm Fundamental
Machine Learning - Genetic Algorithm FundamentalMachine Learning - Genetic Algorithm Fundamental
Machine Learning - Genetic Algorithm Fundamental
 
Ai presentation
Ai presentationAi presentation
Ai presentation
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithm
 
GA.pptx
GA.pptxGA.pptx
GA.pptx
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Darwin's theory of evolution
Darwin's theory of evolutionDarwin's theory of evolution
Darwin's theory of evolution
 
Chapter09.ppt
Chapter09.pptChapter09.ppt
Chapter09.ppt
 
Swarm assignment 1
Swarm assignment 1Swarm assignment 1
Swarm assignment 1
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Pso notes
Pso notesPso notes
Pso notes
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
 
Enhanced abc algo for tsp
Enhanced abc algo for tspEnhanced abc algo for tsp
Enhanced abc algo for tsp
 

Recently uploaded

Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Lovely Professional University
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
Kamal Acharya
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
Online book store management system project.pdf
Online book store management system project.pdfOnline book store management system project.pdf
Online book store management system project.pdf
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
Attraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxAttraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptx
 
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdf
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdf
 
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
 

Genetic algorithm

  • 1. Presented by : Bhavya Singh (9917102266) Mentor: Dr. Varsha Garg (Electronics & Communications dept.) A GENETIC ALGORITHM FOR JOB-SHOP SCHEDULING
  • 2. GENETIC ALGORITHM  Based on the phenomena of natural selection/evolution.  Works on producing a set of random solutions (population).  Each solution in the set corresponds to a chromosome.  Produced compete in a space where only the fittest solution survive.  Used for optimization
  • 3. Operators  Reproduction- Evolves the next generation.  Crossover- Swaps the portions of two selected chromosomes.  Mutation- Invert/change a randomly selected gene in the chromosome. Fitness Function  Evaluates the fitness (profit) of a solution.
  • 4. JOB SHOP PROBLEM  Three Manufacturing units M1,M2 and M3.  Each unit manufactures a different product.  1 represents that the unit is ON (manufacturing) and 0 represents that the unit is OFF (not manufacturing).  The set/chromosome {1,0,1} represents that M1 and M3 are ON while M3 is OFF.  We need to find an optimal solution which yields maximum profit, i.e.,{1,1,1}.
  • 5. Define a fitness function. Select a population of the solution and calculate their fitness values. APPLYING GENETIC ALGORITHM
  • 6. Applying Reproduction :-  Suppose we randomly generate 500 sets of such solutions.  Resulting population will have 2000 chromosomes.  Among the 2000 chromosomes, the one having the maximum fitness value will be having the maximum appearance like as follows: {0,0,1}, {0,1,0}, {1,1,0}, {1,0,1},{1,1,0}, {0,1,0},{1,1,0}, {1,0,1},…,{1,0,1}, {0,1,0},{1,1,0},{0,1,0},{0,0,1},{1,1,0},{1,1,0},{0,1,0},…,{1,0,1},{1,1,0},……. up to 2000th chromosome.
  • 7. Applying Crossover :-  Let’s select two solutions randomly from 2000 chromosomes a) {1,10} and {0,1,0} b) {1,0,1} and {1,1,0}  Randomly choose a crossing site a) 1st bit for pair a b) 0th bit for pair b
  • 8. Applying Mutation :-  Let’s select a chromosome {0,1,0} to be mutated.  After flipping either of the three bits, we can have the following possible chromosomes: {0,1,1} {0,0,0} {1,1,0}
  • 9. CONCLUSION  In the end we can say that by the application of Crossover we have reached an optimal solution for the job shop problem.
  • 10. REFERENCES  Nakano, Ryohei & Yamada, Takeshi. (1991). Conventional Genetic Algorithm for Job Shop Problems.. 91. 474-479.  Elaine Rich and Kevin Knight, 1991, Artificial Intelligence, 2nd Edition, Tata McGraw-Hill, New Delhi.