Can GAMS run two models at the same time?

It seems that GAMS can run at least two models at the same time. Then, do they affect each other? How?

The answer depends on how you run the models.

If you have two separate GAMS jobs, then the solvers run in separate and independent processes. The only way they can interfere is if they use the same files. For example, if you have two GAMS jobs running “gams trnsport” in the same directory you could get chaos writing the .lst file.

There is also a capability for doing parallel solves in a GAMS process. This is detailed here;

https://www.gams.com/latest/docs/UG_GridComputing.html

Don’t let the name of the page fool you: the second half is about true async multi-threaded solves within a GAMS process. Some of the ideas and syntax for this build on the grid computing stuff.

-Steve

Thank you, dirkse. If I run two separate GAMS jobs, then how do they allocate computing resources?