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 条
  • [31] Solving Rummikub problems by integer linear programming
    den Hertog, D.
    Hulshof, P. B.
    COMPUTER JOURNAL, 2006, 49 (06): : 665 - 669
  • [32] Solving Rummikub problems by integer linear programming
    den Hertog, D.
    Hulshof, P.B.
    Computer Journal, 2006, 49 (06): : 665 - 669
  • [33] Conflict graphs in solving integer programming problems
    Atamtürk, A
    Nemhauser, GL
    Savelsbergh, MWP
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2000, 121 (01) : 40 - 55
  • [34] Method of non-linear penalty function for solving integer programming and mixed integer programming
    Meng, Zhi-Qing
    Hu, Qi-Ying
    Yang, Xiao-Qi
    Kongzhi yu Juece/Control and Decision, 2002, 17 (03): : 310 - 314
  • [35] Solving the Kidney Exchange Problem Using Privacy-Preserving Integer Programming
    Breuer, Malte
    Hein, Pascal
    Pompe, Leonardo
    Temme, Ben
    Meyer, Ulrike
    Wetzel, Susanne
    2022 19TH ANNUAL INTERNATIONAL CONFERENCE ON PRIVACY, SECURITY & TRUST (PST), 2022,
  • [36] SOLVING INSTALLATION SCHEDULING PROBLEM USING MIXED INTEGER LINEAR-PROGRAMMING
    CHEN, R
    CROWDER, H
    JOHNSON, EL
    IBM SYSTEMS JOURNAL, 1978, 17 (01) : 82 - 91
  • [37] Heuristic algorithm for solving the integer programming of the lottery problem
    Mohammadi, A.
    Abadi, I. Nakhaei Kamal
    SCIENTIA IRANICA, 2012, 19 (03) : 895 - 901
  • [38] A New Procedure for Solving Integer Linear Programming Problems
    S. F. Tantawy
    Arabian Journal for Science and Engineering, 2014, 39 : 5265 - 5269
  • [39] Solving conservation planning problems with integer linear programming
    Beyer, Hawthorne L.
    Dujardin, Yann
    Watts, Matthew E.
    Possingham, Hugh P.
    ECOLOGICAL MODELLING, 2016, 328 : 14 - 22
  • [40] AN INTERACTIVE ALGORITHM FOR SOLVING INTEGER GOAL PROGRAMMING PROBLEMS
    Suwendy, Maries
    Sinuhaji, Theresa A.
    Maulana, B.
    Prana, Afen
    Elyakin, Victor A.
    Zarlis, M.
    PROCEEDINGS OF THE FOURTH GLOBAL CONFERENCE ON POWER CONTROL AND OPTIMIZATION, 2011, 1337 : 218 - 223