Genetic Algorithm Solution
Genetic Algorithm Solution
y = x^2 +
Function 2*x-1
Binary Values
Random
Chromosomes 8 01000
13 01101
19 10011
23 10111
Table Construction
Offspring
After
Cross over Cross Value of
String No Mating Pool Point over X Fitness
Sum 1740
Average 435
Maximum 574
Mutation
Mutation Offspring
Offspring After Chromosom after Value of
String No Crossover e for flipping mutation X Fitness
Sum 1644
Average 411
Maximum 574
Solution is diverging as the mutation is only performed on the least value chromosome and one the point 3 so it will change from one to ZERO.
The total value of SUM is decreased from the previous value.