Alias Dynamic Sets

Hi all,

I used this command in order to have a set to be able to changing depending on the value of a scalar.https://support.gams.com/gams:a_scalar_drives_the_length_of_a_set

in this code , is it possible to define " Alias " (e.g: alias(myset,myset1) ?

set univ the universe /1*1000/;
scalar dim /6/;
set myset(univ);

myset(univ)$(ord(univ) <= dim) = yes;

Display myset;

Actually , I need to have set to be able to changing depending on the value of a scalar , i used above method but when I use it , I need to have Alias in Dynamic Sets. is it possible?
what should I do?

Thanks

Hi Richard
I probably don’t get your question right, but you set an alias for a dynamic set
alias(myset, myset1);
Cheers
Renger