Optimize Simulink Model with valid parameter combination and invalid solutions/errors | Skip solutions with errors in optimization
2 views (last 30 days)
Show older comments
Tobias Held
on 18 Feb 2022
Commented: Tobias Held
on 24 Feb 2022
I am trying to run a global opimization on my simulink model and within the range of my parameters are combinations, that creates invalid solutions/ erros.
Is there a Way to skip these combinations?
I guess I could create constraints that could prevent some of them, but I would also hinder valid solutions...
0 Comments
Accepted Answer
Esha Chakraborty
on 22 Feb 2022
Hi Tobias,
I understand that you want to optimize a Simulink Model while skipping the invalid solution sets.
You can define a parameter-only constraint that identifies such design variable sets which result in model simulation error. Then the solver can use the constraint to skip only such sets and prevent the model from being evaluated in an invalid solution space.
More Answers (0)
See Also
Categories
Find more on Simulink Design Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!