Need Help In Solving A Constraint Problem
问题 I would like to solve the following problem using constraints but i actually don't know where to begin so i decided to post it here for help. *** Fitting squares *** Given the set of black squares of Figure 1 (a 2x2, 3x3, 4x4 and a 5x5 square), fit them all into the white rectangle of Figure 1 (a 7x9 rectangle), and this in such a way that there is no overlap between the squares. Note that the black squares can only be put on integer coordinates. Formulate the problem above as a constraint