Direct Pattern Search MATLAB code

Simple pattern search code base on Hooke Jeeves algorithm

You are now following this Submission

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://au.mathworks.com/matlabcentral/fileexchange/87397-direct-pattern-search-matlab-code), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0