Application of Genetic Algorithm for Flow Shop Scheduling Problem
DrAdnanTariq1
6 views
17 slides
Oct 27, 2025
Slide 1 of 17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
About This Presentation
It's about application of Genetic Algorithms to Flow Shop Scheduling Problem.
Size: 142.51 KB
Language: en
Added: Oct 27, 2025
Slides: 17 pages
Slide Content
Introduction to Introduction to
Genetic AlgorithmsGenetic Algorithms
The general structure of GAThe general structure of GA
Start
Encode
Genes
Generate
Population
Genetic Operation
Parent 1
Crossover operation
Parent 2
Offspring 1
Offspring 2
Parent 1 Offspring 1
Mutation operation
Evaluate Fitness of the offspring and place
it into population and discard a comparatively
weaker solution
Roulette
Wheel
Stop
Terminate?
Number of
generation
Yes
No
Chromosome
selection
Create population
for the next
generation
Randomly combine
genes with a repair
process
Integer representing
a sequence
Elitist
Strategy
Evaluate
Fitness
Step 1: Genetic representationStep 1: Genetic representation
What sort of chromosome
representation is supposed to be used
and what would be the length (number
of geans) of each chromosome
• Binary numbers based
representation
• Integer based representation
• Alphabets
Step 8: Total Fitness Value of the entire PopulationStep 8: Total Fitness Value of the entire Population
Chro
m
Sequence Makespan
Cmax
Fitness values
Fk
C1 54 3216 60 0.166
C2 54 6321 120 0.083
C3 65 3421 55 0.182
C4 32 5561 75 0.133
C5 53 4621 95 0.105
C6 53 4621 88 0.113
C7 65 4321 110 0.091
C8 53 4621 105 0.095
C9 62 4513 89 0.112
C10 16 4523 90 0.111
Total Fitness of the population = Ft = 1.191
Total Fitness = Ft = Σ Ck
K =1
Pop size
Step 9: Selection probability of each chromosomeStep 9: Selection probability of each chromosome
Chr
om
Sequence Makespa
n Cmax
Fitness values
Fk
Sel Prob
Pk
C1543216 60 0.166 0.1393
C2546321 120 0.083 0.0697
C3653421 55 0.182 0.1528
C4325561 75 0.133 0.1117
C5534621 95 0.105 0.0882
C6534621 88 0.113 0.0949
C7654321 110 0.091 0.0764
C8534621 105 0.095 0.0798
C9624513 89 0.112 0.0940
C10164523 90 0.111 0.0931
Total Fitness of the population = Ft = 1.191
Selection Probaility of a chromosome = Pk = Fk / Ft
Step 11:Step 11: Roulette Wheel Selection Roulette Wheel Selection
• Now generate a random number between 0 and 1.
e.g. the number generated is 0.15.
• Now compare this value with the cumulative
probability values calculated in step 4.
• It is between C1 and C2 (i.e. 0.1393 < 0.15 <0.2090)
• Since the generated number is greater than CP1 and
less
than CP2 so C2 is selected in the next generation
• Repeat the same procedure population times
• This would give us a new population in which some
chromosomes may have multiple entries
The procedure is kept continuedThe procedure is kept continued
Until a stopping criteria is reachedUntil a stopping criteria is reached
That may be the maximum number of That may be the maximum number of
generationsgenerations
Or the time when no improvement can Or the time when no improvement can
be recorded furtherbe recorded further
Or the algorithm has converged to an Or the algorithm has converged to an
already known optimum valuealready known optimum value
Further ProcessingFurther Processing