A Marriage Theorem Based-Algorithm for Solving Sudoku

Ricardo Soto, Broderick Crawford, Cristian Galleguillos, Francisca C. Venegasy, F. Paredes
{"title":"A Marriage Theorem Based-Algorithm for Solving Sudoku","authors":"Ricardo Soto, Broderick Crawford, Cristian Galleguillos, Francisca C. Venegasy, F. Paredes","doi":"10.1109/MICAI.2015.24","DOIUrl":null,"url":null,"abstract":"Millions of people around the world are solving a complex constraint satisfaction problem although they do not know. This problem is a famous game known as Sudoku puzzle and it consists in filling a n2 × n2 grid, composed by n columns, n rows and n sub-grids, each one containing different digits from 1 to n2. In this paper, we propose an exact algorithm based on Hall's marriage theorem in order to solve it. After applied our proposed method, we have noticed that some instances with particular features are possible to solve. The algorithm is quite simple to code it and good results are reached solving some instances. The unresolved ones as result of the application of the algorithm is generated an equivalent problem to the original one, but more easiest to solve. We illustrate the experimental evaluation comparing with another complete methods.","PeriodicalId":448255,"journal":{"name":"2015 Fourteenth Mexican International Conference on Artificial Intelligence (MICAI)","volume":"10 3","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 Fourteenth Mexican International Conference on Artificial Intelligence (MICAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MICAI.2015.24","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Millions of people around the world are solving a complex constraint satisfaction problem although they do not know. This problem is a famous game known as Sudoku puzzle and it consists in filling a n2 × n2 grid, composed by n columns, n rows and n sub-grids, each one containing different digits from 1 to n2. In this paper, we propose an exact algorithm based on Hall's marriage theorem in order to solve it. After applied our proposed method, we have noticed that some instances with particular features are possible to solve. The algorithm is quite simple to code it and good results are reached solving some instances. The unresolved ones as result of the application of the algorithm is generated an equivalent problem to the original one, but more easiest to solve. We illustrate the experimental evaluation comparing with another complete methods.
基于婚姻定理的数独解算法
世界上数以百万计的人正在解决一个复杂的约束满足问题,尽管他们不知道。这个问题是一个著名的数独游戏,它包括填充一个n2 × n2的网格,由n列,n行和n个子网格组成,每个子网格包含从1到n2的不同数字。本文提出了一种基于霍尔婚姻定理的精确算法来求解该问题。应用我们的方法后,我们注意到一些具有特定特征的实例是可以求解的。该算法编码简单,在求解一些实例时取得了较好的效果。由于该算法的应用,产生了一个与原问题等价的问题,但更容易求解。并与其他完整的方法进行了比较,说明了实验评价。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信