- Para a construção do algoritmo foi utilizada a biblioteca DEAP.
- Primeiramente, instale os requirements contidos no arquivo requirements.txt
pip install -r requirements.txt
- Logo após, rode o algoritmo usando o comando python
python problema_mochila.py
- O resultado deve ser o seguinte
sh
O peso máximo da mochila é 50
Peso Ideal: 45 | Valor Ideal: 254.19
- Ian Sandes E José Everton