Main Content

Direct Search

Pattern search solver for derivative-free optimization, constrained or unconstrained

Direct search is an efficient algorithm for solving smooth or nonsmooth optimization problems. Try patternsearch first for most nonsmooth problems.


expand all

patternsearchFind minimum of function using pattern search
optimoptionsCreate optimization options
resetoptionsReset options

Live Editor Tasks

OptimizeOptimize or solve equations in the Live Editor (Since R2020b)


Problem-Based Direct Search

Solver-Based Direct Search Basics

Solver-Based Specialized Tasks

Direct Search Background