Verbessern der Organisation und Leistungsfähigkeit bei einer problembasierten Konfiguration
Umsetzen von Spezialaufgaben bei einer problembasierten Konfiguration
Diese Kategorie enthält Einzelheiten zu problembasierten Lösungen und bietet Anregungen für Spezialaufgaben. Informationen zu grundlegenden Tasks und einführenden Workflows finden Sie unter Erste Schritte mit der problembasierten Optimierung und Gleichungslösung.
Im ersten Abschnitt werden Möglichkeiten zur Leistungsoptimierung bei der Erstellung oder Feinabstimmung eines Problems erörtert.
Im zweiten Abschnitt wird erläutert, wie sich die Leistung verbessern lässt, wenn eine Zielfunktion oder Nebenbedingung
for-Schleifen enthält.Im dritten Abschnitt finden Sie Tipps für den effektiven Einsatz des problembasierten Ansatzes.
Themen
Definieren von Problemen für eine effiziente Lösungsfindung
- 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.
Statische Analyse
- 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.
Tipps zur problembasierten Konfiguration
- 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.