期刊文献+

数独的数学模型与LINGO求解程序 被引量:1

Mathematical Models of Sudoku and LINGO Solution Program
下载PDF
导出
摘要 本文首先从标准数独的条件与规则出发,引入三元0-1变量,建立标准数独的0-1整数规划模型,根据模型设计LINGO求解程序,用一个数独难题进行验证,说明程序计算的准确性;然后将标准数独的LINGO求解程序推广到窗口数独、额外区域数独、奇偶数独等三种变形数独的求解;最后利用数独联盟五段段位考试训练题进行验证,运算时间不超过2秒,准确率达到100%,说明这些LINGO程序求解数独问题,速度快且结果准确可靠。 Based on the standard Sudoku rules, the ternary 0 - 1 variables was introduced to build a 0 - 1 integer programming of stand- ard Sudoku. The LINGO solution program was developed based on the model, and its accuracy was verified by a Sudoku puzzle. Then, the solution method of standard Sudoku was extended to window Sudoku, extra area Sudoku and odd - even Sudoku. The operation time and accuracy of the LINGO programs are validated by Sudoku puzzles in the Grade Five Exam of Sudoku League. The operation time were all less than 2 seconds, and the accuracy rate were 100%, these LINGO programs can be used to solve Sudoku problems with short operation time and highly reliable results.
作者 柯春梅
出处 《长春师范大学学报》 2016年第12期8-13,共6页 Journal of Changchun Normal University
关键词 LINGO软件 标准数独 0-1整数规划 变形数独 LINGO software standard Sudoku 0 - 1 integer programming deformation Sudoku
  • 相关文献

参考文献7

二级参考文献36

  • 1雷蕾,沈富可.关于数独问题的算法的设计与实现[J].电脑知识与技术(过刊),2007(2):481-482. 被引量:18
  • 2孟庆铃.数独问题人工解法的程序实现[J].甘肃科技,2006,22(9):150-151. 被引量:6
  • 3刘晓宝.数独游戏的解题算法[J].电脑编程技巧与维护,2007(5):64-67. 被引量:9
  • 4李盘荣.“数独”游戏的算法研究与实现.电脑知识与技术,2008,3(8):1715-1717.
  • 5Timo Mantere, Janne Koljonen. Solving, rating and generating sudoku puzzles with GA[ C]//2007 IEEE Congress on Evolutionary Computation. Singapore, 2007.
  • 6Timo Mantere, Janne Koljonen. Solving and analyzing Sudokus with cultural algorithms[ C]//2008 IEEE Congress on Evolutionary Computation. Hong Kong, 2008.
  • 7[1]Stanley B Lippman,Josee Lajoie著,潘爱民,等译.C++Primer(第三版)[M].中国电力出版社,2002.
  • 8Pang S C, Li E Y, Song T, et al. Rating and generating sudoku puzzles[ C ]//Proceedings of the 2010 Second International Workshop on Education Technology and Computer Science,2010:457-460.
  • 9Sato Y, Inoue H. Solving sudoku with genetic operations that preserve building blocks [ C ] //Proceedings of the 2010 IEEE Symposium on Computational Intelligence and Games (CIG) , 2010.
  • 10Crawford B, Aranda M, Castro C, et al. Using constraint programming to solve sudoku puzzles [C ]//Proceedings of the 2008 Third International Conference on Convergence and Hybrid Information Technology,2008:926-931.

共引文献36

同被引文献3

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部