Computing shortest heterochromatic monotone routes