[AMPL 24615] SOS1

Hello,

I have a variable x with indexs l in LOCATIONS and t in TYPES. It is possible, following the notation “var x {LOCATIONS} in CAPACITIES;”, to define for each t in TYPES, X{LOCATIONS, t} in a different set that depends on t, such as {ord(U, n1[t])…ord(U, n2[t])}?
Thanks in advance.

Sincerely
Manuel

This question was answered in our new, enhanced user forum at https://discuss.ampl.com.