A geometric optimization approach to the location and routing problems in modern economy