IBM ILOG Solver User's Manual > The Basics > Searching with Predefined Goals: Magic Square > Describe

The problem in this lesson is to find the number in each position in a magic square. A magic square is a square matrix where the sum of every row, column, and main diagonal is the same value; the numbers in the magic square are consecutive and start with 1. For example, here is a magic square of size 3:

8  
3  
4  
1  
5  
9  
6  
7  
2  

Step 1   -  

Describe the problem

The first step in modeling and solving a problem is to write a natural language description of the problem, identifying the decision variables and the constraints on these variables.

Write a natural language description of this problem. Answer these questions: