Why isn't parallel computing taking place when using MADS search methods in patternsearch?
Mostra commenti meno recenti
I've been utilizing patternsearch for awhile to tune parameters for a black box simulation inside my objective function. It's working great. The most effective method for me has been the MADSPositiveBasis2N search function. However, it seems that when I set that as the search function, parallel computing is then disabled. I've confirmed that parallel computing takes place when using GSS or GPS search functions. According the bottom of this page, UseParallel should work for all search functions. Can anyone give me any insight into why this may not be working?
I've validated my local computing cluster.
A code snippet:
pattOpts = optimoptions('patternsearch','UseParallel',true,'Display','iter','MaxTime',60,'SearchFcn','MADSPositiveBasis2N');
[passVals,fVal] = patternsearch(fun_pass,initialPoint,[],[],[],[],lb,ub,[],pattOpts)
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!