Parallel Computing GA algorithm freezes after several generations
이전 댓글 표시
Hello,
I've been running into a problem using the GA algorithm in parallel that it freeze sometime into the iteration after having successfully passed through several (around 10-15) generations.
The command window displays this status:
In globaloptim\private\createAnonymousFcn>@(x)fcn(x,FcnArgs{:}) at 11
In globaloptim\private\fcnvectorizer>(parfor body) at 17
In parallel_function>make_general_channel/channel_general at 914
In remoteParallelFunction at 38
It will remain in this function forever (I haven't waited that long yet, but seemingly so at least). I'm not sure what would cause the ga to fail at this point late in the run after several generations, any advice would be appreciated. Thanks!
댓글 수: 1
Shruti Sapre
2015년 7월 30일
Hi Brandon,
I understand that the GA algorithm you run stops after going through several generations. Could you provide some more information on the data being used?
In order to help debug this, you could also try turning the ‘Display’ option to ‘diagnose’ while running the algorithm. This will display the following fields and will hopefully provide some information about the issue:
1. Generation — Generation number
2. f-count — Cumulative number of fitness function evaluations
3. Best f(x) — Best fitness function value
4. Mean f(x) — Mean fitness function value
-Shruti
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!