DEPENDS SETS

Hello everyone,

How can I write a set depends other set ? For example i and t are sets. When i change t change too. i=/1*4/ t=i+1. Should I use loop ? I couldnt write gams code.

Thank you,

Hi
I suppose you are looking for the following

set  allele /1*5/, i(allele) /1*4/, j(allele);
j(allele+ 1) = YES;
display j;

Cheers
Renger

Thanks. It works now