RubyGems Navigation menu

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.0 - February 14, 2018 (16.5 KB)

Runtime Dependencies (1):

gnuplot ~> 2.6

Development Dependencies (4):

rake ~> 12.0
rspec ~> 3.6
rubocop ~> 0.50.0
yard ~> 0.9

Owners:

Authors:

  • Jan Sucan

SHA 256 checksum:

2fa5a429876829e6baf34d45dc776319212be1486bbf3f8a4b442f7d12fc0559

Total downloads 2,124

For this version 2,124

License:

MIT

Required Ruby Version: >= 2.2

Links: