I am using IPOPT in a loop. Inside the loop, a few of the solutions have reported output message as "EXIT: Solved To Acceptable Level.'. How to terminate the loop if this condition occurs?
Thanks & Regards,
Abhi, Research Scholar
Solver related questions
4 posts • Page 1 of 1
The GAMS/IPOPT link maps this status to some combination of model and solve status, see https://www.gams.com/38/docs/UG_GamsCal ... Omodelstat and https://www.gams.com/38/docs/UG_GamsCal ... Osolvestat. You should check if this combination is any different than with the other solves and then you can react on it. If the GAMS link maps it to the same model/solve status combination than you have no way to recognize this inside your GAMS program.
The GAMS/IPOPT link has to map any of the IPOPT internal status (e.g. Solved To Acceptable Level) to a combination given in the list of GAMS' model and solve status, GAMS support many solvers so all solvers need to map into the GAMS status world. Now see how the GAMS/IPOPT link maps Solved To Acceptable Level to a GAMS status and hope that is different enough to other outcomes in IPOPT. You can only react on a GAMS status not the IPOPT status because that is not available to you.