Question: 1. [20 points) Formulate a genetic algorithm solution for the following problem. Given a set of positive integers X {x1,x2,..., we need to locate a

1. [20 points) Formulate a genetic algorithm
1. [20 points) Formulate a genetic algorithm solution for the following problem. Given a set of positive integers X {x1,x2,..., we need to locate a subset S from the set X such that the sum of the elements of S is equal to the golden number 21. For instance, if the set X = (12.17.3,24,6). the set S = {12, 3.6) is a valid solution. You may use binary representation, OR any representation that you think is more appropriate. you should specify: . An objective/fitness function. Give 3 individuals and their fitness values if you are solving the following problem (i.e. X = 12, 17, 3,24,6). Operators of Genetic Algorithms including reproduction, crossover and mutation. Try to modify the operators to the problem if possible. A termination condition for the genetic algorithm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!