Unraveling complex files: Refreader

Top  Previous  Next

GAMS Modelers sometimes have to deal with complex implementations that

Use include statements to incorporate numerous files.
Have been developed by others.
Have a complex structure with definitions and uses of items widely spread in a file or files.
Contain items that are defined but never used.
Were developed some time ago but are not extensively documented.

When faced with such cases one often asks

Are there items defined in the program that are not used and if so what are they and where are they.
Given an item in what files is it defined, declared and used in.

To resolve these questions a program called Refreader is included in the GAMSIDE.