How to solve MINLP via problom-based optimization
Afficher commentaires plus anciens
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 commentaires
Torsten
le 21 Fév 2022
If you really have a nonlinear problem with integer variables, you can only use ga.
Jingyu Liu
le 21 Fév 2022
Jingyu Liu
le 21 Fév 2022
Réponses (1)
Matt J
le 21 Fév 2022
0 votes
You can use prob2struct()
to convert problem-based formulations of your bounds, linear and integer constraints to a format suitable for ga().
Catégories
En savoir plus sur Choose a Solver dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!