Page 1 of 1

IPOPT EXIT: Solved To Acceptable Level.

Posted: Fri Mar 04, 2022 8:37 pm
by Abhi140
HI,

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

Re: IPOPT EXIT: Solved To Acceptable Level.

Posted: Sat Mar 05, 2022 7:55 am
by bussieck
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.

-Michael

Re: IPOPT EXIT: Solved To Acceptable Level.

Posted: Sat Mar 05, 2022 10:28 am
by Abhi140
Hi,

Actually, this status isn't listed in either of these model stats or solver stats. (By the way, my loop terminates if modelstat=1 or modelstat=2. )

Re: IPOPT EXIT: Solved To Acceptable Level.

Posted: Sun Mar 06, 2022 7:30 am
by bussieck
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.

-Michael