Some GAMS Programming Utilities
A GAMS Interface to Mark Horridge's
GDX2DAT and GDXF90: Tools for Reading and Writing GDX
A GAMS Utility for Mapping Tuples to Linear Sets
Translation Tools for GDX and HAR Files.
A Utility for Ranking One-Dimensional Numeric Data.
GAMSsm: A Scenario Manager.
Libinclude files for GAMS-readable data file management.
GAMS2CSV: A LIBINCLUDE Tool for Writing Comma-Delimited Data Files.
XLWrite: A Console Application for Creating Excel Workbooks from CSV Files.
Workbook data transfer programs for use with GAMS and Excel.
Libinclude files for calling GNUPLOT from GAMS.
A GAMS interface for MATLAB (by Michael Ferris)
Libinclude files for report writing .
A preprocessor for function definitions in GAMS.
Libinclude files for reading and writing GEMPACK header array files.
GAMS Control Statements
Bruce McCarl: "As suspected GAMS did not have anything on set global
etc that I could extract from Alex. Thus I put togeather these notes
based on looking at your stuff, talking to Alex and just guessing at
what some things did. I am committed to use these as is in class but
if you have any comments or suggestions where I should add, elaborate
or correct let me know. Otherwise use for your purposes when people
Recommended Text Editors for Programming in GAMS
I generally recommend that graduate students learn to edit with
Emacs for the reason that it provides keystroke commands
which are portable across platforms, i.e. under MS Windows, Unix and
even with Apple. Of course, the choice of editor is a personal
issue, and there is an issue of hysteresis... (Mark Bulloch: Editors are like mother ducks - once you've identified yours...)
Anyway, here are my
- EMACS command-based editors:
- Epsilon (not free, but
great; very compact, extensible with a C-like language.)
NTEmacs (free, fully-featured. EMACS now has a GAMS mode provided by
(free, reliable, small, but non-extensible.)
- JED (free,
under development but reasonably stable, easily extensible using Slang)
- Other editors:
- MetaPAD (free, small)
OxEdit+GAMS : Another GAMS IDE Philip Viton's programming
environment for GAMS. (free, lots of people like it)
- Crimson is a pretty
good editor with two limitations: line length max of 2048 and line max
of 65536. Otherwise, it's a powerful, extensible tool.
- TextPad is not freeware but it's not
expensive, and there is a syntax file for
GAMS. The really great feature of Textpad is that you can manipulate
columns (not just rows).
Solving riddles in GAMS.
Notes on Creating PDF Slides with Handouts
In the following %1 corresponds to the LaTeX file name prefix.
- Use the following document header:
- Process with LaTeX as usual:
- Use the PSNUP utility to generate notes with two slides per page:
psnup -2 -r %1.ps %1_h.ps
- Call Distiller to generate the PDF files. The trick here is to
pass the full path name to the program using "%~f":
call "c:\Program Files\Adobe\Acrobat 5.0\Distillr\acrodist.exe" "%~f1.ps"
call "c:\Program Files\Adobe\Acrobat 5.0\Distillr\acrodist.exe" "%~f1_h.ps"
Thomas F. Rutherford
Economics Department, University of Colorado, Boulder CO 80309-0256
Phone: (303) 492-5169, Fax: (303) 492-8969
Last modified April, 2002 by TR