coin-or / Cbc.old

This is a mirror of the subversion repository on COIN-OR
https://projects.coin-or.org/Cbc
Other
88 stars 30 forks source link

[Trac #142] Problem dsbmip takes half an hour in -miplib unit test with GCC 4.4 or older #65

Open s-c-e opened 5 years ago

s-c-e commented 5 years ago

image

Mostly a heads-up, since Data/miplib3 is only getting used by Cbc/trunk and in CoinAll. When compiled with GCC 4.4.x (or older, also happened for 4.1.2), the dsbmip problem takes half an hour during make test where it only takes about 20 seconds with GCC 4.6.4 or 4.8.x. Oddly just calling ./cbc ../Data/miplib3/dsbmip.gz (from installed build/bin folder) solves the problem in less than a second, but calling ./cbc -miplib appears to change the options in some way that causes a very long runtime for this problem with older GCC versions. Might be something to look into, or at least make a note of.

Here are some make test logs for comparison GCC 4.6.3 ​https://gist.github.com/7671984 GCC 4.4.7 ​https://gist.github.com/7672197 GCC 4.5.3 ​https://gist.github.com/7671988 Clang 3.3, Clang++ 3.3, Gfortran 4.6.3 ​https://gist.github.com/7671977