The Lab6RT package contains three methods; brute force, dynamic programming, and greedy heuristic, to solve the knapsack problem.
brute_force_knapsack(), dynamic_knapsack(), greedy_knapsack()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.