A difficulty you will have using IDE

Top  Previous  Next

When using and teaching the IDE, I find that IDE project location in interaction with file placement gives almost everyone fits at some point or another.  I have a rule of thumb to avoid problems.

Make sure that you are working on files located in the same directory location as the project is located.
This means making sure the path lines match up in the two dark blue locations in the screen shot below.

 

_img53b

 

You do not have to follow this rule but deviations are the same as asking for trouble.  When GAMS executes a file in a different directory it will look for options files, GCK files, include files etc in the directory where the project is located.

Another rule of thumb is also relevant.

Whenever you need to work in a new directory define a new project.