This game is similar to Mortal Coil (flash frontend to a programmable backend)
But that allows automated solutions. As far as I know, all of the best solvers there use a greedy algo, although there are some cases where you can prune massively by using logical deductions as well.