User Tools

Site Tools


gams:how_do_i_get_the_total_model_solution_time_in_gams

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

gams:how_do_i_get_the_total_model_solution_time_in_gams [2007/04/30 14:08] (current)
Line 1: Line 1:
 +====== How do I get the **total** model solution time in GAMS? ======
 +Q: Is there a way to access the "​Compilation Time", "​Generation Time" and "​Execution Time"
 +in the same way as one can access '"​Resource Usage Time" (using <​modelname>​.resusd)? ​
  
 +You can access those times with the following functions
 +<​code>​
 +Scalar tcomp, texec, telapsed;
 +tcomp = TimeComp;
 +texec = TimeExec;
 +telapsed = TimeElapsed;​
 +Display tcomp, texec, telapsed;
 +</​code>​
 +
 +Please also have a look at [[gams:​what_is_the_meaning_of_compilation_time_generation_time_and_execution_time|that entry]]. ​
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/how_do_i_get_the_total_model_solution_time_in_gams.txt ยท Last modified: 2007/04/30 14:08 (external edit)