Optimal routing in a simple network with deterministic arrivals and service times