brute_force_knapsack: Brute Force Knapsack Algorithm

Description Usage Arguments Value References See Also Examples

View source: R/brute_force_knapsack.R

Description

The function returns maximum value within all the possible solutions

Usage

1

Arguments

x

data.frame, contains variables weight(w) and value(v)

W

weight threshold for the knapsack

...

arguments

parallel

boolean, if 'T' then implements parallelization

Value

Total and Maximum value within the threshold of W

References

https://en.wikipedia.org/wiki/Knapsack problem

See Also

slow_brute_force greedy_knapsack knapsack_dynamic

Examples

1
2
3
4

shaiq681/KnapSacked documentation built on Oct. 13, 2020, 1:27 a.m.