Vilin
Matlab GUI application for Numerical optimization
Vilin is a GUI framework for executing and testing different unconstrained optimization algorithms
in programming package Matlab. The application contains a library of various test functions with
pre-defined starting points. A several known classes of methods as well as different classes of
line search procedures are covered. Each method can be combined with variety of appropriate line
search procedures and tested on each test function with a chosen number of parameters. Vilin is
easily extensible and contains simple API for adding new functions, methods and line searches.
The application is tested and can be run on both windows and linux operating system.
To run the application just execute vilin.m.

Vilin application
Methods
Graphical illustrations
-
Graphical representation of the convergence of the chosen method
Vilin application provides the ability of graphical representation of the chosen method convergence.
Namely, the user can follow the process of approaching the function minimum for the chosen method in
2d and 3d spaces. Several interesting features can be used: zoom in, zoom out, slider for reaching
the minimum or going back to starting point etc.

Graphical illustration of the convergence of the gradient descent method
-
Comparison of several different methods on a same test function
The user can directly and simultaneously follow the progress of several
manually chosen methods in 2d and 3d spaces. All methods have the same starting point
and should reach the same minimum. Again, slider, zoom in and zoom aut features are available
which provide a very nice mechanism for visual comparison.

Graphical comparison of several different methods approaching the minumum
Adding new methods
Methods are located in folder Methods/MultiDimensional. Each method group has separate subfolder.
To add new method modify Methods template and save to appropriate group folder (or create new).
Adding new line search methods
Line search methods are located in folder Methods/MultiDimensional/LineSearch.
To add new line search method modify Line search template and save to Methods/MultiDimensional/LineSearch folder.
Adding new functions
Functions are located in folder Functions/MultiDimensional.
To add new function modify Functions template and save to Functions/MultiDimensional folder.
Interested implementation
Very interesting and nicely optimized C++ implementation (made by my students) of the methods from
Vilin can be found on https://github.com/lazarst96/NumericalOptimisation.
评论