{"title":"Solving Cryptarithmetic Puzzles by Logic Programming","authors":"Feng-Jen Yang","doi":"10.1109/CSCI51800.2020.00258","DOIUrl":null,"url":null,"abstract":"As a personal interest of study, I tried a logic programming approach towards the problem solving of cryptarithmetic puzzles that are commonly discussed as a subcategory of constraint satisfaction problems in the literature of artificial intelligence. While there are possibly several methods capable of solving constraint satisfaction problems, I took into consideration the efficiency as well as the completeness that will identify all possible solutions under the specified constraints and exclude trivial and useless solutions from the perspective of real-life practice. In this paper, I demonstrated an approach that can be adapted to solve most of the constraint satisfaction problems especially within the context of cryptarithmatic puzzles. This method will also perform forward checking to have early backtracking and prevent searching the entire search tree exhaustively.","PeriodicalId":336929,"journal":{"name":"2020 International Conference on Computational Science and Computational Intelligence (CSCI)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 International Conference on Computational Science and Computational Intelligence (CSCI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSCI51800.2020.00258","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
As a personal interest of study, I tried a logic programming approach towards the problem solving of cryptarithmetic puzzles that are commonly discussed as a subcategory of constraint satisfaction problems in the literature of artificial intelligence. While there are possibly several methods capable of solving constraint satisfaction problems, I took into consideration the efficiency as well as the completeness that will identify all possible solutions under the specified constraints and exclude trivial and useless solutions from the perspective of real-life practice. In this paper, I demonstrated an approach that can be adapted to solve most of the constraint satisfaction problems especially within the context of cryptarithmatic puzzles. This method will also perform forward checking to have early backtracking and prevent searching the entire search tree exhaustively.