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:)
Yunfan Qing (2021). 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
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!