직접 탐색
도함수를 갖지 않는 최적화를 위한 패턴 탐색 솔버(제약 조건 있음 또는 제약 조건 없음)
직접 탐색은 매끄럽거나 매끄럽지 않은 최적화 문제를 풀 때 효율적인 알고리즘입니다. 가장 매끄럽지 않은 문제에는 patternsearch
를 먼저 사용해 보십시오.
함수
라이브 편집기 작업
최적화 | 라이브 편집기에서 방정식을 최적화하거나 풉니다. (R2020b 이후) |
도움말 항목
문제 기반 직접 탐색
- patternsearch을 사용하여 매끄럽지 않은 함수 최적화하기(문제 기반)
문제 기반 접근법으로 매끄럽지 않은 함수를 최소화하는 기본 예제입니다. - 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
Visualize and tune direct search in the problem-based approach. - Search and Poll, Problem-Based
Examples showing the utility of search in addition to poll methods in the problem-based approach.
솔버 기반 직접 탐색 기본 사항
- Optimize Using the GPS Algorithm
Provides an example of solving an optimization problem using pattern search. - Coding and Minimizing an Objective Function Using 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
. - Explore patternsearch Algorithms
This example shows the effect of choosing differentpatternsearch
algorithms. - Explore patternsearch Algorithms in Optimize Live Editor Task
This example shows the effect of choosing differentpatternsearch
algorithms using the Optimize Live Editor task. - 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. - Search and Poll
Examples showing the utility of search in addition to poll methods.
솔버 기반의 특화된 작업
- Polling Types
Examines the effects of polling options, including theUseCompletePoll
option. - Set Mesh Options
Examines the effect of different mesh expansion and contraction factors. - Custom Plot Function
Shows how to write and use a plot function forpatternsearch
. - Pattern Search Climbs Mount Washington
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. - Optimize ODEs in Parallel
Save time by calling an expensive subroutine just once and computing an ODE solution in parallel usingpatternsearch
orga
.
직접 탐색 배경 정보
- 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. - Nonuniform Pattern Search (NUPS) Algorithm
Description of the NUPS algorithm. - Searching and Polling
Describes how search methods work with polling steps. - Setting Solver Tolerances
Stopping conditions and their associated options. - Nonlinear Constraint Solver Algorithm for Pattern Search
Explains the Augmented Lagrangian Pattern Search (ALPS). - Pattern Search Options
Explore the options for pattern search.