Benchmark instances and branch-and-cut algorithm for the Hashiwokakero puzzle. Coelho, L., Laporte, G., Lindbeck, A., & Vidal, T. Technical Report PUC-Rio, 2019.
Paper abstract bibtex Hashiwokakero, or simply Hashi, is a Japanese single-player puzzle played on a rectangular grid with no standard size. Some cells of the grid contain a circle, called island, with a number inside it ranging from one to eight. The remaining positions of the grid are empty. The player must connect all of the islands by drawing a series of horizontal or vertical bridges between them, respecting a series of rules: the number of bridges incident to an island equals the number indicated in the circle, at most two bridges are incident to any side of an island, bridges cannot cross each other or pass through islands, and each island must eventually be reachable from any other island. In this paper, we present some complexity results and relationships between Hashi and well-known graph theory problems. We give a formulation of the problem by means of an integer linear mathematical programming model, and apply a branch-and-cut algorithm to solve the model in which connectivity constraints are dynamically generated. We also develop a puzzle generator. Our experiments on 1440 Hashi puzzles show that the algorithm can consistently solve hard puzzles with up to 400 islands.
@techreport{Coelho2019,
abstract = {Hashiwokakero, or simply Hashi, is a Japanese single-player puzzle played on a rectangular grid with no standard size. Some cells of the grid contain a circle, called island, with a number inside it ranging from one to eight. The remaining positions of the grid are empty. The player must connect all of the islands by drawing a series of horizontal or vertical bridges between them, respecting a series of rules: the number of bridges incident to an island equals the number indicated in the circle, at most two bridges are incident to any side of an island, bridges cannot cross each other or pass through islands, and each island must eventually be reachable from any other island. In this paper, we present some complexity results and relationships between Hashi and well-known graph theory problems. We give a formulation of the problem by means of an integer linear mathematical programming model, and apply a branch-and-cut algorithm to solve the model in which connectivity constraints are dynamically generated. We also develop a puzzle generator. Our experiments on 1440 Hashi puzzles show that the algorithm can consistently solve hard puzzles with up to 400 islands.},
archivePrefix = {arXiv},
arxivId = {1905.00973},
author = {Coelho, L.C. and Laporte, G. and Lindbeck, A. and Vidal, T.},
eprint = {1905.00973},
file = {:C$\backslash$:/Users/Thibaut/Documents/Mendeley-Articles/Coelho et al/Coelho et al. - 2019 - Benchmark instances and branch-and-cut algorithm for the Hashiwokakero puzzle.pdf:pdf},
institution = {PUC-Rio},
mendeley-groups = {Teaching/INF2982-Modeling/Implementation},
title = {{Benchmark instances and branch-and-cut algorithm for the Hashiwokakero puzzle}},
url = {https://arxiv.org/pdf/1905.00973.pdf},
year = {2019}
}
Downloads: 0
{"_id":"KQgnvMgZYZbT6kQtJ","bibbaseid":"coelho-laporte-lindbeck-vidal-benchmarkinstancesandbranchandcutalgorithmforthehashiwokakeropuzzle-2019","author_short":["Coelho, L.","Laporte, G.","Lindbeck, A.","Vidal, T."],"bibdata":{"bibtype":"techreport","type":"techreport","abstract":"Hashiwokakero, or simply Hashi, is a Japanese single-player puzzle played on a rectangular grid with no standard size. Some cells of the grid contain a circle, called island, with a number inside it ranging from one to eight. The remaining positions of the grid are empty. The player must connect all of the islands by drawing a series of horizontal or vertical bridges between them, respecting a series of rules: the number of bridges incident to an island equals the number indicated in the circle, at most two bridges are incident to any side of an island, bridges cannot cross each other or pass through islands, and each island must eventually be reachable from any other island. In this paper, we present some complexity results and relationships between Hashi and well-known graph theory problems. We give a formulation of the problem by means of an integer linear mathematical programming model, and apply a branch-and-cut algorithm to solve the model in which connectivity constraints are dynamically generated. We also develop a puzzle generator. Our experiments on 1440 Hashi puzzles show that the algorithm can consistently solve hard puzzles with up to 400 islands.","archiveprefix":"arXiv","arxivid":"1905.00973","author":[{"propositions":[],"lastnames":["Coelho"],"firstnames":["L.C."],"suffixes":[]},{"propositions":[],"lastnames":["Laporte"],"firstnames":["G."],"suffixes":[]},{"propositions":[],"lastnames":["Lindbeck"],"firstnames":["A."],"suffixes":[]},{"propositions":[],"lastnames":["Vidal"],"firstnames":["T."],"suffixes":[]}],"eprint":"1905.00973","file":":C$\\$:/Users/Thibaut/Documents/Mendeley-Articles/Coelho et al/Coelho et al. - 2019 - Benchmark instances and branch-and-cut algorithm for the Hashiwokakero puzzle.pdf:pdf","institution":"PUC-Rio","mendeley-groups":"Teaching/INF2982-Modeling/Implementation","title":"Benchmark instances and branch-and-cut algorithm for the Hashiwokakero puzzle","url":"https://arxiv.org/pdf/1905.00973.pdf","year":"2019","bibtex":"@techreport{Coelho2019,\nabstract = {Hashiwokakero, or simply Hashi, is a Japanese single-player puzzle played on a rectangular grid with no standard size. Some cells of the grid contain a circle, called island, with a number inside it ranging from one to eight. The remaining positions of the grid are empty. The player must connect all of the islands by drawing a series of horizontal or vertical bridges between them, respecting a series of rules: the number of bridges incident to an island equals the number indicated in the circle, at most two bridges are incident to any side of an island, bridges cannot cross each other or pass through islands, and each island must eventually be reachable from any other island. In this paper, we present some complexity results and relationships between Hashi and well-known graph theory problems. We give a formulation of the problem by means of an integer linear mathematical programming model, and apply a branch-and-cut algorithm to solve the model in which connectivity constraints are dynamically generated. We also develop a puzzle generator. Our experiments on 1440 Hashi puzzles show that the algorithm can consistently solve hard puzzles with up to 400 islands.},\narchivePrefix = {arXiv},\narxivId = {1905.00973},\nauthor = {Coelho, L.C. and Laporte, G. and Lindbeck, A. and Vidal, T.},\neprint = {1905.00973},\nfile = {:C$\\backslash$:/Users/Thibaut/Documents/Mendeley-Articles/Coelho et al/Coelho et al. - 2019 - Benchmark instances and branch-and-cut algorithm for the Hashiwokakero puzzle.pdf:pdf},\ninstitution = {PUC-Rio},\nmendeley-groups = {Teaching/INF2982-Modeling/Implementation},\ntitle = {{Benchmark instances and branch-and-cut algorithm for the Hashiwokakero puzzle}},\nurl = {https://arxiv.org/pdf/1905.00973.pdf},\nyear = {2019}\n}\n","author_short":["Coelho, L.","Laporte, G.","Lindbeck, A.","Vidal, T."],"key":"Coelho2019","id":"Coelho2019","bibbaseid":"coelho-laporte-lindbeck-vidal-benchmarkinstancesandbranchandcutalgorithmforthehashiwokakeropuzzle-2019","role":"author","urls":{"Paper":"https://arxiv.org/pdf/1905.00973.pdf"},"metadata":{"authorlinks":{}},"html":""},"bibtype":"techreport","biburl":"https://w1.cirrelt.ca/~vidalt/resources/My Collection.bib","dataSources":["yinfondEAJRbDM9sJ","sempRA6PhmAdGk3yG"],"keywords":[],"search_terms":["benchmark","instances","branch","cut","algorithm","hashiwokakero","puzzle","coelho","laporte","lindbeck","vidal"],"title":"Benchmark instances and branch-and-cut algorithm for the Hashiwokakero puzzle","year":2019}