Posts Tagged ‘GAMS’

Using GAMS, R and LaTeX

I just came across an interesting post by Renger van Nieuwkoop on The Lazy Economist, where he writes about how to use R to produce tables from GAMS model output for use in LaTeX.

Very nice and very useful, indeed!


Interfacing GAMS and R

GAMS is perhaps THE programming language for developing and running optimization models. R is an excellent and efficient tool for analysing data, including producing attractive graphs.

A tool for combining the two is provided with GDXRRW. GDXRRW acts as an interface between GAMS and R and offers facilities for the transfer of data between GDX and R and a function to call GAMS from within R.

A presentation by Dirkse et al. gives an introduction to the use of GDXRRW.