image thumbnail

Univariate Search Method (Optimizing Quadratic Equations with Two Variables)

version 1.0.0.0 (1.99 KB) by Soumitra Sitole
The algorithm summarizes the 1-dimensional search or univariate method

260 Downloads

Updated 13 Mar 2017

View License

This method searches one dimension at a time thus optimizing only a single variable per iteration. As can be seen from the plot; the search begins from an initial guess i.e. (1,-5) in the example and achieves the minimum by optimizing the function in x and y dimensions intermittently till the net optimum is achieved. The intermittent optimization has been achieved by choosing the search direction vector as [1,0] and [0,1] for x and y coordinates respectively. The method is not completely accurate but the results obtained are satisfactory. One can change the convergence criteria for more accuracy.

Cite As

Soumitra Sitole (2021). Univariate Search Method (Optimizing Quadratic Equations with Two Variables) (https://www.mathworks.com/matlabcentral/fileexchange/62017-univariate-search-method-optimizing-quadratic-equations-with-two-variables), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!