Originally posted by: glebB
From the Interactive Optimizer, or with ilolpex2.cpp modified to change thread count, this model is usually solved in a minute with nThreads >= 3. For 1 or 2 threads it really takes half an hour or so. (Such a great variability! The model has a good-conditioned matrix I believe). I tried more with that version of ilolpex2.cpp but could not reproduce.
No I have not tried to reduce the example. Yes from the application the behavior is consistent, either using the CPLEX examples' CFLAGS or not, debug or release. No other parameters changed, no callbacks. I notice that when called from the application with 4 threads, Presolve finishes with 4999 columns, while with other N threads it is sometimes 4995 or 5007.
Attaching the source archive. The cursed command is
mzn-cplex --verbose -p4 amaze_2012-03-09.fzn
which results in infeasibility report in 63 seconds. With -p1 there is an optimum in 78 sec (i7-4770 in XUbuntu in Virtualbox). The same happens with CPLEX 12.6.1. The executable was compiled under XUbuntu 15.04 with gcc 4.9.2 64-bit from the build subdirectory by typing ../BUILD.sh. You can set HAS_GUROBI to FALSE in CMakeLists.txt.
#CPLEXOptimizers#DecisionOptimization