Currently, the level of industrial development is determined by the intellectual capacity of the equipment used. To increase the energy efficiency of production in various industries, it is necessary to introduce automated electric drives based on promising switched-reluctance motors. The geometric parameters of the active part of the switched-reluctance motor were calculated. As a criterion, the maximum value of the average value of the electromagnetic moment for the switching period was taken as the basis. Optimal design was carried out by means of the computer-aided design program developed by the author in co-authorship. It, in turn, includes optimization algorithms based on stochastic and deterministic methods. The developed program for optimizing the active part of the switched-reluctance motor was implemented using the Matlab application software package, which directly interacts with the FEMM program for calculating and visualizing electromagnetic processes. Finding the most energy-efficient engine geometry was performed in two stages, in order to determine the geometric parameters of the engine tooth zone that have a dominant influence on the value of the electromagnetic moment, as well as to ensure a guaranteed finding of the global extremum of the target function.