How to solve MINLP via problom-based optimization

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 件のコメント

Torsten
Torsten 2022 年 2 月 21 日
If you really have a nonlinear problem with integer variables, you can only use ga.
Jingyu Liu
Jingyu Liu 2022 年 2 月 21 日
@Torsten How to use ga in problem-based optimization?
opts = optimoptions('ga') didn't work.
Jingyu Liu
Jingyu Liu 2022 年 2 月 21 日
@Torsten Thanks for your comments!

サインインしてコメントする。

回答 (1 件)

Matt J
Matt J 2022 年 2 月 21 日

0 投票

You can use prob2struct()
to convert problem-based formulations of your bounds, linear and integer constraints to a format suitable for ga().

質問済み:

2022 年 2 月 21 日

回答済み:

2022 年 2 月 21 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by