Dear all
A few days ago I had posted a question under the title “Data exchange between R and GAMS” - I realize now that this heading may have been too restrictive, so I would like to broaden the question:
In my model, GAMS needs to be able to read data in the execution of a loop (because the values of these data are changed by an external application in each iteration).
I had considered using csv files for the exchange of data, but I understand you can not read text files during execution:
https://www.gams.com/latest/docs/UG_Dat … ASCII.html
A similar issue arises if I would use Excel files for the data exchange (using this solution requires the declaration of a set during the loop, which is not allowed)
https://www.gams.com/latest/docs/T_XLS2GMS.html
Are there any alternative solutions?