MIDACO Parallelization in Python

 

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

 

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

 

 

example_parallel.py.txt

 

 

 

Serial Mode (P=1) Parallel Mode (P=2) Parallel Mode (P=4)
     
Total Time: 54 Seconds Total Time: 31 Seconds Total Time: 16 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.