alpsayin/genetic-algorithm-matlab

Multivariable optimizattion.

Closed this issue · 1 comments

How do we perform multivariable optimization?

DecodeChromosome defines how a genes are converted into an "individual". The return value is an array of your variables.
EvaluateIndividual takes the return value of above and then calculates the "fitness" of the "individual".
The example is already multivariable(=2). It'e defined here:

numberOfVariables = 2;