In this paper the problem of resources distribution in optimal way among the units of the Logistic centre was observed. Logistic centre has the treelike structure with several units. Each unit could be developed in different ways based on given resource and expected profit. The Logistic centre management task is to distribute the certain resource between units in the order to get the maximum profit from them. This task could be solved by using the method of dynamic programming created by Richard Bellman. The optimal strategy has the nature that for any prime condition and prime decision all the following solutions have to compose the optimal strategy in regard to condition that is gotten as a result of initial decision. Using the programming language Mathcad 14 there was created the special program which allows to make the corresponding calculations. The solution of the real task for Logistic centre in Latvia is observed in this paper as the numerical sample of limited resource distribution between the units of the logistic centre in order to get the maximum profit.