total cost = 31440.0 - total distance = 31440.0