Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

This project applies a genetic algorithm to solve the knapsack problem for a given weight and value of items.

🧬 Genetic Representation

  • Chromosome: A binary list indicating which items are selected.

🧮 Fitness Function

  • Maximizes total value while staying under the weight limit.