Solving the 8-queens problem numerically (i.e. without simulating the board and testing for physical collisions).