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. Trypatternsearch
first for most nonsmooth problems.
Functions
Live Editor Tasks
优化 | 优化或者solve equations in the Live Editor |
Topics
Problem-Based Direct Search
- 使用PatternSearch,基于问题来优化非滑动功能
Basic example minimizing a nonsmooth function in the problem-based approach. - Constrained Minimization Using Pattern Search, Problem-Based
Usepatternsearch
to minimize an objective function subject to bounds and nonlinear constraints. - Effects of Pattern Search Options, Problem-Based
在基于问题的方法中可视化和调整直接搜索。 - 搜索和民意调查, Problem-Based
Examples showing the utility of search in addition to poll methods in the problem-based approach.
Solver-Based Direct Search Basics
- 优化Using the GPS Algorithm
Provides an example of solving an optimization problem using pattern search. - 编码和最小化目标函数使用Pattern Search
Shows how to write an objective function including extra parameters or vectorization. - Constrained Minimization Using patternsearch and Optimize Live Editor Task
Example using linear constraints and nonlinear constraints inpatternsearch
. - Constrained Minimization Using Pattern Search, Solver-Based
Use constraints in direct search. - Effects of Pattern Search Options
Visualize and tune direct search. - Set Options
Shows how to set and examine options forpatternsearch
. - Optimization of Stochastic Objective Function
Pattern search can minimize a function even in the presence of noise. - 搜索和民意调查
Examples showing the utility of search in addition to poll methods.
Solver-Based Specialized Tasks
- Polling Types
Examines the effects of polling options, including theUseCompletePoll
选项。 - Set Mesh Options
Examines the effect of different mesh expansion and contraction factors. - 自定义绘图功能
Shows how to write and use a plot function forpatternsearch
. - 图案搜索攀登华盛顿山
Shows the stepspatternsearch
takes by using custom plot functions. - Optimization of Stochastic Objective Function
Pattern search can minimize a function even in the presence of noise. - Vectorize the Objective and Constraint Functions
How to gain speed using vectorized function evaluations. - 优化an ODE in Parallel
Optimizing an objective given by the solution to an ODE usingpatternsearch
或者ga
在串行或平行中。
Direct Search Background
- What Is Direct Search?
Introduces direct search and pattern search. - Pattern Search Terminology
Explains some basic pattern search terminology. - How Pattern Search Polling Works
Provides an overview of direct search algorithms. - 搜索和投票
Describes how search methods work with polling steps. - Setting Solver Tolerances
停止条件及其相关选择。 - Nonlinear Constraint Solver Algorithm
解释了增强的Lagrangian模式搜索(ALPS)。 - Pattern Search Options
Explore the options for pattern search.