<div dir="ltr"><div><div>Hi,<br><br></div>We develop an optimization algorithm which
calls CBC to solve a number of small to medium size MIP problems. It
works fine on Linux, but the execution time increases - sometimes
dramatically - on Windows.<br><br></div><div>Could anyone give me some hints on the possible reasons for that and how to overcome?<br><br></div><div>Some details:<br></div><div>The code is written in C++, and we build up and solve the MIP problems directly with the CBC API.<br></div><div>We compile CBC from source with this configuration:<br><br>./configure --enable-static --disable-shared --disable-cbc-parallel<br><br></div><div>On Windows, we tried Cygwin and MinGW.<br></div><div><br>With Cygwin, both CBC and our code is compiled in Windows, in the cygwin shell just the same way as in linux.<br><br></div><div>With MinGW, we do cross compiling on linux. The CBC source is configured as:<br><br></div><div>./configure --host=x86_64-w64-mingw32 --enable-static --disable-shared --disable-cbc-parallel <br><br></div><div>Using MinGW we get a faster executable, but still slower than the linux version by a magnitude.<br><br></div><div>We tried both the trunk version and release 2.9.9. There is no significant difference.<br><br></div><div>Many thanks in advance for any help!<br><br></div><div>Regards,<br></div>Alpár</div>