Sunday, January 18, 2009

Can I use restart files in GAMS to hide data?

> Can I use restart files in GAMS to hide data?

No. If you produce a restart file by:

> gams model.gms save=t

then the data content of t.g00 can be revealed by running an empty model as follows:

> gams empty.gms restart=t gdx=t.gdx

Now t.gdx will contain all data in a convenient format for a user to look at.

There is an option in GAMS to hide data in restart files but that requires a special license option. For more info see newsletter7. (Note: the link to http://www.gams.com/docs/privacy.pdf does not work; I can email a copy).