Solving GA optimization with multi-variable fitness function, having different ranges
Mostrar comentarios más antiguos
Hi,
I have a multi-variable fitness function in GA. These variables have different ranges. For example, one variable is in radians while the other is in cm. As a result, one of the variables has a bound of [-pi pi] radian, while the other variable has a bound [-400 400] mm. Right now I am just giving the lower bound as [-pi -400] and a higher bound of [pi 400]. This definitely gives me a wrong optimized value because as far as I understand, with variables having different ranges, we first need to scale them. However, if I give the scaled values to GA, how do I retrieve the non-scaled optimized value?
Thanks,
Surabhi
3 comentarios
Alan Weiss
el 10 de En. de 2019
There is nothing inherently wrong with one variable being less than pi in absolute value, and the other being less than 40. Scaling makes sense when the variables are many orders of magnitude apart.
My question for you is why are you using ga? In general, other solvers are better, as the solver decision table shows.
Alan Weiss
MATLAB mathematical toolbox documentation
Surabhi Verma
el 11 de En. de 2019
Surabhi Verma
el 11 de En. de 2019
Editada: Surabhi Verma
el 11 de En. de 2019
Respuestas (0)
Categorías
Más información sobre Choose a Solver en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!