MIDACO Parallelization in C/C++ (MPI)

 

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

  

Choose the C or C version and you may use the makefile for compilation

 

example_MPI.c

 

example_MPI.cpp

 

makefile

 

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