Question
6. Use genetic algorithm for the following problem: Max f(X) = x 60x + 900x + 100 ; subject to 0 x 31 I Consider
6. Use genetic algorithm for the following problem:
Max f(X) = x 60x + 900x + 100 ; subject to 0 x 31 I
Consider the initial population as 05, 21, 17, 30, 12, 06, 22, 29.
Use the 4 digit random numbers 3425 9600 7500 2200 7700 9999 1111 5555 for selection operator. (Use the necessary random numbers as in the order it is given). In the mating pool form the pair from the begging and consider the first three pairs for mating with Pc = 1 and apply the mutation operator for the last pair only with Pm = 1.
Write the population for the next eneration in strings.
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