User Tools

Site Tools


gams:how_to_reduce_model_generation_time

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
gams:how_to_reduce_model_generation_time [2015/10/29 14:01]
admin
gams:how_to_reduce_model_generation_time [2017/09/02 19:26] (current)
support
Line 1: Line 1:
 ===== How to reduce model generation time ===== ===== How to reduce model generation time =====
  
-If you want to reduce the model generation time then the below example might be helpful. The first example "Slow Execution"​ is poorly formulated. The second example "Fast Execution"​ gives suggestions on how to improve the model, when we consider the execution speed of assignment statements and model generation time. Keep in mind that when you use indexed statements, like loop and sum, then you might be able to restrict the traversing over indices to a subset of all indices by using subsets, as well as, the dollar control statement with an appropriate condition statement. Furthermore,​ McCarl Guide section ​[[http://​www.gams.com/​help/​topic/​gams.doc/​userguides/​mccarl/​finding_where_excessive_time_is_being_used.htm|Finding where excessive time is being used]] and, especially, option ​[[http://​www.gams.com/​help/​topic/​gams.doc/​userguides/​mccarl/​profile_3.htm|profile]], may be helpful when you are reducing the model generation time.+If you want to reduce the model generation time then the below example might be helpful. The first example "Slow Execution"​ is poorly formulated. The second example "Fast Execution"​ gives suggestions on how to improve the model, when we consider the execution speed of assignment statements and model generation time. Keep in mind that when you use indexed statements, like loop and sum, then you might be able to restrict the traversing over indices to a subset of all indices by using subsets, as well as, the dollar control statement with an appropriate condition statement. Furthermore,​ McCarl Guide section ​''​Finding where excessive time is being used'' ​and, especially, option ​''​profile''​, may be helpful when you are reducing the model generation time.
  
  
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/how_to_reduce_model_generation_time.txt ยท Last modified: 2017/09/02 19:26 by support