Gene type #155
soheilminer
started this conversation in
General
Gene type
#155
Replies: 1 comment
-
Hello, Yes this is possible using the ga_instance = pygad.GA(...,
gene_space=[[1], None],
...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm using this package for my research in stochastic mine planning, and I'm trying to adapt it to my own problem.
I'm just wondering if I can define each gene as a tuple that contains two values, and only perform the crossover/mutation functions on the second value while the first one is fixed. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions