knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This package includes three different functions for solving Knapsack Problem. Functions are based on different approaches that are brute force, dynamic programming and greedy heuristic. Each approach illustrates its own computational complexity.
You can install the the development version from GitHub with:
# install.packages("devtools") devtools::install_github("faridmusayev/R_lab06")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.