File Exchange

image thumbnail

Genetic-Algorithm-MATLAB V1.0

version 1.0 (251 KB) by AZMYIN MD KAMAL
MATLAB implementation of a basic genetic algorithm. Always crossover, no mutation and elitisms. Graduate assignment


Updated 19 Oct 2020

From GitHub

View license on GitHub

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

Cite As

AZMYIN MD KAMAL (2021). Genetic-Algorithm-MATLAB V1.0 (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2020b
Compatible with R2013b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!