Dear Bob Fourer, thank you for your response. I tryed your suggestion but I still have the same problem. I have to unfix 4 Periods each time and then choose the next 4 ones overlapping two of them.
This means that I want the loop to choose TAU=0 so that I get to unfix first periods 1 to 4 like this:
t in 1+tau*theta..lamda+tau*theta
1+ 0 * 2 .. 4 + 0* 2 => 1..4
1+ 1 * 2 .. 4 + 1* 2 => 3..6
1+ 2 * 2 .. 4 + 2* 2 => 5..8
1+ 3 * 2 .. 4 + 3* 2 => 7..10
So that's why I putted the set TAU instead param tau at first. But either way work.
Thanks again in advance
Taby