GA optimization problem, terminate before stall limit
조회 수: 24 (최근 30일)
이전 댓글 표시
The solution can be seen to be improving but it terminates before the generation or stall limit. Can find a better solution manually by trial and error.
댓글 수: 0
채택된 답변
Alan Weiss
2015년 1월 14일
You can set larger values for various stopping criteria, such as Generations or StallGenLimit. Or you could do yourself a favor and try using patternsearch instead of ga. patternsearch is usually faster and more reliable, and is easier to tune. If you need to start from a wide variety of initial points, and you have finite bounds on all components, try
x0 = lb + rand(size(lb)).*(ub - lb);
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!