Miglioramento dell'organizzazione e della prestazione basate sui problemi
Implementare attività specializzate nella configurazione basata sui problemi
Questa categoria fornisce dettagli sulle soluzioni basate sui problemi e offre suggerimenti per attività più specialistiche. Per le attività di base e i workflow introduttivi, vedere Introduzione all'ottimizzazione basata sui problemi e alla risoluzione di equazioni.
La prima sezione illustra i metodi per migliorare le prestazioni durante la creazione o l'ottimizzazione di un problema.
La seconda sezione illustra come migliorare le prestazioni quando un obiettivo o un vincolo contiene
forloop.La terza sezione fornisce suggerimenti per utilizzare in modo efficace l'approccio basato sui problemi.
Argomenti
Impostazione dei problemi per una soluzione efficiente
- 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.
Analisi statica
- 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.
Suggerimenti per l'impostazione basata sui problemi
- 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 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. - Integer Constraints in Nonlinear Problem-Based Optimization
Learn how the problem-based optimization functionsprob2structandsolvehandle 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.