Nikola:
The problem is, that the lead operator works within the set that you specify
so p+5 means five elements further out within the set p and if this element
does not exist then nothing. And since you only have 5 elements in p you
will never get anything.
You must use the lead operator on the large set, I. The equation can be
written as:
eq1(i)$p(i).. Y(i) =e= X(i+5) - X(i) - 3;
Good luck.
Arne
-------------------------------------------
Arne Stolbjerg Drud
ARKI Consulting & Development A/S
Bagsvaerdvej 246A, DK-2880 Bagsvaerd, Denmark
Phone:
(+45) 44 49 03 23, Fax:
(+45) 44 49 03 33, email:
ad...@arki.dk
--
You received this message because you are subscribed to the Google Groups
"gamsworld" group.
To post to this group, send email to
gams...@googlegroups.com.
To unsubscribe from this group, send email to
gamsworld+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/gamsworld?hl=en.