MIDACO Parallelization in R

 

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

 

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

 

example_parallel.r

 

 

Serial Mode (P=1) Parallel Mode (P=2)
 
Total Time: 45 Seconds Total Time: 26 Seconds
 Original: x1 Speed Up:  x1.7

  

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("doSNOW")

 

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