이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
문제 기반 구성 및 성능 개선하기
문제 기반 설정에 특화된 작업 구현
이 범주에서는 문제 기반 해의 세부 정보와 함께 보다 특화된 작업에 대한 제안 사항을 제공합니다. 기본 작업과 소개 워크플로에 대한 내용은 문제 기반 최적화 및 방정식 시작하기 항목을 참조하십시오.
첫 번째 섹션에서는 문제를 생성하거나 조정할 때 성능을 개선하는 방법에 대해 설명합니다.
두 번째 섹션에서는 목적 함수 또는 제약 조건에
for
루프가 포함된 경우 성능을 개선하는 방법을 보여줍니다.세 번째 섹션에서는 효율적으로 문제 기반 접근법을 사용하기 위한 팁을 제공합니다.
도움말 항목
효율적으로 해를 구하도록 문제 설정하기
- Create Efficient Optimization Problems
Obtain a faster or more accurate solution when the problem has integer constraints, and avoid loops when creating a problem. - Objective and Constraints Having a Common Function in Serial or Parallel, Problem-Based
Save time when the objective and nonlinear constraint functions share common computations in the problem-based approach. - Tune Solution for Analysis
Techniques for effective use of the analysis capabilities in the problem-based approach. - Supply Derivatives in Problem-Based Workflow
How to include derivative information in problem-based optimization when automatic derivatives do not apply. - Effect of Automatic Differentiation in Problem-Based Optimization
Automatic differentiation lowers the number of function evaluations for solving a problem.
정적 분석
- Static Analysis of Optimization Expressions
Describes static analysis of optimization expressions, a part of thefcn2optimexpr
algorithm. - Create for Loop for Static Analysis
How to create a for loop in separate function for static analysis. - Convert Constraints in for Loops for Static Analysis
How to create a for loop for constraints in separate function for static analysis.
문제 기반 설정을 위한 팁
- Use Problem-Based Optimize Live Editor Task Effectively
How to use and understand the problem-based Optimize Live Editor task. - Separate Optimization Model from Data
Create reusable, scalable problems by separating the model from the data. - Named Index for Optimization Variables
Create and work with named indices for variables. - Create Initial Point for Optimization with Named Index Variables
Create initial points forsolve
when the problem has named index variables by using thefindindex
function. - Initialize Optimization Expressions
How initialize optimization expressions in functions, and how to recognize that you need to initialize them. - Integer Constraints in Nonlinear Problem-Based Optimization
Learn how the problem-based optimization functionsprob2struct
andsolve
handle integer constraints. - Obtain Generated Function Details
Find the values of extra parameters in nonlinear functions created byprob2struct
. - Output Function for Problem-Based Optimization
Use an output function in the problem-based approach to record iteration history and to make a custom plot.