0% found this document useful (0 votes)
4 views1 page

Genetic Algorithms for Function Optimization

Uploaded by

micheal amash
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Genetic Algorithms for Function Optimization

Uploaded by

micheal amash
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

A Classwork on Genetic Algorithms

A genetic algorithm is to be used to find the maximum value of the function


15𝑥 − 𝑥 2 where parameter 𝑥 varies between 0 and 15. For simplicity, assume
that 𝑥 takes only integer values. Thus, chromosomes can be built with only four
genes.

• Create an initial population of six chromosomes and complete Table 1.

• Suppose that the crossover probability 𝑝𝑐 equals 0.7 and the mutation
probability 𝑝𝑚 equals 0.001.

Try to improve the initial population using, the genetic operators,


selection, crossover and mutation.

You might also like