Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 783 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 783 Bytes

mochila_binaria

Project developed by @MahatKC, @AmandaIsrael and @igorFNegrizoli in 2022.

This project was an assignment for the Algorithm Analysis and Design course we took in our 4th year of Computer Science.

Coded entirely in Python, it compares two possible solutions for the binary knapsack problem: a greedy algorithm and dynamic programming.

Different files were provided by the course's professor with different lengths in order to compare each solution in regards to time taken to find the solution and the best value found by each.

Matplotlib and Pandas were used to create a CSV with the results of different runs and plot graphs comparing the runs.