knapsack_gener_matr: Generates values for knapsack problem

Description Usage Value

Description

This function is the knapsack value generator in the Lab instructions for Lab 6 in 732A50. It is the same as the knapsack_generator function but this one uses matrix instead of data frame.

Usage

1

Value

knapsack_objects A dataframe with two columns, w and v containing weights and values for use in the knapsack problem.


thozh912/Lab6 documentation built on May 31, 2019, 11:18 a.m.