I am solving a nonlinear optimization problem using Pyomo with Ipopt as solver. The solver exits with the status:
EXIT: Optimal Solution Found.
This I can cross check by testing:
results.solver.termination_condition == TerminationCondition.optimal, which returns True. I was now curious to check, whether the solution is globally or locally optimal. However, for both of the statements below, I get a False return.
results.solver.termination_condition == TerminationCondition.globallyOptimal
results.solver.termination_condition == TerminationCondition.locallyOptimal
I don't understand, why is it False for both of these statements. Would anyone having previous experience with Pyomo help me out ?
A bit of background information on accessing solver status and termination conditions in Pyomo can be found here.