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
2022년 2월 21일
If you really have a nonlinear problem with integer variables, you can only use ga.
Jingyu Liu
2022년 2월 21일
Jingyu Liu
2022년 2월 21일
답변 (1개)
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().
카테고리
도움말 센터 및 File Exchange에서 Choose a Solver에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!