Originally posted by: rsbeigi
I am using CPLEX 12.8 lazy constraint callback to solve a mixed integer linear program (coded in C++ Concert Technology, run in Ubuntu 18.04). I set a time limit of 10hrs for CPLEX and limit the number of threads used by CPLEX to one. I capture the solution time through the following code:
tic = clock () ;
cplex.solve() ;
toc = clock() - tic ;
TIME = (double) toc /CLOCKS_PER_SEC ;
The solution time given by this code is 35,400 seconds while CPLEX terminates by reporting the 'Real time' of 36,000 seconds. Could you please explain why is this happeing? I have tested several instances and it is the case for them as well.
#CPLEXOptimizers#DecisionOptimization