knapsack_solver 0.1.0
This gem contains command-line utility for solving 0/1 knapsack problem using branch-and-bound method, dynamic programming, simple heuristic (weight/price) and fully polynomial time approximation scheme. It can measure CPU and wall-clock time spent by solving a problem, compute relative error of the result and generate graphs from those values.
Gemfile:
=
Installeer:
=
Versies:
- 0.1.0 February 14, 2018 (16,5 KB)
Runtime afhankelijkheden (1):
gnuplot
~> 2.6