Description Usage Arguments Value Examples
View source: R/get_knapsack_objects.R
Get a dataframe to use for the knapsack problem. It contains two columns: w = weights, v = values
1 |
n |
number of items that should be created |
Dataframe with items' weights and values
1 | get_knapsack_objects(2000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.