knapsack-package: knapsack

Description Details

Description

Sixth lab of the course Advanced R Programming!

Details

The package contains three different functions for solving the so-called knapsack problem, which is considered NP-hard.

It is basically an optimization problem where a knapsack of limited weight has to be filled with a number of items of different value and weight, aiming to have the highest total value at the end.

It is an open (Millennium Prize) problem, whether it is or is not possible to solve these problem in polynomial time.


abhi-vellala/732A94lab6 documentation built on Oct. 31, 2019, 1:54 a.m.