How to solve MINLP via problom-based optimization
6 次查看(过去 30 天)
显示 更早的评论
I have an optimization problem which is a MINLP (mixed integer nonlinear programming). I tried to solve it via problem-based optimization. I use opts = optimoptions(prob) but it failed. MATLAB told me Nonlinear problem with integer variables not supported.
I wonder what solver should I choose to solve such a problem and how to do. Any suggestion is appreciated. Thanks!
4 个评论
回答(1 个)
Matt J
2022-2-21
You can use prob2struct()
to convert problem-based formulations of your bounds, linear and integer constraints to a format suitable for ga().
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!