I would like to undertake some sensitivity analysis and have some datasets with different names which I want to call in a loop and have these related to parameters for display (or other things). For example, the datasets are called dataA.xls, dataB.xls, dataC.xls. The parameters for display would be called e.g. para(“A”)=a.L, para(“B”)=a.L, and para(“C”)=a.L. How do I make sure that GAMS treats my A,B and C as a string? The that I used in the loop is obviously wrong but I’d be happy if someone can let me know about the correct method.
The idea of the loop is to write
set
i /A,B,C/
;
Loop(i,
$include data.inc
then I do something with the data
para(“”)=a.L
);
display para;
Thanks for any help.