We solve an optimization problem involving the assignment of transport routes to a delivery point. The general and particular cases of the optimization problem are described. An algorithm for the simplified case and ideas for the general case is presented