
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Objectives Introducing the technique and write program to implement the following: 1. Genetic Algorithm 2. Exercises
Typology: Lecture notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

implement Genetic Algorithm
Introducing the technique and write program to implement the following:
Exercise 1 (GAFx) Using GA, it is required to find the maximum of a function, f(x) = ((x + 4y + 6z + 4w) - 30) where x,y,z and w are genes to form a chromosome. Write a program to implement and show the best individual, best fitness, average fitness, and poorest fitness against the generation. For demonstration purposes, the following simple set of parameters is to be used to design the algorithm. Number of generations: 30 The population size: 6 The crossover rate : 1. The mutation rate: 0. Number of bits in each chromosome: 4 https://arxiv.org/ftp/arxiv/papers/1308/1308.4675.pdf