||Addresses the problem of choice of the control system of technological links of the enterprise. The task is formulated in the form of the problem of constructing a hierarchical control system with the minimal expenses for its maintenance. This statement is reduced to the common task of constructing an optimal hierarchy . Given the conditions under which the optimal structure of the management system are the binary tree, the fan structure with a single centre. At infringement of conditions on the qualitative level of the discussed type of management system, offers a heuristic algorithm of the decision. Links are provided on numerical algorithms for constructing the optimal organization in the general case.