Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork495
-
Hi, I was checking the docs and could not find any details of the module support for variable-length chromosomes. Thanks! |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 2 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi@RomekRJM, The GitHub repository is updated to support changing the the chromosome length from one generation to another. This will be available in the next release But still the individual chromosomes must all have the same length in the same generation. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hi! First and foremost, I want to express my gratitude for this incredible library and its clear documentation. Congratulations@ahmedfgad on the excellent work. Now, version 3.3.0 is released... 👀 maybe we already have the variable chromossome feature? 👀 If not, my approach would simply have a big length In my specific case, my optimization involves positioning weights in certain positions (which must be integers in a given range). (I know I could just use gene_space=range(-1, max_weight),, but was to clarify that each individual would have 5 genes). Then, on my fitness function I would have something like: Does this seem like a valid approach? |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1
-
This is absolutely a good idea. Still the feature is not fully merged. It is a major change. |
BetaWas this translation helpful?Give feedback.