Hello,

I have defined a set as follows:

set li /li4/;

Afterwards, all the equations and parameters are defined over the set li. There is a large number of equations and parameters.

Initially, I need to run the model using li4 only. Based on the output results, I need to rerun the model while redefining the set as follows:

set li /li0*li40/;

However, I’m facing an issue since I cannot redefine the same set in the same GAMS file twice. How could I resolve this?

Thank you for your assistance.