Project #1b - Genetic Algorithm

Evolutionary Computation
Spring 2014
Due Feb. 12th

This is the second subproject. The goal of this project is to write part of a genetic algorithm (GA) for one of the benchmark optimization problems.

For this subproject you only need to work on the Sphereical function, defined at: http://www.cs.cmu.edu/afs/cs/project/jair/pub/volume24/ortizboyer05a-html/node6.html#tabla:DefFunc . (Note the first function labeled as Schwefel on this page is actually the double sum, which we are not using. We are using the Schwefel function defined immediately after the Rastigin function.)

Pay careful attention to the ranges of the functions. You will want to use those ranges both in creating intial individuals and in controlling the generation of neighbors, e.g. you don't want your GA 'wondering' out of the search space. Note that here the functions are all defined with 30 dimensions, e.g. P = 30 in the function definitions.

Project Requirements: