knapsack_dynamic: Knapsack Dynamic Algorithm

Description Usage Arguments Value References

Description

The knapsack problem is a problem in combinatorial optimization: how to maximasiethe value of fitted object by fullfilling the weight constraint.

Usage

1

Arguments

x

A data frame with numeric positive values.

W

A positive numeric scalar.

Value

A list with maximum value and elements.

References

https://en.wikipedia.org/wiki/Knapsack_problem


poceviciute/AdvRprogr_lab6 documentation built on May 7, 2019, 9:43 p.m.