计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2014年
9期
41-44,48
,共5页
老板数独%方程组%0-1规划%不变性
老闆數獨%方程組%0-1規劃%不變性
로판수독%방정조%0-1규화%불변성
Boss Sudoku%equations%0-1 integer linear program%invariance property
从老板数独的定义建立了与原问题等价的方程组,由该方程组推导出一系列数学性质,包括候选数删除性质、唯一确定法性质、矛盾性质、不变性性质,说明了数独的人工推理规则包含在这些性质之中。利用这些性质提出了求解该方程组的算法。数值实例表明,提出的方法对于不同难度的数独难题都是有效的。
從老闆數獨的定義建立瞭與原問題等價的方程組,由該方程組推導齣一繫列數學性質,包括候選數刪除性質、唯一確定法性質、矛盾性質、不變性性質,說明瞭數獨的人工推理規則包含在這些性質之中。利用這些性質提齣瞭求解該方程組的算法。數值實例錶明,提齣的方法對于不同難度的數獨難題都是有效的。
종로판수독적정의건립료여원문제등개적방정조,유해방정조추도출일계렬수학성질,포괄후선수산제성질、유일학정법성질、모순성질、불변성성질,설명료수독적인공추리규칙포함재저사성질지중。이용저사성질제출료구해해방정조적산법。수치실례표명,제출적방법대우불동난도적수독난제도시유효적。
Sudoku is the recent craze in logic puzzles. The equations which are equivalent to the solution of the Boss Sudoku are established and series mathematical properties of the equations, including the candidates-deleted, unique determination, the contradiction and invariance property, are derived. The artificial reasoning rules are based on these properties. The algorithm for solving the equations according to these properties is proposed. The experimental results show that the proposed method is effective for all Boss Sudoku problems of different levels.