Error using linprog quoting the code "-2_4"

Error using linprog (line 336) LINPROG encountered an internal error that caused the solution to lose feasibility. We are sorry for the inconvenience.
Please contact technical support for assistance with your problem, quoting the code "-2_4".

7 件のコメント

Matt J
Matt J 2018 年 4 月 1 日
So, did you contact Tech Support as the error message suggested? What did they say?
surendra bala
surendra bala 2018 年 4 月 1 日
I tried contacting them but I couldn't connect them. Do you know anything related to this issue?
Matt J
Matt J 2018 年 4 月 1 日
No I don't. If you email them, they usually reply within a day.
surendra bala
surendra bala 2018 年 4 月 1 日
Yes. Thanks. I am waiting for the reply. I have sent a mail to "support@mathworks.com"
Philip Chow
Philip Chow 2018 年 8 月 1 日
I also got the same error. Surendra did you get the problem solved?
Adusumilli Bala Surendra
Adusumilli Bala Surendra 2018 年 8 月 1 日
Dear Philip Chow
1. Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions: ?options = optimoptions(@linprog, 'Preprocess', 'none');
Walter Roberson
Walter Roberson 2018 年 8 月 1 日
Unfortunately the code it is failing in is buried in a .p file that contain a complete class.

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

 採用された回答

Adusumilli Bala Surendra
Adusumilli Bala Surendra 2018 年 8 月 1 日
編集済み: Adusumilli Bala Surendra 2018 年 8 月 1 日

3 投票

Try the following: It worked for me.
Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions;
options = optimoptions(@linprog, 'Preprocess', 'none');

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by