Description Usage Arguments Value References
The knapsack problem is a problem in combinatorial optimization: how to maximasiethe value of fitted object by fullfilling the weight constraint.
1 | knapsack_dynamic(x, W)
|
x |
A data frame with numeric positive values. |
W |
A positive numeric scalar. |
A list with maximum value and elements.
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.