4.0

4.0 | 3 ratings Rate this file 30 downloads (last 30 days) File Size: 1.51 KB File ID: #100

ossrs

by Sheela Belur

 

10 Jun 1998

Code covered by BSD License  

A random search method[1] for the optimization of a function of n variables.

Download Now | Watch this File

File Information
Description

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

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
26 Aug 2004 Antoni Vaello  
27 Jan 2006 Victor Zakharov

 The algorith was tested by my. It good work
for quadratic function and near them.
  In code there are mistake with calculation
 summary function evaluation. I may to propouse the test results.==Victor

26 Feb 2008 Andrew Daubenspeck

Seems to work well with the infamous Rosenbrock function. Documentation could be better.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
optimization Sheela Belur 22 Oct 2008 06:32:05
random Sheela Belur 22 Oct 2008 06:32:05
search Sheela Belur 22 Oct 2008 06:32:05
step Sheela Belur 22 Oct 2008 06:32:05
size Sheela Belur 22 Oct 2008 06:32:05
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com