Genetic Algorithm (Knapsack) Calculator

Read the Theory Guide →
Pro-Tip: Analyze the pre-loaded items below to see how chromosomes evolve to maximize the knapsack's value, then verify it against the manual steps in theTheory Page.
Data Point
Del
P1
P2
P3
P4
P5
P6
P7

* Note: Enter the Benefit and Weight for each available item.

Knapsack Constraints & Population

Max Weight Limit:
Initial Chromosomes
C1
C2
C3
Evolution Rules
Crossover 1
Cross & after Bit
Mutation 1
Mutate at Bit
Mutation 2
Mutate at Bit
Mutation 3
Mutate at Bit
Mutation 4
Mutate at Bit

Reference: Example Screenshot of a Solved Genetic Algorithm (Knapsack) Problem

Example of Genetic Algorithm (Knapsack) manual calculation steps generated by StepByStepML