No feasible solution found when using intlinprog
古いコメントを表示
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 件のコメント
Ameer Hamza
2018 年 6 月 28 日
編集済み: Ameer Hamza
2018 年 6 月 28 日
You said there are 12 unknowns. Shouldn't f be [1 x 12]?
Steve Grikschat
2018 年 6 月 28 日
I'm not sure why you are using intlinprog for this. Are you restricting the solution of the system to be integer (or partly integer)?
Either way, I would agree with Ameer in that I'm unsure how you got a 180-element vector.
If the system is 7 equations with 12 unknowns, then intlinprog's Aeq input should be a 7x12 matrix.
Additionally, 180 variables or constraints is not too much for intlinprog.
Are you sure that there is a solution to the problem?
Austin Brehm
2018 年 6 月 28 日
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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Least Squares についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!