[Ipopt] IPOPT error within Pyomo

Luca Mencarelli University luca.mencarelli.university at gmail.com
Tue Nov 3 10:54:46 EST 2020


Dear all,

I am using Ipopt 3.12.12 to solve a NLP within Pyomo in Python. I have a case in which IPOPT exits with “Optimal Solution Found”, but when I try to access the solution Python return me an error: "ValueError: Cannot load a SolverResults object with bad status: error”. I tried to throw an exception whenever the error occurs: the problem is that the exception is thrown also when IPOPT finds a solution. 

Thanks for your help. Best regards,
Luca  

 


More information about the Ipopt mailing list