[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


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: