Multidimensional optimization with a given distribution of ranked variables for reductiong electrical losses in the electrical network - I. V. Trach (Proceedings of the Institute of Electrodynamics of the National Academy of Sciences of Ukraine, 2015)