Skip the optimised parameters result if the objective function fails
1 次查看(过去 30 天)
显示 更早的评论
Hi
I am using matlab "isqnonlin" and "gamultiobj" (in two different codes) in matlab to optimise six parameters.
My objective function, is a function that calls ABAQUS and run some finite element models (FEMs) and export the result into matlab and matlab should optimised some coficient.
In some cases, matlab uses some coeficient that when the ABAQUS uses them to export the result, the FEM does not converge and it exists unfinished and matlab exports the results and generates the new optimised parametrs based on those unfinished data, which result in inaccurate optimisation.
My question is:
How can I define a condition that, if the condition was true MATLAB would ignore the esimated paramerts and goes to next iteration and estimates new parametrs?
Thanks
0 个评论
采纳的回答
Matt J
2021-6-23
Most optimization solvers have an OuputFcn option that will let you define your own stopping criteria:
8 个评论
Matt J
2021-6-25
If it is a "new challenge", I think you should probably post it as a different question, with a more detailed description.
Meanwhile, if you consider this question answered, please do Accept-click it.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multiobjective Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!