At last, after almost three months since my first post, I have manage to have a constraint programming solver that is able to solve the nqueens problem. You can find the application here http://cpnqueens.appspot.com/
The n queens puzzle is the problem of placing n chess queens on an n×n chessboard so that no two queens attack each other. The puzzle has been studied over the years by many mathematicians, including Gauss. The number of distinct known solutions for placing n queens on an n × n board are sequenced in OEIS’s sequence A000170.


