Skip to main content

A helper package to read and write GAMS GDX files

Project description


gdxrw contains two classes (gdx_reader and gdx_writer) that enable rapid read and write operations of GAMS GDX files. These 'helper' classes will allow the user to interface with the GAMS python API through a more intuitive interface (enabled by python dicts).


The example file that is included here shows how these classes are utilizied in reading from the 'transport_out.gdx' file with 'gdx_reader'. The example file also includes an implementation of 'gdx_writer' that creates 'transport_out_chk.gdx'. The user can use the GAMS utility 'gdxdiff' to view the differences between the original GDX file and the newly created check GDX file. At this time gdxrw does not write equations or variables into a GDX file (but it will read)... this functionality might be added later on.


Python 3, GAMS API

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gdxtools, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size gdxtools-0.1.0-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size gdxtools-0.1.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page