get_knapsack_objects: get_knapsack_objects

Description Usage Arguments Value Examples

View source: R/get_knapsack_objects.R

Description

Get a dataframe to use for the knapsack problem. It contains two columns: w = weights, v = values

Usage

1

Arguments

n

number of items that should be created

Value

Dataframe with items' weights and values

Examples

1

PatrickSVM/knapsack documentation built on Dec. 18, 2021, 6:42 a.m.