Discrete variables in Genetic algorithm problem

7 visualizzazioni (ultimi 30 giorni)
adam
adam il 6 Ago 2014
Commentato: Geoff Hayes il 7 Ago 2014
Hi there,
I have an optimization problem and my variables are discrete. For instance t=[1 3 5 12 18] and corresponding V=[11 22 41 56 61]. fitness function is f(t,v). Each V is correspond to t. The thing is I am interested to minimize the length of vector but do not now how I can do it in Genetic algorithm.
Thanks
  1 Commento
Geoff Hayes
Geoff Hayes il 7 Ago 2014
Adam - what do you mean by each V is correspond to t? You state that you are trying to minimize the length of vector but which vector is that - V or t? What does your fitness function f return in terms of a value?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by