Univariate Search Method (Optimizing Quadratic Equations with Two Variables)
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |