The routing function in a production system design is concerned with