Description Usage Arguments Value
Calculates best values and weights for given capacity.
1 | brute_force_knapsack(x, W, parallel = FALSE)
|
x |
Dataframe with variables v and w. |
W |
Integer as capacity. |
parallel |
Boolean makes function parallel |
Returns a list with best value and combination.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.