Mixed Integer Programming using lsqlin/quadprog
1 回表示 (過去 30 日間)
古いコメントを表示
Hi everyone!
I'm using lsqlin for an optimization problem. I would need mixed integers for some of the constraints.
Is there a possibility to use lsqlin together with mixed integers?
I think I could also use quadprog for my problem, but can not find any information about quadprog together with mixed integers either. Is there a way to use mixed integers with quadprog?
Thank you for your help!
0 件のコメント
回答 (1 件)
Ben Drebing
2018 年 1 月 12 日
I don't think that either of those functions can be used with mixed integer. But there is an example online that shows how to break down a mixed integer quadratic problem down into a series of linear problems. Check it out and see if it helps: http://www.mathworks.com/help/optim/examples/mixed-integer-quadratic-programming-portfolio-optimization.html
2 件のコメント
Ben Drebing
2018 年 1 月 12 日
Also, I believe you can use genetic algorithms to solve such problems as well. Here is a link that describes that: https://www.mathworks.com/help/gads/mixed-integer-optimization.html
参考
カテゴリ
Help Center および File Exchange で Quadratic Programming and Cone Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!