I try to place N rectangular blocsks with different sizes into a grid, by formulating it
as a CSP propblem.
The blocks should not overlap with each other, they can touch on the edges, and there can be
empty places.
For example place 4 rectangular blocks of size 2x2 into a 8x8 grid. (Vary the number of blocks, the sizes of the blocks, and the size of the grid.) I know the formula as
I try to write a program or script generates the formula but I am confused too much I cant write in an SMT syntax. İf anyone helps I aprreciate too much. Thank you.