The problem of distribution of the global resource of the system under the constraints, imposed on individual resources is considered. Construction an adequate objective function for optimization of the resources distribution under their limitations.