Error using linprog quoting the code "-2_4"
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
surendra bala
il 1 Apr 2018
Commentato: Nekommata
il 9 Apr 2019
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 Commenti
Adusumilli Bala Surendra
il 1 Ago 2018
Dear Philip Chow
1. Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions: ?options = optimoptions(@linprog, 'Preprocess', 'none');
Walter Roberson
il 1 Ago 2018
Unfortunately the code it is failing in is buried in a .p file that contain a complete class.
Risposta accettata
Adusumilli Bala Surendra
il 1 Ago 2018
Modificato: Adusumilli Bala Surendra
il 1 Ago 2018
Try the following: It worked for me.
Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions;
options = optimoptions(@linprog, 'Preprocess', 'none');
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!