DocumentCode :
3027449
Title :
Heuristic Method to Find Magic Squares
Author :
Cruz, Estrela F. ; Grandchamp, Enguerran
fYear :
2012
fDate :
5-7 Dec. 2012
Firstpage :
119
Lastpage :
123
Abstract :
Finding magic squares of order n is a search problem in a combinatorial space of n2! different squares. The construction of a magic square is simple for all n, because there are methods that create a deterministic solution for each n. These algorithms ensure the construction of a specific magic square for each n and other squares can be created from this by rotation and other operations. However, as n grows, the number of squares that cannot be obtained from these algorithms increases. The problem of finding different magic squares, not only those particulars provided by the deterministic solutions, is a challenge for any search method. This paper presents a new method to solve the magic square problem using a heuristic algorithm. The solution is separated in two phases. For the first phase, three heuristics are presented, which are used combined to construct a semi-magic square. In the second phase, a simple heuristic is used to find a magic square using the semi-magic square constructed before.
Keywords :
combinatorial mathematics; search problems; combinatorial space; deterministic solution; heuristic algorithm; heuristic method; magic square problem; search method; search problem; semimagic square; Conferences; Convergence; Evolutionary computation; Heuristic algorithms; Search problems; Combinatorial Problem; Heuristics; Magic Square;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computational Science and Engineering (CSE), 2012 IEEE 15th International Conference on
Conference_Location :
Nicosia
Print_ISBN :
978-1-4673-5165-2
Electronic_ISBN :
978-0-7695-4914-9
Type :
conf
DOI :
10.1109/ICCSE.2012.26
Filename :
6417283
Link To Document :
بازگشت