MIDACO Parallelization in Julia (@parallel)

 

Running MIDACO in serial and parallel on a cpu-time expensive objective function.

 

Parallelization is enabled, when the Julia is called with the "-p" flag. For example,

executing  julia -p 2 example_parallel.jl  will set the parallelization factor P=4

 

 

example_parallel.jl

 

 

 

Serial Mode (P=1) Parallel Mode (P=2)
command:   julia example_parallel.jl commad:   julia -p 2 example_parallel.jl
Total Time: 6 Seconds Total Time: 3 Seconds
 Original: x1 Speed Up:  x2

 

 The results can be reproduced with the limited MIDACO version (available here). 

 

Any problems running MIDACO? Please click here or contact us.