Combinatorial design of a minimum cost transfer line