I liked the Sudoku example you have on the wiki page as a SDP program application, so I tried to do the same for other type of problems and play a bit.
The 6x6 table must be filled with two colors such that on every line and on every column exactly three instances of the same color are used.
I modelled the problem like this: the first color is 0 and the second is 1. Therefore we have a binary matrix of colors.
The constraints are just A*(vector of ones) = (vector of threes) and A' *(vector of ones) = (vector of threes) + the initial constraints.
This seems way simpler than the sudoku example, yet the solver doesn't find a feasible matrix. What am I doing wrong? (I attach the matlab file)