This function is the knapsack value generator in the Lab instructions
for Lab 6 in 732A50. It is the same as the knapsack_generator
function but this one uses
matrix instead of data frame.
1 |
knapsack_objects
A dataframe with two columns, w and v
containing weights and values for use in the knapsack problem.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.