IPOPT EXIT: Solved To Acceptable Level. Topic is solved

Solver related questions
Post Reply
Abhi140
User
User
Posts: 29
Joined: 3 years ago

IPOPT EXIT: Solved To Acceptable Level.

Post 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
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: IPOPT EXIT: Solved To Acceptable Level.

Post 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
Abhi140
User
User
Posts: 29
Joined: 3 years ago

Re: IPOPT EXIT: Solved To Acceptable Level.

Post 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. )
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: IPOPT EXIT: Solved To Acceptable Level.

Post 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
Post Reply