brute_force_knapsack: Brute Force

Description Usage Arguments Value Examples

View source: R/brute_force_knapsack.R

Description

Brute Force

Usage

1

Arguments

x

x data.frame containing objects with weights w and values v as columns.

W

max weight of the knapsack

parallel

boolean indicating whether or not parallel computing should be used

Value

a list with max value and corresponding elements

Examples

1
2

sofiejorgensen/knapsack documentation built on Oct. 16, 2020, 2:51 a.m.