문제 기반 구성 및 성능 개선하기
문제 기반 설정에 특화된 작업 구현
이 범주에서는 문제 기반 해의 세부 정보와 함께 보다 특화된 작업에 대한 제안 사항을 제공합니다. 기본 작업과 소개 워크플로에 대한 내용은 문제 기반 최적화 및 방정식 시작하기 항목을 참조하십시오.
첫 번째 섹션에서는 문제를 생성하거나 조정할 때 성능을 개선하는 방법에 대해 설명합니다.
두 번째 섹션에서는 목적 함수 또는 제약 조건에
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 thefcn2optimexpralgorithm. - 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.
문제 기반 설정을 위한 팁
- 문제 기반 최적화 라이브 편집기 작업을 효과적으로 사용하기
문제 기반 최적화 라이브 편집기 작업을 사용하고 이해하는 방법을 알아봅니다. - 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 forsolvewhen the problem has named index variables by using thefindindexfunction. - Initialize Optimization Expressions
How initialize optimization expressions in functions, and how to recognize that you need to initialize them. - 비선형 문제 기반 최적화에서의 정수 제약 조건
문제 기반 최적화 함수prob2struct와solve가 정수 제약 조건을 처리하는 방법을 알아봅니다. - 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.