Pattern search method: deterministic iterative zero order algorithm

版本 1.0.0.0 (2.5 KB) 作者: Andrea Cirillo
It finds the relative minimum of a two variables function with the Pattern search method.
1.0K 次下载
更新时间 2011/1/25

查看许可证

It's a deterministic iterative zero order algorithm that can be used to solve unconstrained optimization problem. It finds the relative minimum of a two variables function with a deterministic iterative zero order algorithm.

% Pattern search method
% It finds the relative minimum of a two variables function with the Pattern search method.
% The inputs are:
% - f: matlab inline function of the function that you want minimize;
% - p0: initial point for the search algorithm
% - step_size: initial step used for the exploration phase
% - tolerance: it defines a stopping criterion on the minimum size of exploration phase's step_size
% - N_it: it defines a stopping criterion on the max iterations number
% The outpus are:
% - iter: the number of iterations done
% - min: the function's value in the relative minimum finded.
% - p_min: it's a vector for the minimum point of the objective function

%%%% IMPORTANT: %%%%
for a correct work, the function 'pattern_search' must be preceded by a contour plot of the objective function to minimize.

引用格式

Andrea Cirillo (2024). Pattern search method: deterministic iterative zero order algorithm (https://www.mathworks.com/matlabcentral/fileexchange/30173-pattern-search-method-deterministic-iterative-zero-order-algorithm), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Solver Outputs and Iterative Display 的更多信息

Community Treasure Hunt

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

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