The purpose of that project is using a hardware system, in our case nonlinear mathematic model, for solving optimization problems. Those problems are solving by using gradient-free optimization methods. The main part of this project is creating programs for different optimization methods. There are three methods in this project. They are Luus-Jaakol method, Nelder-Mead method and Particular Swarm Optimization method. Each method is described in separate chapter. The whole programing is in multi-paradigm numerical computing environment „Matlab“. The result of this project is three fully functional programs for solving optimization problems by using gradient-free optimization methods.