Some GAMS Programming Utilities
A GAMS Interface to Mark Horridge's
SHADEMAP
GDX2DAT and GDXF90: Tools for Reading and Writing GDX
Files.
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
ask questions."
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
recommendations:
- EMACS command-based editors:
- Epsilon (not free, but
great; very compact, extensible with a C-like language.)
- GNU
NTEmacs (free, fully-featured. EMACS now has a GAMS mode provided by
Shiro Takedo).
- NotGNU
(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).
GAMS Amusements
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:
\documentclass[landscape]{slides}
\usepackage[dvips]{graphicx}
\special{papersize=11in,8.5in}
- Process with LaTeX as usual:
call miktex
latex %1
- 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
email:rutherford@colorado.edu
Last modified April, 2002 by TR