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:  13 Seconds Total Time:  6 Seconds Total Time:  4 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.