Direct Pattern Search MATLAB code
Version 1.0.0 (2.31 KB) by
Farrukh Nagi
Simple pattern search code base on Hooke Jeeves algorithm
Two files are provided here, PS_global.m is main program and fcn_test.m contains the calling objective test functions. Need to change number of variable NVar in main PS_global.m file base on selection(uncomment) of test function in file fcn_test.m. Program is tested for four variables successfully. For Maximization add -1 sign before the objective function.
Cite As
Farrukh Nagi (2026). Direct Pattern Search MATLAB code (https://uk.mathworks.com/matlabcentral/fileexchange/87397-direct-pattern-search-matlab-code), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
