brute_force_knapsack: brute_force_knapsack

Description Usage Arguments Value

View source: R/brute_force_knapsack.R

Description

brute_force_knapsack function to solve the knapsack problem

Usage

1

Arguments

x

, is the input weight

W

, is the input value

parallel,

using parallel processing or not

Value

list , returns a list that contain the maximum value and the list of elements chosen


DucDuong92/Lab6R documentation built on May 22, 2019, 2:03 p.m.