Why am I getting a quadprog error Unexpected Standard exception from MEX file. What() is:bad allocation?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 3 de Abr. de 2018
Respondida: MathWorks Support Team
el 3 de Abr. de 2018
I was solving some problems using quadprog but I observed that for larger inputs I run into the following message: error in quadprog
Unexpected Standard exception from MEX file.
What() is:bad allocation
..
The same code is able to run on other computers, but takes an extremely long time.
Respuesta aceptada
MathWorks Support Team
el 3 de Abr. de 2018
This error is due to a memory issue.
Making all matrices sparse before calling quadprog reduces the computing time and also eliminates the error.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Quadratic Programming and Cone Programming 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!