Updated 19 Oct 2020
A basic genetic algorithm as part of a graduate level assignment. Look inside the .mlx file for detailed problem description.
N = number of candidates must be even number in Generation 1
X = number of variables = 2 (not written to be generalized, will be expanded upon in next release).
variable scale = must be same for both variables. Will be expanded to accommodate individual scale
encoding = 8 bit per variable, 16 bit genome
Code is not meant for advanced research but as a template for more advanced version of genetic algorithm. Does not use any built in optimizer.
Contains helpful comments for ease of understanding
AZMYIN MD KAMAL (2021). Genetic-Algorithm-MATLAB V1.0 (https://github.com/Mechazo11/Genetic-Algorithm-MATLAB/releases/tag/V1.0), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!