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.

Functions

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)

Topics

Problem-Based Direct Search

Solver-Based Direct Search Basics

Solver-Based Specialized Tasks

Direct Search Background