Page 1 of 1

why is the elapsed seconds smaller than the total seconds

Posted: Tue Jun 11, 2019 11:00 am
by feifan
Dear GAMS users,

I was trying to get the time required for solving the model. I got a step summary like this,

STEP SUMMARY: 0.000 0.000 STARTUP
0.047 0.047 COMPILATION
0.547 0.547 EXECUTION
0.000 0.000 CLOSEDOWN
0.594 0.594 TOTAL SECONDS
0.593 0.593 ELAPSED SECONDS
5.191 5.191 MAX HEAP SIZE (MB)

I read a sentence on the GAMS support WIKI website, that is "The difference between ELAPSED SECONDS and TOTAL SECONDS is the time consumed by the solver".
From my point of view, the total seconds should be smaller than the elapsed seconds, right? But in my results shown above, the elapsed seconds is smaller than the total seconds. What happened here? Is the time for solving model 0.001 seconds?

Thanks for your help.

Re: why is the elapsed seconds smaller than the total seconds

Posted: Sat Jun 15, 2019 4:20 pm
by bussieck
I would not worry about this. This is probably a rounding error in routines that measure time somewhat independently.

-Michael