1. Add the capability for specifying a termination criterion (acceptable error, for example) to the GA source code. 2. Implement the benchmark function you identified in exercise 5 into the PSO...


1. Add the capability for specifying a termination criterion (acceptable error, for example) to the GA source code.


2. Implement the benchmark function you identified in exercise 5 into the PSO source code.


3. Run the GA implementation, optimizing the Griewank function. Try two different crossover types and two different selection types (four combinations of parameters). For each combination of parameters, how many total generations are required to achieve a fitness of –1.3 or better? Turn in and discuss your results. Based on your results, which combination of parameters would you select?



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here