進化計算学会論文誌
Online ISSN : 2185-7385
ISSN-L : 2185-7385
最新号
選択された号の論文の1件中1~1を表示しています
  • 竹味 和輝, 佐久間 拓人, 加藤 昇平
    2024 年 15 巻 1 号 p. 1-10
    発行日: 2024年
    公開日: 2024/03/29
    ジャーナル フリー

    The generation of magic squares of any size has been researched since ancient times. However,due to the need to solve complex combinatorial optimization problems,many existing methods are rule-based,and therefore can only generate a limited number of special magic squares. One of the non-rule-based generation methods is evolutionary computation,and this paper proposes a multi-stage evolutionary strategy that hierarchically classifies the constraints of magic squares into three stages of rows,columns,and diagonals,and uses the individuals satisfying each layer’s constraints as the initial individuals for the next layer. A magic square is a state in which the sum of each element in a square matrix in rows,columns,and diagonals is equal to a constant value. A square matrix that satisfies only the constraints in rows and columns is called a semi-magic square. In this research,the semi-magic square was divided into two layers,and by adding a lower layer that generates individuals satisfying only the row constraints,the need for exploration in the row direction was eliminated,resulting in a significant reduction in the number of searches. Experiments compared the necessary time and generation number between prior research and the proposed method,and achieved a significant reduction. Specifically,it was possible to generate a 90x90 magic square in about 232 times faster than prior research,with a successful generation in an average of 6 minutes and 57 seconds (10 trials).

feedback
Top