Question
2) The maximum value of the function given below is determined by the Genetic Algorithm (GA). will be determined. of five-digit binary numbers to encode
2) The maximum value of the function given below is determined by the Genetic Algorithm (GA).
will be determined. of five-digit binary numbers to encode the parameter x
was decided to be used. Crossover probability 1.0 and mutation probability 0
taken as. One-point crossover by randomly generating crossover point
used. The first created population is shown in Table 1. Parent
For selection, parents are selected by turning the roulette wheel and the crossover points are Table
It is obtained as in 2. The offsprings produced are shown in the same table. Second
For the parent group, the roulette wheel is spun again and the resulting offsprings
displayed in the last two rows of the table. Having the second generation as shown in Table 3
A generation GA is used for Genetic coding with table data (Table 1-3)
Fill in the other tables (Table 4-8).
f(x)= x3 60x2 + 900x + 100 Table 1 f(x) Chromosome Binary String PI 11100 P2 01111 P3 10111 P4 00100 Total Average X 28 15 23 4 NIM 00lm 212 3475 1227 2804 7718 1929.5 Table 2 Roulette Wheel 4116 1915 6545 450 Parent Chosen P3 P2 P4 P2 Crossover Point N/A 1 N/A 2 Offsprings CI II III C200111 C3 0 0111 C40110 0 Table 3 Chromosome P1 P2 P3 P4 Binary String 11111 00111 00111 01100 Total Average X 31 7 7 12 f(x) 131 3803 3803 3998 11735 2933.75 Table 4 Parent Chosen Offsprings Roulette Wheel 3442 10674 1211 8977 Crossover Point NA 3 N/A 2 ci C2 C3 C4 Table 5 X f(x) Chromosome Binary String PI P2 P3 P4 Total Average Table 6 Chromosome Pl Binary String 11100 01111 10111 00100 10001 Total Average X 28 15 23 4 17 Nec f(x) 212 3475 1227 2804 2773 10491 2098.2 Table 7 Parent Chosen Offsprings Roulette Wheel 8412 112 9456 4321 Crossover Point N/A 4 NA 1 C2 C3 C4 Table 8 X f(x) Chromosome Binary String P1 P2 P3 P4 P5 Total Average f(x)= x3 60x2 + 900x + 100 Table 1 f(x) Chromosome Binary String PI 11100 P2 01111 P3 10111 P4 00100 Total Average X 28 15 23 4 NIM 00lm 212 3475 1227 2804 7718 1929.5 Table 2 Roulette Wheel 4116 1915 6545 450 Parent Chosen P3 P2 P4 P2 Crossover Point N/A 1 N/A 2 Offsprings CI II III C200111 C3 0 0111 C40110 0 Table 3 Chromosome P1 P2 P3 P4 Binary String 11111 00111 00111 01100 Total Average X 31 7 7 12 f(x) 131 3803 3803 3998 11735 2933.75 Table 4 Parent Chosen Offsprings Roulette Wheel 3442 10674 1211 8977 Crossover Point NA 3 N/A 2 ci C2 C3 C4 Table 5 X f(x) Chromosome Binary String PI P2 P3 P4 Total Average Table 6 Chromosome Pl Binary String 11100 01111 10111 00100 10001 Total Average X 28 15 23 4 17 Nec f(x) 212 3475 1227 2804 2773 10491 2098.2 Table 7 Parent Chosen Offsprings Roulette Wheel 8412 112 9456 4321 Crossover Point N/A 4 NA 1 C2 C3 C4 Table 8 X f(x) Chromosome Binary String P1 P2 P3 P4 P5 Total Average
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started