Hi Ursula,
good to hear that you found the problem with the error about the in operator.
Regarding your new question, there is no way around this: you cannot use a variable as a domain condition. Is this s(i,k,t) something that your model decides? Does the value change during a solve?
If so, and you want to achieve such a thing, you will have to formulate this with additional (linear) constraints and variables.
If not, you can make the variable s(i,k,t) a parameter and ensure it gets the correct values before the solve and the error should disappear :)
Guido Diepen
AIMMS Specialist