Solving GA optimization with multi-variable fitness function, having different ranges
古いコメントを表示
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 件のコメント
Alan Weiss
2019 年 1 月 10 日
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
2019 年 1 月 11 日
Surabhi Verma
2019 年 1 月 11 日
編集済み: Surabhi Verma
2019 年 1 月 11 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Choose a Solver についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!