lolow / gdxtools

manipulate GDX files in R
Eclipse Public License 1.0
16 stars 4 forks source link

write.gdx is not handling name with dot inside #1

Closed lolow closed 7 years ago

lolow commented 8 years ago

if the name of a set is including a dot, then write.gdx won't work. Reason: the parameter statement in the temporary gams will have a wrong number of indexes, resulting in GAMS error $163

jackjackk commented 7 years ago

I have a similar problem with set elements with spaces or special characters. In general, to be safe, I would quote set elements with "" when writing them in the temporary gams file.

lolow commented 7 years ago

fixed by 185e14f066797ccb389bb265c273518769cfb8f2