MIDACO Parallelization in C/C++ (openMP)

 

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_OpenMP.c

 

example_OpenMP.cpp

 

makefile

 

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