Dynamic sets and binary variables in equation definition

Hello,

I have a simple modelling question. Can any type of equation definition in GAMS contain dynamic sets and binary variables?, for instance:

N(j) =e= N(j-1) + SUM(i, x(i,j)) (being N(j) a dynamic set and x(i,j) a binary variable)

So that the dynamic set N(j) can then be used to filter a summation in an equation declaration.

I have not found anywhere in the GAMS guide or this forum an answer to this.

Thanks in advance

Hi
Could you post some code that makes your question more explicit?
Cheers
Renger