Parallel GA is Ignoring Time Limit?
Mostra commenti meno recenti
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?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!