Inputdir1 to inputdir40: Idir1 to idir40

Top  Previous  Next

This keyword gives the name of the directories to be searched by GAMS given a file name with number 1 being first then number 2 etc up to 40 when encountering an include or batinclude. Directory names must be listed in a form consistent with the way of indicating directory names on the operating system being employed. If not specified, the name will be blank. String input is expected.

The command is implemented with

 

Inputdir1=directoryname

Inputdir2=directoryname

or

Idir1= directoryname

Idir40= directoryname

 

For example under Windows one could use

 

Idir1=c:\  Idir2=c:\gams        Idir3=c:\mymodel

 

Where this corresponds to the example from the IDIR case above.