Gradient Search in the Space of Permutations