Error using linprog quoting the code "-2_4"

8 次查看(过去 30 天)
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 个评论
Adusumilli Bala Surendra
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
Try the following: It worked for me.
Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions;
options = optimoptions(@linprog, 'Preprocess', 'none');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by