nested parallel optimization and parfor loops
I would like to run a code having this structure:
Parallel Optimization 1(Particle swarm):
— Par for loop (length ~ 20):
— — Parallel Optimization 2(Particle swarm)
— calculate a cost function based on the 20 results of the parfor loop and use it in the Parallel Optimization 1
Is it possible to connect to a cluster and make a such complicated nested parallel compuitation?
I am doing this:
Par for loop
Parallel Optimization 2(Particle swarm)
on my computer for now but i am not sure the particle swarms actually works in parallel.
Please tell me if it is doable. Thank you.I would like to run a code having this structure:
Parallel Optimization 1(Particle swarm):
— Par for loop (length ~ 20):
— — Parallel Optimization 2(Particle swarm)
— calculate a cost function based on the 20 results of the parfor loop and use it in the Parallel Optimization 1
Is it possible to connect to a cluster and make a such complicated nested parallel compuitation?
I am doing this:
Par for loop
Parallel Optimization 2(Particle swarm)
on my computer for now but i am not sure the particle swarms actually works in parallel.
Please tell me if it is doable. Thank you. I would like to run a code having this structure:
Parallel Optimization 1(Particle swarm):
— Par for loop (length ~ 20):
— — Parallel Optimization 2(Particle swarm)
— calculate a cost function based on the 20 results of the parfor loop and use it in the Parallel Optimization 1
Is it possible to connect to a cluster and make a such complicated nested parallel compuitation?
I am doing this:
Par for loop
Parallel Optimization 2(Particle swarm)
on my computer for now but i am not sure the particle swarms actually works in parallel.
Please tell me if it is doable. Thank you. parallel computing, parallel computing toolbox, optimization, particle swarm, parfor MATLAB Answers — New Questions