I'm working on implementing a solver for Double-Choco puzzle which published by Nikoli magazine. starting by representing the board cells as matrix containing cells with values 1 or 0, where 1 represents gray cells and 0 represents white cells.
For instance:
[
[0, 0, 0, 0, 1],
[1, 1, 1, 0, 1],
[1, 0, 1, 0, 1],
[0, 0, 1, 0, 1]
]
My goal is to identify matching sub-arrays from each color that have the same shape and size, considering the possibility of rotation or mirroring.
I'm wondering if LP-solvers or other tools could be effective for solving this problem?
Or if I should implement a solution myself.
Could anyone provide guidance on what algorithms might be suitable for achieving this goal?
Thank you in advance for any insights or advice!