Parallel Optimization with multistart and fmincon
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I am running an optimization program with fmincon and multistart. I have 4 workers but I don't know which option is better.
- Multistart in parallel always and fmincon with parallel always.
- Multistart in parallel always and fmincon with parallel never.
Thanks in advance!
0 comentarios
Respuestas (3)
Alan Weiss
el 16 de Abr. de 2012
parfor has the limitation that inner parfor loops are not run in parallel, only the outermost parfor loop is run in parallel. The situation you ask about is documented in http://www.mathworks.com/help/toolbox/gads/bsc7xh9-1.html#bsc7x1l
The short answer is your option 1 is likely to be slightly faster, but in any case both options run pretty much the same, with just MultiStart running in parallel.
Alan
Sargondjani
el 7 de Abr. de 2012
just try?? this is likely to be very problem dependent...
0 comentarios
Paul Kerr-Delworth
el 12 de Abr. de 2012
Hi Kelvyn,
There are some guidelines in the Optimization Toolbox documentation on parallel computing with the Optimization Toolboxes. See the following link for more information
Hope this helps!
Best regards,
Paul
0 comentarios
Ver también
Categorías
Más información sobre Global or Multiple Starting Point Search en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!