This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
gams:enter_gams_command_line_options [2020/10/20 16:01] Atharv Bhosekar removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== How do I enter GAMS command line options ? ===== | + | |
- | There are various ways to enter additional GAMS command line options (e.g. ps = 9999 pw = 200): | + | |
- | * Within the GAMS IDE: | + | |
- | * Use the [[gams:enter_command-line_parameter_into_the_gams_ide|parameter field on the right side of the top of the GAMS IDE]] | + | |
- | * If you want to use these options permanently: File -> Options -> Execute -> Use following additional parameters | + | |
- | {{ gams:cl_options.png?300 }} | + | |
- | * Using the command line interface: | + | |
- | * Just add them to the GAMS call, e.g.: ''gams trnsport ps = 9999 pw = 200'' | + | |
- | * If you want to use these options permanently: Add them to the file ''gmsprmnx.txt'' (Windows) or ''gmsprmnu.txt'' (UNIX) | + | |
- | * Use a parameter file: | + | |
- | * Enter the options into an ASCII file (e.g ''gams.opt'') | + | |
- | * Activate this parameter file using the command line option:''gams <model_name> pf=<parameter_file>'' | + | |
- | * Hint: You can also use the GAMS option editor to generate and edit this file: Utilities -> Option editor -> File -> Create option files ->GAMS | + |