Error using linprog quoting the code "-2_4"
3 次查看(过去 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
2018-8-1
Dear Philip Chow
1. Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions: ?options = optimoptions(@linprog, 'Preprocess', 'none');
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
2018-8-1
编辑: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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!