[AMPL 24969] How model this

Hello, I working with this equation

param: pol: area :=
1 4
2 4

s.t. em1{k in pol, l in pol: k !=l }: A[k,l]+B[k,l]<=0;

In this case the equations genered are like this

A[1,2]+B[1,2]<=0;
A[2,1]+B[2,1]<=0;

In this case the second equation it´s no necessary, how I can write it and not generate the second equation?
thank you

You could write

s.t. em1{k in pol, l in pol: k < l }: A[k,l]+B[k,l]<=0;

Your question has been moved to our new user forum at discuss.ampl.com, and a reply has been posted. To see the reply, go here:

https://discuss.ampl.com/t/ampl-24969-how-model-this/920