[GA 6] Python implementation of Genetic algorithm complete example (knapsack problem using GA)

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Hello! I want to aso about 7 items? I have error „ rand_popTemp[c] = rand_pop[i, 0:col]
IndexError: index 7 is out of bounds for axis 0 with size 7”. Can u help me? Thank You!

kacperslusarek
Автор

Hello, I have query related to the number of chromosomes. 23:00 the number of chromosomes sums up to 5 and number of chromosomes in next-generation is 4. Could you explain?

saiprasaddhanwate
Автор

how to solve unbounded knapsack with genetic algorithm??

soadomar
Автор

Hello, I'm struggling with 20 objects. Even in selecting random population from initial population of 20 items. How can I code this on Python in Jupyter notebook? Also how can I select parents by Roulette-Wheel method? Thanks for your answer

simgedeniz