A class of Euclidean routing problems with general route cost functions