kylelscott / SingleObjectiveGA

Implementation of a simple Single Objective Evolutionary Algorithmn for sinusoidal optimization function. Created for fulfillment of CSE 598: Bio-Inspired AI and Optimization. Please reference if you use, and switch up some hyperparameters for your own use case :).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SingleObjectiveGA

Implementation of a simple Single Objective Evolutionary Algorithmn for sinusoidal optimization function. Created for fulfillment of CSE 598: Bio-Inspired AI and Optimization. Please reference if you use, and switch up some hyperparameters for your own use case :).

A common structure was chosen for the Genetic Algorithm implemented. Specifically, evolution was conducted by following the cyclic execution of Population Generation, Intercourse, and Mutation. The generation of the next population was executed through a series of sub-procedures: fitting the current population, selecting the most optimal candidates for breeding, and iteratively generating children until the next generation was of the size as the initial generation. Some results of fitnesses from populations of specific generations shown below.

eli_plot_5

eli_plot_10

eli_plot_300

About

Implementation of a simple Single Objective Evolutionary Algorithmn for sinusoidal optimization function. Created for fulfillment of CSE 598: Bio-Inspired AI and Optimization. Please reference if you use, and switch up some hyperparameters for your own use case :).

License:Apache License 2.0


Languages

Language:Python 100.0%