GDIR

Top  Previous  Next

GDIR is a command line paramter that determines where grid models for solution and their corresponding solutions specifying the location of the "Grid directory". Each GAMS job has only one Grid Directory. By default, the grid directory is assumed to be the scratch directory. Users can change this by using the GAMS parameter GridDir, or short GDir. For example:

>gams myprogram ... GDir=gridpath

If gridpath is not a fully qualified name, the name will be completed using the current directory. If the grid path does not exist, an error will be issued and the GAMS job will be terminated.