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 条
  • [41] Integer programming methods for solving binary interdiction games
    Wei, Ningji
    Walteros, Jose L.
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2022, 302 (02) : 456 - 469
  • [42] Integer programming approaches for solving the delay management problem
    Schobel, Anita
    ALGORITHMIC METHODS FOR RAILWAY OPTIMIZATION, 2007, 4359 : 145 - 170
  • [43] Design of Optimal Phase Plans for Isolated Intersections using Vertex Coloring and Binary Integer Linear Programming
    Ambili, T. A.
    Kumaravel, Sharmila Devi
    Thilagavathy, M. S.
    Ayyagari, Ramakalyan
    2018 21ST INTERNATIONAL CONFERENCE ON INTELLIGENT TRANSPORTATION SYSTEMS (ITSC), 2018, : 3591 - 3595
  • [44] An integer linear programming approach to solving the Eternity Puzzle
    Burkardt, John
    Garvie, Marcus R.
    THEORETICAL COMPUTER SCIENCE, 2023, 975
  • [45] Solving the Multiple Objective Integer Linear Programming Problem
    Chergui, Mohamed El-Amine
    Moulai, Mustapha
    Ouail, Fatma Zohra
    MODELLING, COMPUTATION AND OPTIMIZATION IN INFORMATION SYSTEMS AND MANAGEMENT SCIENCES, PROCEEDINGS, 2008, 14 : 69 - +
  • [46] A KNAPSACK PROCEDURE FOR SOLVING INTEGER PROGRAMMING-PROBLEMS
    FEIRING, BR
    ASIA-PACIFIC JOURNAL OF OPERATIONAL RESEARCH, 1987, 4 (02) : 123 - 130
  • [47] An Integer Programming Approach to Solving Tantrix on Fixed Boards
    Kino, Fumika
    Uno, Yushi
    ALGORITHMS, 2012, 5 (01): : 158 - 175
  • [48] SOLVING TRAVELING SALESMAN PROBLEM BY INTEGER LINEAR PROGRAMMING
    MARTIN, GT
    OPERATIONS RESEARCH, 1966, S 14 : B71 - &
  • [49] SOLVING INTEGER PROGRAMMING-PROBLEMS BY AGGREGATING CONSTRAINTS
    KENDALL, KE
    ZIONTS, S
    OPERATIONS RESEARCH, 1977, 25 (02) : 346 - 351
  • [50] A NUMERICAL METHOD FOR SOLVING QUADRATIC INTEGER PROGRAMMING PROBLEM
    Tat'yankin, V. M.
    Shitselov, A., V
    BULLETIN OF THE SOUTH URAL STATE UNIVERSITY SERIES-MATHEMATICAL MODELLING PROGRAMMING & COMPUTER SOFTWARE, 2019, 12 (03): : 130 - 139