...
首页> 外文期刊>MSDN Magazine >Solving Sudoku Using Combinatorial Evolution
【24h】

Solving Sudoku Using Combinatorial Evolution

机译:使用组合进化求解数独

获取原文
获取原文并翻译 | 示例
           

摘要

A combinatorial optimization problem is one where the goal is to arrange a set of discrete items into a particular order. A Sudoku puzzle is an example of a combinatorial optimization problem. In this article, I show you how to write a program to solve difficult Sudoku problems, using a technique I call combinatorial evolution. The demo sets up a non-easy Sudoku problem (I'll explain what I mean by non-easy shortly). In Sudoku, there are several constraints. Each row of the 9×9 solution grid must contain the numbers 1 through 9, with no duplicates. Each column must contain the numbers 1 through 9. Each 3×3 sub-grid must contain the numbers 1 through 9. And the solution grid cannot change any of the starting values in the problem grid.
机译:组合优化问题是目标是将一组离散项目按特定顺序排列的问题。数独难题是组合优化问题的一个示例。在本文中,我向您展示了如何使用称为组合进化的技术编写程序来解决数独难题。该演示设置了一个不易解决的Sudoku问题(稍后我将解释不易解决的问题)。在数独中,有几个约束。 9×9解决方案网格的每一行必须包含数字1到9,且没有重复项。每列必须包含数字1到9。每个3×3子网格必须包含数字1到9。解决方案网格不能更改问题网格中的任何起始值。

著录项

  • 来源
    《MSDN Magazine》 |2016年第11期|60626466|共4页
  • 作者

    JAMES MCCAFFREY;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号