Is it possible to solve for values in a grid such that all rows have the same sum and all columns have the same sum where values in the table can be any real number?
meaning:
A B C D = x
E F G H = x
I J K L = x
M N O P = x
= = = =
y y y y
A+B+C+D=x A+D+G+K=y
E+F+G+H=x B+F+J+N=Y
I have developed a brute force genetic solver to find very near to correct values but I have to believe there is a better solution out there.
Many Thanks
A solution to this problem will only exist when $x = y$.
To see this, note that the sum of all entries in the matrix must be equal to both $4x$ and to $4y$, hence $4x = 4y$, hence $x = y$.