No feasible solution found when using intlinprog

3 ビュー (過去 30 日間)
Austin Brehm
Austin Brehm 2018 年 6 月 28 日
回答済み: Steve Grikschat 2018 年 6 月 29 日
I am using "intlinprog" to solve a system of linear equations. The "f" matrix is a 1x180 matrix. Can intlinprog process large matrices like this? I have 12 unknowns with 7 equality constraint equations.
  4 件のコメント
Austin Brehm
Austin Brehm 2018 年 6 月 28 日
Very sorry, I meant to say 180 unknowns and 28 constraints. I made a mistake while creating the Aeq matrix and it now outputs one solution. Is there a way to check all answers matlab comes up with, not just the optimal point? Thank you very much.
Ameer Hamza
Ameer Hamza 2018 年 6 月 28 日
The Display property of intlinprog() is already set to 'iter', which mean it already displays the result of each iteration by default. I am not sure whether you will be able to access any more information than that but you can give this link a try: https://www.mathworks.com/help/matlab/math/output-functions.html#bsgpq6q-31

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

採用された回答

Steve Grikschat
Steve Grikschat 2018 年 6 月 29 日
If you are referring to intermediate feasible solutions you can use the built-in OutputFcn savemilpsolutions:
Just a warning: if there is no objective function for the problem (or it is all zero), then as soon as intlinprog finds any integer feasible solution, it will stop.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by