knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

lab06

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.

Installation

You can install the the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("faridmusayev/R_lab06")


faridmusayev/R_lab06 documentation built on Dec. 20, 2021, 7:44 a.m.