To set in Gmsprmxx.txt parameter file

Top  Previous  Next

After installation you get a file that looks like the black lines below and you can add to it

 

*************************************************

* GAMS 2.50 Default Parameterfile for Windows 95

* GAMS Development Corp.

* Date : 20 Mar, 1998

*************************************************

* entries required by CMEX, put in by GAMS.exe:

* SYSDIR

* SCRDIR

* SCRIPTNEXT

* INPUT

pw 85

ps 9999

errmsg 1

charset 1

LP OSL

MIP OSL

limrow 0

limcol 0

optfile 1

sp 1

pf="c:\program files\gams22.7\mycusomizing"

 

where the entries in red are the customizing values for the GAMS command line parameters

 

ParameterAbbreviation                New setting above

 

Page widthpw                            85 columns
Page linesps                            9999 lines
Error message placementerrmsg                        1-below error messages        
International characterscharset                        1-active
LP solverLP                            OSL
MIP solverMIP                          OSL
Row displaylimrow                        0-suppressed
Col displaylimcol                        0-suppressed
Optfile presenceoptfile                        1-always look for
Pfpf                            name of file
Savepointsp                            1-save a file

 

The lines in red above once added to the Gmsprmxx.txt file are part of every GAMS execution on the computer.  The above options can all be set in a GAMS call but it would be a long and involved one.

 

GAMS myfile pw=85 ps=9999  .. .optfile=1  …

 

However note a number of the options are overwritten by IDE options on a PC.

The Gamsprm - GAMS parameter file name depends on the operating system as follows

 

under Windows 95/98Gmsprm95.txt
under Windows NTGmsprmnt.txt
under UNIX/LINUXGmsprmun.txt

 

These are in the GAMS system directory that is c:\program files\GAMS22.7 as of this writing.