An evolutionary algorithm for magic squares

被引:0
|
作者
Xie, T [1 ]
Kang, LS [1 ]
机构
[1] Natl Univ Def Tech, Coll Comp Sci, Changsha 410073, Peoples R China
关键词
magic square; evolutionary algorithms; two-phase construction conjecture;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Magic square construction is a complex and hard permutation problem of recreational combinatorics with a long history. Not only does the complexity consist in that the number of magic squares increases rapidly with the order of magic square, but also in that the percentage of magic squares in the possible permutation of the first n(2) natural numbers decreases with the order. Based on the two-phase construction conjecture, this paper proposed an improved evolutionary algorithm for magic square construction. Mutation operators are specially designed so that the mutation domain can be located and the mutation probabilities adjusted adaptively, which include the number pair permutations, the row permutations and column permutations. In addition, some heuristics-based local permutations, like the row/column local rectification and the local diagonal rectification, are used to complement the stochastic mechanism. Computational results show that, the two-phase construction conjecture is computationally effective, and the improved evolutionary algorithm is highly efficient for magic square construction.
引用
收藏
页码:906 / 913
页数:8
相关论文
共 50 条