A tool for tunning hyperparameters of optimization function