I've tried this but error message
import gdx2py as gdx2py
from gdx2py import GdxFile, GAMSSet, GAMSScalar, GAMSParameter
import pandas as pd
with GdxFile('/path/to/gdx/file.gdx', mode='w') as gdx:
gdx['set1'] = ['a', 'b', 'c'] # Write a simple set
Could someone help me?
Try with this: