Solving Nonograms Using Integer Programming Without Coloring

被引:1
|
作者
Khan, Kamil A. [1 ]
机构
[1] McMaster Univ, Dept Chem Engn, Hamilton, ON L8S 4L8, Canada
关键词
Color; Games; Integer linear programming; Upper bound; Integer programming; Chemical engineering; Benchmark testing; Computational and artificial intelligence; integer linear programming; mathematics; mathematical programming;
D O I
10.1109/TG.2020.3036687
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this article, a new integer linear programming (ILP) formulation is presented for nonogram/crucipixel/paint-by-number puzzles, which involve coloring cells in a grid according to provided clues about how many cells in each row and column ought to be colored. Compared to prior ILP formulations, this new formulation involves far fewer constraints and decision variables. This new formulation was implemented in the modeling language GAMS; this implementation was found in many instances to approximately halve the CPU time required to identify a solution compared to prior ILP-based approaches. Multicolored nonograms are also permitted in this formulation. Counterintuitively, the new formulation does not make direct reference to cell colors at all, unlike typical by-hand approaches for solving simple instances. A new method is also presented to check the uniqueness of a nonogram solution, again without direct reference to cell colors, by employing a result by Besicovitch concerning integer linear independence.
引用
收藏
页码:56 / 63
页数:8
相关论文
共 50 条
  • [1] Colored Nonograms: An Integer Linear Programming Approach
    Mingote, Luis
    Azevedo, Francisco
    PROGRESS IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2009, 5816 : 213 - 224
  • [2] Solving nonograms using neural networks
    Rubio, Jose Maria Buades
    Jaume-i-Capo, Antoni
    Gonzalez, David Lopez
    Alcover, Gabriel Moya
    ENTERTAINMENT COMPUTING, 2024, 50
  • [3] Solving integer problems using semidefinite programming
    Rendl, F
    KOI'96 - 6TH INTERNATIONAL CONFERENCE ON OPERATIONAL RESEARCH, PROCEEDINGS, 1996, : 9 - 10
  • [4] Solving nonograms using genetic algorithms
    Bobko, Alicja
    Grzywacz, Tomasz
    PROCEEDINGS OF 2016 17TH INTERNATIONAL CONFERENCE COMPUTATIONAL PROBLEMS OF ELECTRICAL ENGINEERING (CPEE), 2016,
  • [5] Solving a multicoloring problem with overlaps using integer programming
    Mendez-Diaz, Isabel
    Zabala, Paula
    DISCRETE APPLIED MATHEMATICS, 2010, 158 (04) : 349 - 354
  • [6] SOLVING A PLANT LOCATION PROBLEM USING INTEGER PROGRAMMING
    BENSEMAN, B
    HALL, K
    NEW ZEALAND OPERATIONAL RESEARCH, 1979, 7 (02): : 105 - 116
  • [7] Solving the Minimum Weighted Integer Coloring Problem
    Jue Xue
    Computational Optimization and Applications, 1998, 11 : 53 - 64
  • [8] Solving the minimum weighted integer coloring problem
    Xue, J
    COMPUTATIONAL OPTIMIZATION AND APPLICATIONS, 1998, 11 (01) : 53 - 64
  • [9] An integer programming approach to b-coloring
    Koch, Ivo
    Marenco, Javier
    DISCRETE OPTIMIZATION, 2019, 32 : 43 - 62
  • [10] Solving Nonograms by combining relaxations
    Vision Lab, Department of Physics, University of Antwerp, Universiteitsplein 1, B-2610 Wilrijk, Belgium
    不详
    Pattern Recogn., 8 (1672-1683):