Multistart and lsqnonlin - Parallelization doesn't seem to provide any benefit.
Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
0 voti
Condividi un link a questa domanda
- UseParallel should be 'true' for MultiStart alone, or both for MultiStart and the optimoptions object?
- Neither options above seem to be making the parallelization work. I don't have tic/toc data right now, but it's going no faster than when I did lsqnonlin for a single starting point. Is MultiStart with 'n' start points supposed to take as much time as n*lsqnonlin runs with one start point? (I suppose that makes sense, but I thought I'd still ask)
- What is the meaning of the error below:
Risposta accettata
0 voti
14 Commenti
- Parallel Computing Toolbox: Yes. It says 'Parallel Computing Toolbox, Version 7.1' when I check using 'ver'. The license test results in a 'true' result as well.
- I do not understand what you mean by the next question - pertaining to the time interval. Could you elaborate? The 'model' or 'blackbox' solver does solve for the times we specify (the time it took for the experiment to run), which is about 1-2hr.
- Parfor: I see! Makes sense. So I'm not doing it wrong.
- with 'UseParallel = true' (I'm assuming this parallelizes function evaluations?)
- without MultiStart
- A parameter mesh or space is generated
- For each point in that space, X(j), we compare the 'model' and 'experimental' curves.
- This successfully runs in parallel - the parallel plots are produced significantly faster than sequential.arfor j = 1:size(paramspace,1)
- There's no optimization here, but this shows the mex file is being handled properly during parallelization? To make a plot, the solver needs to run. The plots are being produced much faster when in parallel, so the solvers are running in parallel/?
- Thanks :)

Più risposte (0)
Categorie
Scopri di più su Surrogate Optimization in Centro assistenza e File Exchange
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
