File | Project

Top  Previous  Next

A Project file serves as a place holder to remember which edit windows and which files were open when the project was closed in order to restore these windows in the same state when the project is opened again.

 

In addition, the directory where the project file is located is used:

 

As the destination directory for GAMS models opened in the Model Library

As the default directory for file operations when GAMS executes, such as searching for INCLUDE files and writing the LISTING- and PUT files

To write temporary files

 

When the IDE is installed, a directory is created to serve as the initial project directory; see Installation Notes.

During installation, the file extension '.gpr'  is registered with Windows to open a project; so a double-click in the Windows Explorer will launch the GAMSIDE and open the specified project file.

 

Project Menu

 

Open Project

Open an existing project. After selecting an existing project file, all modified files will be saved and the selected project will be opened. All files which were open when this project was closed will be opened in the editor.

 

New Project

Create a new project. After selecting the directory and the name for the new project, all modified files will be saved and all active edit windows will be closed.

 

A project can be created in a networked directory. If such a directory is not mapped to a drive letter, the IDE will create such a mapped drive before calling GAMS or opening a command prompt window. When closing the IDE or changing the current project, the drive will be disconnected from the directory. Disconnecting the mapped drive is only possible as long as the files are no longer in use.

Previous Projects

Shows a list of previous used projects; click on the name to close the current project and open the new project. If any files were modified, you will be asked to save the modified files.