Esra:
You probably do not want Y-1 for ord(Y)=1 since there is no such element.
What I assume you want is:
eq1(E,Y)$(ord(Y) eq 1)..WO(E,Y)=E= WI(E);
Given your sets you may also write it as:
Eq1(E) .. WO(E,'S6') =E= WI(E);
Arne
PS: You seem to have two very different sets and you still name all the
elements with S. Why not
set
Y slug /y1,y2,y3/
E product/s1,s2,s3,s4,s5/
-------------------------------------------
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.