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:
=
install:
=
Versions:
- 0.1.0 February 14, 2018 (16.5 KB)
Runtime Dependencies (1):
gnuplot
~> 2.6