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?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here