Description Usage Arguments Source
View source: R/brute_force_knapsack.R
Brute Force Knapsack
1 | brute_force_knapsack(x, W, parallel = FALSE)
|
x |
A dataframe containing objects to be put in the knapsack, must contain two variables: v and w |
W |
Knapsack size |
parallel |
If to use multicore |
https://en.wikipedia.org/wiki/Knapsack_problem
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.