Skip to content

Reads GAMS (gdx) database files and outputs a json formatted file.

Notifications You must be signed in to change notification settings

boxblox/gdx2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gdx2json

Reads GAMS (gdx) database files and outputs a json formatted file. Will read all contents of a gdx file including -- sets, parameters (including scalars), variables (.lo, .l, .up, .m, .scale), and equations (.lo, .l, .up, .m, .scale). Output is a json formatted file.

Requirements

Python 3, GAMS API (high level)

Use

python3 gdx2json.py --in=gdxfilename.gdx

Output file name will be 'gdxfilename.json'.

About

Reads GAMS (gdx) database files and outputs a json formatted file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages