how can we know the optimal solution from GA in MATLAB is the best solution? if all the results are always different from each other after run it in several times.

조회 수: 4 (최근 30일)
the optimum solutions from GA are always different after I run it in several time, so I wonder that which one is the best solution or how many time should I run it to make sure it the best solution ? thank you very much.

채택된 답변

Matt J
Matt J 2015년 6월 30일
편집: Matt J 2015년 6월 30일
You can never know for sure. However, you can check whether the final fitness value is approximately the same over your multiple runs. If it is, it might simply mean you have multiple global solutions.

추가 답변 (1개)

Alan Weiss
Alan Weiss 2015년 6월 30일
The Optimization Toolbox documentation discusses this issue. For ga, you can include a hybrid function to try to help get the best local optimum. But, in general, it is a hard problem to get a global minimum. See also the discussion about an isolated global minimum.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by