Clemens’ Python Page

hdf2gdx/gdx2hdf

Use the python modules hdf2gdx and gdx2hdf to convert a hdf file to gdx file and the other way around. At present only hdf tables are supported and can be converted from hdf to gdx. Requirements: Python 2.6, numpy, PyTables, gdxcc module for Python that comes with GAMS.

See the manual that comes with the download for further informations.

Download: python_hdf_gdx.zip

jacobian.py

Jacobian.py is a little script that maps the equations and variables of a jacobian matrix “A” to informations found in a dictionary file. Requirements: Python 2.6, gdxcc module for Python that comes with GAMS.

See the readme.txt that comes with the download for further informations.

Download: python_jacobian.zip