MIDACO Parallelization in R

 

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

 

 Set the   option.parallel   (line 112) to the desired parallelization level

 

example_parallel.r

 

 

Serial Mode (P=1) Parallel Mode (P=4) Parallel Mode (P=8)

Total Time: 135 Seconds Total Time: 68 Seconds Total Time: 40 Seconds
 Original: x1 Speed Up:  x1.9
Speed Up:  x3.4

  

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

Before executing the example, the following R packages must be installed:

install.packages("foreach")
install.packages("doMC")

 

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