Simple genetic algorithm to optimize real functions of multiple variables from scratch in Julia.
Algorithim parameters are given in algo_inputs.txt:
- num_generations
- population_size
- number_genes
- variable_range_low
- variable_range_high
- function_param: Functions available are sphere and schwefel.
Graphs on the left show fitness average on population and on the right fitness maximum.
You can simply run genetic_algo.jl
Make sure you make any changes you would like according to plotting your results.