Before revision:  Perhaps we could test all of the different ways of traveling between two places, but another method is using mathematics and computation to find a shortest path.
After revision:  Perhaps we could test all of the different ways of traveling between two places, but another method is to use mathematics and computation to find a shortest path.