$ operator help

hi, i m a new user at gams so, please help.

ciftler(i,j,k)… x(i,j,k) + x(j,i,k) =l= 1; i want tor run this
constraint for i not equal j

depodan1(ij,k)… sum(i,x(i,j,k))=e=1; i want tor run this constraint
for i>1

\

Hi

try this
ciftler(i,j,k)$( ord(i) ne ord(j) )… x(i,j,k) + x(j,i,k) =l= 1; i want tor run this constraint for i not equal j ne


On 15 October 2011 09:58, eses283 wrote:

hi, i m a new user at gams so, please help.

ciftler(i,j,k)… x(i,j,k) + x(j,i,k) =l= 1; i want tor run this
constraint for i not equal j

depodan1(ij,k)… sum(i,x(i,j,k))=e=1; i want tor run this constraint
for i>1


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

\

To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

ciftler(i,j,k)$( ord(i) ne ord(j) )… x(i,j,k) + x(j,i,k) =l= 1;

depodan1(i,j,k)$( ord(i) gt 1 )… sum(i,x(i,j,k)) =e= 1;

\

Thank you su much,
it worked.

\