Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (12 loc) · 318 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 318 Bytes

Solve-Backpack-Problem-with-GA

Project 2 for EE215: Slove a packpack problem with genetic algorithm.

Function

main

init_pop

select

crossover

mutation

fit_value

Parameter setting

Choose proper parameters can help the fit value converge faster and avoid being stucked in local minimum.