fast heuristic algorithm for n queens (n > 1000)
问题 I write two program : put together n queens in chess board without any threatening by backtracking algorithm. but that is very heavy for big n . at last you can run that for 100 queens. put together n queens in chess board without any threatening by Hill climbing algorithm. this algorithm better than past solution but it take 2 min for 300 queens and this time increase exponentially! But I didn't have any idea for doing that fast! I want algorithm for doing that faster . I want faster manner