dynamic_knapsack: dynamic_knapsack

Description Usage Arguments Value

View source: R/dynamic_knapsack.R

Description

dynamic_knapsack function to solve the knapsack problem

Usage

1

Arguments

x

, is the input weight

W

, is the input value

Value

list , returns a list that contain the maximum value and the list of elements chosen


DucDuong92/Lab6R documentation built on May 22, 2019, 2:03 p.m.