Hi All,

I have a constraint as follows:

cons1(i,j)…z(i,j)+u(j)-u(i)+w(j)=g=0;

if ord(i)ord(j), then I want to exchange the indices in z variable.

Some examples:

CONS1(3,4)… z(3,4) + u(4) - u(3) +w(4) =G= 0 ;

CONS1(4,3)… z(3,4) + u(3) - u(4) +w(3) =G= 0 ;

CONS1(4,5)… z(4,5) + u(5) - u(4) +w(5) =G= 0 ;

CONS1(5,4). .z(4,5) + u(4) - u(5) +w(4) =G= 0 ;

Any comments would be highly appreciated.

Bests.

–

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.