0
Artificial Intelligence Problem
can anyone help me solve this problem about some genetic algorithm in python, we have a knapsack problem, i barely need it coz its a part of our midterm project. Thanks in advance :)
2 Answers
+ 3
I am not sure what sort of reaction you expect. Sounds a bit like you are not really willing to put any effort into this (you did not even give any details of the problem or where you are stuck with it).
Please don't expect others to solve your homework.
https://www.google.com/amp/s/www.geeksforgeeks.org/0-1-knapsack-problem-dp-10/amp/
+ 3
Sort the items from high rewards to low,
Push one by one until just before constraint breached.