# Colored Nonograms: An Integer Linear Programming Approach

• Luís Mingote
• Francisco Azevedo
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5816)

## Abstract

In this paper we study colored nonogram solving using Integer Linear Programming. Our approach generalizes the one used by Robert A. Bosch which was developed for black and white nonograms only, thus providing a universal solution for solving nonograms using ILP. Additionally we apply a known algorithm to find all solutions to a puzzle. This algorithm uses a binary cut to exclude already known solutions. Finally we compare the performance of our approach in solving colored nonograms against other approaches, namely the iterative and the brute-force ones, pointing to a research direction of developing a hybrid method combining the iterative approach with ILP.

## Preview

### References

1. 1.
Bosch, R.A.: Painting by Numbers. Optima 65, 16–17 (2001)Google Scholar
2. 2.
Tsai, J.-F., Lin, M.-H., Hu, Y.-C.: Finding multiple solutions to general integer linear programs. European Journal of Operational Research 184(2), 802–809 (2008)
3. 3.
Balas, E., Jeroslow, R.: Canonical Cuts on the unit hypercube. SIAM Journal of Applied Mathematics 23(1), 61–69 (1972)
4. 4.
5. 5.
Simpson, S.: Nonogram Solver, http://www.comp.lancs.ac.uk/~ss/nonogram/
6. 6.
Simpson, S.: Nonogram Solver - Solvers on the Web, http://www.comp.lancs.ac.uk/~ss/nonogram/list-solvers
7. 7.
Wolter, J.: Survey of Paint-by-Number Puzzle Solvers, http://webpbn.com/survey/
8. 8.
Wolter, J.: The ’pbnsolve’ Paint-by-Number Puzzle Solver, http://webpbn.com/pbnsolve.html
9. 9.
Hett, W.: P99: Ninety-Nine Prolog Problems, https://prof.ti.bfh.ch/hew1/informatik3/prolog/p-99/
10. 10.
Olšák, M., Olšák, P.: Griddlers solver, nonogram solver, http://www.olsak.net/grid.html#English
11. 11.
12. 12.
13. 13.
Grainger, B.: Pencil Puzzles and Sudoku, http://www.icpug.org.uk/national/features/050424fe.htm
14. 14.
The ECLiPSe Constraint Programming System, http://www.eclipse-clp.org/
15. 15.
SCIP: Solving Constraint Integer Programs, http://scip.zib.de/