Effacer les filtres
Effacer les filtres

Error using linprog quoting the code "-2_4"

6 vues (au cours des 30 derniers jours)
surendra bala
surendra bala le 1 Avr 2018
Commenté : Nekommata le 9 Avr 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 commentaires
Adusumilli Bala Surendra
Adusumilli Bala Surendra le 1 Août 2018
Dear Philip Chow
1. Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions: ?options = optimoptions(@linprog, 'Preprocess', 'none');
Walter Roberson
Walter Roberson le 1 Août 2018
Unfortunately the code it is failing in is buried in a .p file that contain a complete class.

Connectez-vous pour commenter.

Réponse acceptée

Adusumilli Bala Surendra
Adusumilli Bala Surendra le 1 Août 2018
Modifié(e) : Adusumilli Bala Surendra le 1 Août 2018
Try the following: It worked for me.
Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions;
options = optimoptions(@linprog, 'Preprocess', 'none');

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by