Try to use branch and bound method to solve small problem, for example 15*15.
If the scale of problem is too large, maybe 30*30, you can find the method on the book Discrete Mathematics 5th ED by Dossy. You can see many important topics about graphic theory are included in the book.