[AMPL 24616] SOS1

Hello,

I have a variable x with indexes 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(CAPACITIES,n1[t])…ord(CAPACITIES,n2[t])}?

Thank you in advance.

Greetings,
Manuel

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