# Genetic Algorithm with solutions over a discrete set of values

**URL:** <https://discourse.julialang.org/t/genetic-algorithm-with-solutions-over-a-discrete-set-of-values/78256>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [March 22, 2022, 7:32am UTC](https://discourse.julialang.org/t/genetic-algorithm-with-solutions-over-a-discrete-set-of-values/78256 "2022-03-22T07:32:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jack/32/17406_2.png) [@Jack](https://discourse.julialang.org/u/Jack)\
**Post date:** [March 22, 2022, 7:32am UTC](https://discourse.julialang.org/t/genetic-algorithm-with-solutions-over-a-discrete-set-of-values/78256/1 "2022-03-22T07:32:10Z")

</div>

I checked out the genetic algorithm package [Evolutionary.jl](https://wildart.github.io/Evolutionary.jl/stable/tutorial/) and find it doesn’t support that user specifying possible solutions over a discrete set of values, or solutions only take on integer values. I noticed that the [gene\_space](https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#more-about-the-gene-space-parameter) parameter in the [pygad](https://github.com/ahmedfgad/GeneticAlgorithmPython) python library does something similar. Is it possible to do so using Evolutionary.jl? If not are there other packages that can accomplish this? Thank you.
