User Tools

Site Tools


gams:structure_a_large_gams_model

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
gams:structure_a_large_gams_model [2013/05/03 15:18]
support
gams:structure_a_large_gams_model [2013/05/03 15:25]
support
Line 29: Line 29:
 *) Remove intermediate and old files (input.gdx, report.xlsx,​ ...) *) Remove intermediate and old files (input.gdx, report.xlsx,​ ...)
 $call rm -f solution.gdx $call rm -f solution.gdx
-*) Read data(Database, Excel, ...), run model and save workfile+*) Read data (database, Excel, ...), run model and save workfile
 $call gams input.gms r=model s=wf1 %clp% $call gams input.gms r=model s=wf1 %clp%
 $if errorlevel 1 $abort errors in input.gms $if errorlevel 1 $abort errors in input.gms
Line 43: Line 43:
 File model.gms File model.gms
 <​code>​ <​code>​
-* We need to use empty data statements ​to allow data checks etc..+* We need to define the data (empty data is ok) to allow data checks etc..
 $ onempty $ onempty
   Sets   Sets
Line 113: Line 113:
 File report.gms: File report.gms:
 <​code>​ <​code>​
-* use command line parameter r=wf1 to execute only this part of the program+* use command line parameter r=wf1 to execute only file report.gms
  
  ​Display x.l, x.m ;  ​Display x.l, x.m ;
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/structure_a_large_gams_model.txt ยท Last modified: 2013/05/03 15:28 by support