Back to all solvers

0/1 Knapsack Solver

Maximize value under a weight capacity using classic dynamic programming — each item at most once.

Inputs

CSV: name,weight,value (+ optional capacity row). After Solve, also Export results CSV.

Weights should be non-negative integers for the DP table.