Alias Dynamic Sets
Posted: Thu Dec 06, 2018 1:43 pm
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_ ... h_of_a_set
in this code , is it possible to define " Alias " (e.g: alias(myset,myset1) ?
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
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_ ... h_of_a_set
in this code , is it possible to define " Alias " (e.g: alias(myset,myset1) ?
Code: Select all
set univ the universe /1*1000/;
scalar dim /6/;
set myset(univ);
myset(univ)$(ord(univ) <= dim) = yes;
Display myset;
what should I do?
Thanks