A simple introduction to genetic algorithm

Using MATLAB Just-in-time compiler to solve the 0-1 Knapsack Problem with Genetic Algorithms. (Also as a project of a course in SJTU)
Updated 23 Oct 2020

View License

In this project, we have given a brief introduction about the traditional methods to solve 0-1 Knapsack Problem, and subsequently introduced a simple example of GA method.
It has comprehensive descriptions and comments to help you understand what GA is, and you can realize your own GA method by imitating this .mix file.
<NOTICE>All functions are placed in files independently.
<NOTICE>All descriptions and comments are in Chinese.

Undoubtedly, it is not an excellent work, and we do have a lot work to do to improve this project:)

Cite As

Yunfan Qing (2024). A simple introduction to genetic algorithm (https://www.mathworks.com/matlabcentral/fileexchange/81628-a-simple-introduction-to-genetic-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Some file names have been modified