ossrs

版本 1.0.0.0 (1.5 KB) 作者: Sheela Belur
A random search method[1] for the optimization of a function of n variables.
4.9K 次下载
更新时间 1998/6/10

查看许可证

Optimized Step Size Random Search(OSSRS) A random search method[1] for the optimization of a function of n variables. Can be used as a start-up before using a determistic method like Simplex method of Nelder and Mead to arrive at the region of the optimum and then switch to a deterministic search.

The function to be minimized is to be deifned in the m function called fun.m. 'n' is the number of variables. x is the vector of initial variables. 'std' can be set based on the range of variation of the variables- about 10% of x- the initial values-should be right.

The following demo function is included:

Minimize: f(x)=(x(1)-5)^2+(x(2)+8)^2
Solution: [5,-8]

Reference:

Sheela Belur V, An Optimized Step Size Random Search , Computer Methods in Appl. Mech & Engg, Vol. 19, 99-106 , 1979

Tested under MATLAB 4.2c & 5

引用格式

Sheela Belur (2024). ossrs (https://www.mathworks.com/matlabcentral/fileexchange/100-ossrs), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R10
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Get Started with Optimization Toolbox 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0