Students will learn the basic methods of local and global optimization, both in terms of theoretical foundations of each method, and also from the practical experiences, ie. software processing techniques in MATLAB. The content of this subject are methods based on optimization of smooth functions of one variable and functions of several variables, broken down into methods 0th, 1st and higher-order methods. Then follow the methods of global optimization like Monte Carlo method and methods derived from the genetic algorithm. Finally, students learn about the most common indication, practices in commercial software, this practical component is conducted in the ANSYS environment.