knapsack_data: Knapsack data A funtion that simulates data to the Knapsack...

Description Usage Arguments Value

View source: R/knapsack_objects.R

Description

Knapsack data A funtion that simulates data to the Knapsack problem.

Usage

1
knapsack_data(n = 2000, seed = 42)

Arguments

n

size of the data frame.

seed

set seed of the simulated data.

Value

A dataframe with 2 variables and n rows.


harjew/lab6G3 documentation built on Nov. 4, 2019, 1:28 p.m.