Parallel GA is Ignoring Time Limit?
이전 댓글 표시
When running a vectorized GA
options = gaoptimset('Vectorized', 'off', 'UseParallel', 'Always', 'TimeLimit', 300);
it will run indefinitely (left it running for more than two hours, and it still hadn't stopped or found an optimal solution.
But when I change it to
options = gaoptimset('Vectorized', 'on', 'TimeLimit', 300);
It runs just fine and stops after 5 minutes. Before running the parallel version, I run 'matlabpool 4'. Does the parallelization usually negate the time limit, or does someone have any clue why it would do so?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!