Arguments are optional, if not given the default values of mode=0 and population_size=20000 will be used. Please enter non negative values only.
- 0 - regular genetic solver
- 1 - Darwin genetic solver
- 2 - Lamarck genetic solver
If not given, 20,000 is used as a default
python3 geneticAlgorithm.py 2 1231
python3 geneticAlgorithm.py
python3 geneticAlgorithm.py 0 20000
Notice: Examples 2 and 3 are identical