Time Execution in GAMS

Problems with modeling
Post Reply
paganini
User
User
Posts: 15
Joined: 5 years ago

Time Execution in GAMS

Post by paganini »

Hello everyone
there are many many scientific papers especially in electrical engineering that their proposed methods are modeled in GAMS and their novelty is the "Execution Time" in comparison to, for example, Matlab's Execution Time.
So my question is what is the reference for Execution time in GAMS which is a paper's novelty because GAMS has different informations about time:
1.Execution time 2. Generation time 3.elapsed time and 4.

Code: Select all

scalar starttime; starttime = jnow;
At the end of the program do something similar:

Code: Select all

scalar elapsed; elapsed = (jnow - starttime)*24*3600; display elapsed;  
So which are these are the main refrence for scientific papers in journals ???
thanks a lot
User avatar
bussieck
Moderator
Moderator
Posts: 1042
Joined: 7 years ago

Re: Time Execution in GAMS

Post by bussieck »

I don't think there is a "standard". Often paper compare time to solve a model instance. Here the time spend by the solver is the important (modelname.resusd). If the paper is about implementing a more sophisticated algorithm (e.g. decomposition scheme) then the GAMS time should also play a role. In the latter case I think one should just look at the elapsed time of the entire GAMS job (printed in the last line of the log): -- Job new16.gms Stop 05/08/20 02:52:04 elapsed 0:00:00.769.

-Michael
paganini
User
User
Posts: 15
Joined: 5 years ago

Re: Time Execution in GAMS

Post by paganini »

Dear bussieck
Thank you alot
Post Reply