Search found 1 match

by sainaakbari
1 year ago
Forum: Syntax
Topic: adding two sets and use the result in index
Replies: 0
Views: 2591

adding two sets and use the result in index

Hello everyone I have a problem with defining an index based on two sets my equation is y(j,k,t) equals to Q(k,t+L-1,L) where t and L are both illustrating time but t is from 1 to 10 and L from 1to 3. My problem is with (t+L-1) as I do not know how I can define it in gams. I put the simple version o...