Home

Awesome

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.

<p align="center"> <img src="Images/vilin.png"><br> Vilin application </p>

Methods

Graphical illustrations

<p align="center"> <img src="Images/gradient_descent.gif"><br> Graphical illustration of the convergence of the gradient descent method </p> <p align="center"> <img src="Images/compare_diff_methods.gif"><br> Graphical comparison of several different methods approaching the minumum </p>

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.