MIDACO Parallelization in Python

 

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

 

 Set the   option['parallel']   (line 117) to the desired parallelization level

 

example_parallel.py.txt   (Python2)

 

example_parallel.py.txt  (Python3)

 

Serial Mode (P=1) Parallel Mode (P=2) Parallel Mode (P=4)
     
Total Time: 102 Seconds Total Time: 53 Seconds Total Time: 27 Seconds
 Original: x1 Speed Up:  x2  Speed Up:  x4 

  

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

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