Error using linprog quoting the code "-2_4"

8 visualizaciones (últimos 30 días)
surendra bala
surendra bala el 1 de Abr. de 2018
Comentada: Nekommata el 9 de Abr. de 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 comentarios
Adusumilli Bala Surendra
Adusumilli Bala Surendra el 1 de Ag. de 2018
Dear Philip Chow
1. Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions: ?options = optimoptions(@linprog, 'Preprocess', 'none');
Walter Roberson
Walter Roberson el 1 de Ag. de 2018
Unfortunately the code it is failing in is buried in a .p file that contain a complete class.

Iniciar sesión para comentar.

Respuesta aceptada

Adusumilli Bala Surendra
Adusumilli Bala Surendra el 1 de Ag. de 2018
Editada: Adusumilli Bala Surendra el 1 de Ag. de 2018
Try the following: It worked for me.
Disable Pre-Processing using the flags 'PreProcess','none' with optimoptions;
options = optimoptions(@linprog, 'Preprocess', 'none');

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by