why is the elapsed seconds smaller than the total seconds

Problems with syntax of GAMS
Post Reply
feifan
User
User
Posts: 15
Joined: 1 year ago

why is the elapsed seconds smaller than the total seconds

Post by feifan » 3 months ago

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.

User avatar
bussieck
Moderator
Moderator
Posts: 342
Joined: 3 years ago

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

Post by bussieck » 3 months ago

I would not worry about this. This is probably a rounding error in routines that measure time somewhat independently.

-Michael

Post Reply