Using MATLAB library functions with outside solvers
1 次查看(过去 30 天)
显示 更早的评论
Hello all,
Can I build an optimization problem using libraries in MATLAB, e.g. Rainflow from the signal processing toolbox, and call outside solvers like CPLEX/CONOPT in the end of the script to solve it?
Two comments -
- Optimization problem: continuous but non-differentiable, so challenging to solve nested optimization problems
- The specific Rainflow library is not easily available in other solvers' GUI. Also, outside solvers have their own syntax that doesn't allow any MATLAB inbuilt library call inside it, e.g., calling Rainflow function to build optimization problem.
Does anybody know how to use MATLAB libraries and outside solvers?
0 个评论
回答(1 个)
Supraja
2023-3-9
Assuming that you have created your model in Simulink, Simulink does not allow users to use custom solver instead of the ones available in Simulink.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Design Optimization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!