An experimental comparison of evolutionary algorithms and random search algorithms for the optimal control problem is carried out. The problem is solved separately by several representatives of each type of algorithms. The simulation is performed on a mobile robot model. The results of each algorithm performance are compared according to the best found value of the fitness function, the mean value and the standard deviation. © 2019 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (https://creativecommons.org/licenses/by-nc-nd/4.0/) Peer-review under responsibility of the scientific committee of the 13th International Symposium “Intelligent Systems” (INTELS'18).