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.
Farrukh Nagi (2021). Direct Pattern Search MATLAB code (https://www.mathworks.com/matlabcentral/fileexchange/87397-direct-pattern-search-matlab-code), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!