Hi,

1. I am writing  now a magic square program in math prog.I have a problem with 
formulating a constraint, that all the values in the square must be different.

...

/* variable x[i,j] */
/* x[i,j] value maximal n^2 */
var x{1..n, 1..n}, integer, >=1, <=n*n;

...

/* all diff */
s.t. ?????

...

I would be very grateful, if you could support me somehow.
greetings

rid3r


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to