Published May 25, 2016 | Version v1.0

SGA: Simple Genetic Algorithm (SGA) in Python

Authors/Creators

  • 1. Complutense University of Madrid

Description

Simple Genetic Algorithm (SGA) is a 'vanilla' GA that can be used for the purposes of education and research. SGA is applied in a simple optimization problem:

Let f(x)=abs(x-5/2+sin(x)) be a function that takes values in the range 0<=x<=15. Within this range f(x) has a maximum value at x=11 (binary value is equal to 1011).

Files

SGA-v1.0.zip

Files (4.7 kB)

Name Size
md5:acd76cb0fd5fd451c58ed4aece21756a
4.7 kB Preview Download

Additional details

Related works