JS2387/Group8knapsack: Solves the knapsack problem with 3 approaches - Brute Force, DP & Greedy Heuristic

Classic knapsack problem is solved with 3 approaches to get to most optimum solution with decreasing complexity The brute force algorithm check every possible combination before deciding on most optimum solution. DP reduces the problem complexity to nW by dynamically checking solution values for every knapsack object. Greedy Heuristic approach ranks objects by per unit value by object and takes objects by parts to fully utilize knapsack capacity

Getting started

Package details

Authorc( person("Jaskirat", "Marar", email = "jasma356@student.liu.se", role = c("aut","cre")), person("Filip", "Berndtsson", email = filbe354@student.liu.se, role = "aut"))
MaintainerJaskirat Marar <jasma356@student.liu.se>, Filip Berndtsson <filbe354@student.liu.se>
LicenseGPL-3
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("JS2387/Group8knapsack")
JS2387/Group8knapsack documentation built on Dec. 18, 2021, 12:27 a.m.