|
Inputting data from a GDX file into GAMS |
Top Previous Next |
|
Data in a GDX file can be read during a GAMS compile or a compile/execute sequence. GAMS can only load data from GDX files into declared items and only on an item-by-item basis. In addition GDX files are read when Xlimport is included which in turn runs a program that creates a GDX file with Excel contents and then Xlimport reads the Excel data in that GDX file. Items may be loaded at compile time or during execution. The syntax differs depending on whether items are read at compile or execution time so these are discussed separately.
|