Rosenbrock function optimization with four different methods (unconstrained optimization). What is noticeable in the figure below, it is a convex function with a hard-to-find minimum.
> main.m
Before the first run, you need to make sure that you have installed the required dependency.
The application requires Optimization Toolbox to be installed; besides, it uses functions from the standard library.
This script aims to find the minimum at the lowest number of function calls; the algorithm should also have the best computational cost. The main problem with reaching the minimum is overshooting the searched point. Gradient algorithms perform additional iterations around the optimal point. In this case, you should choose the optimization parameters carefully so as not to perform redundant iterations.