Skip to content
School micro project to learn genetic algorithms
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Basic genetic algorithm


Be sure to have matplotlib installed. If you don't, you can install it like that :

python -m pip install matplotlib


python [options]

You can specify the following options :

-v, --verbose:
    If specified the last population will be printed out in the terminal.
-p, --population-size [integer]:
    The size of the population that will be use in the genetic algorithm.
-u, --individual-size [integer]
    The number of gene of each individual member of the population.
-d, --delta [float]
    A value for the convergence detection. The less this value will be, the longer the algorithm will take to stop but the greater the average fitness value will be.
    This value must be less than 1.
You can’t perform that action at this time.