I. Introduction
Modern industrial production, which is known as Industry 4.0, is impossible without robots’ exploitation [1]. They increase the capacity of production, making it more flexible, cheaper, and safer. A huge number of problems connected with robots’ applications may be referred as scientific ones. One of them is an optimization of a robot links motion and trajectory planning. For example, the request,,robot optimal control” made in Scopus database brings more than 14000 scientific papers; in 2022, 2021, and 2020 years there are more than 1100 scientific works indexed there.