Add high-level GDX file API for reading and writing GDX files#32
Add high-level GDX file API for reading and writing GDX files#32MartinBonde wants to merge 1 commit into
Conversation
Implements direct GDX file access using the native C library, addressing issue GAMS-dev#4. Adds GDXFile container with DataFrame-based access to sets, parameters, variables, and equations. Includes read_gdx/write_gdx functions, dictionary-like symbol access, and proper error handling in low-level bindings.
|
First of all: Thank you very much for your work. This looks very interesting and addresses a missing piece. Before looking too deep into the code and reviewing, we discussed this internally (which is why it took so long for me to answer - sorry for this). We came to the conclusion that we cannot merge this as is, mainly because the implementation differs from our GAMS Transfer Python / GAMS Transfer Matlab interfaces and we fear that users would expect this product to look and feel the same when it would be part of our repo. We would like to suggest the following: Either you could create your own Julia package or we could add a |
|
No problem. Consistency with the other APIs seems like a good idea, and not something I gave much consideration. For what it is worth, calling the python gams transfer api from Julia works fine. |
|
Okay. That's great! Thanks for your understanding. |
Implements direct GDX file access using the native C library, addressing issue #4. Adds GDXFile container with DataFrame-based access to sets, parameters, variables, and equations. Includes read_gdx/write_gdx functions, dictionary-like symbol access, and proper error handling in low-level bindings.