Pattern search (optimization) (source code)

= Pattern search (optimization)
{wiki=Pattern_search_(optimization)}

Pattern search is a derivative-free optimization method used to find the minimum or maximum of a function, especially when the function is noisy, non-smooth, or lacks a known gradient. It is particularly useful in scenarios where traditional optimization techniques, such as gradient descent, may fail due to the nature of the objective function.