In this paper the problem of resources distribution in optimal way among the units of the Logistic centre was observed. This task could be solved by using the method of dynamic programming. 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.