The paper discusses utilisation of the brute force methods for the task of towers distribution in wireless communication systems. The proposed algorithm allows to find an optimal allocation of a tower between the settlements. A simple wireless communication has been used as an example to investigate the functionality of the algorithm's software.