Solvelink

Top  Previous  Next

This option controls GAMS function when linking to solve.  The command is implemented with

 

Option Solvelink=number;

 

Where number equals

 

0in which case GAMS operates as it has for years (default)
1in which case the solver is called from a  shell and GAMS remains open.
2in which case the solver is called with a spawn (if possible as determined by GAMS) or a shell (if the spawn is not possible) and GAMS remains open.
3in which case GAMS starts the solution and continues in a Grid computing environment
4 in which case GAMS starts the solution and wait (same submission process as 3) in a Grid computing environment
5in which case the problem is passed to the solver in core without use of temporary files.

 

A set of solvelink constants may also be used.

Leaving GAMS open or passing the information in core saves time.  On the other hand additional memory is required.  This option is best for jobs that have a large data set and solve many small models as in that case one sacrifices memory but avoids the overhead of many GAMS saves and restarts.  This is implemented by using the option SOLVELINK that can appear on the command line, as a model attribute or as an internal option statement.

The default setting is zero.

This can also be done through a command line parameter or a model attribute.