-
I have a nonlinear DAE system I've built and discretized with Pyomo and sent to IPOPT to solve. The situation is somewhat similar to this question. I suspect it is a badly scaled problem that ends, based on how I do my scaling, with a solved status (i.e., "EXIT: Optimal Solution Found.") or, sometimes, based on other scaling factors, although with the same results for the actual variables, with an infeasible status (the usual expected ending if within the restoration phase). So I am not clear if the problem is really solved (I suspect it is not because some of the variables are off). How do I force IPOPT to exit the restoration phase and what does the current solution mean? Is there some other way to check if it's truly solved? The problem only has constraints, no objective function, as there are only equations from discretization, which are modeled as constraints in Pyomo.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ipopt went into its feasibility restoration phase and then solved the corresponding NLP (minimize constraint violations). This lead to finding a feasible point (for the non-restoration-phase NLP). Ipopt then checks whether optimality conditions are also satisfied, that is, dual infeasibility and complementarity are below tolerance. Without an objective function, these are of course just zero. And feasible point is optimal here.
Checking first- and second-order optimality conditions. As there is no objective function, this just means checking that constraints are indeed satisfied. According to Ipopt, constraint violation is at 4e-11, which should be sufficiently good. |
Beta Was this translation helpful? Give feedback.
Ipopt went into its feasibility restoration phase and then solved the corresponding NLP (minimize constraint violations). This lead to finding a feasible point (for the non-restoration-phase NLP). Ipopt then checks whether optimality conditions are also satisfied, that is, dual infeasibility and complementarity are below tolerance. Without an objective function, these are of course just zero. And feasible point is optimal here.
Checking first- and second-order optimality conditions. As there is no objective function, this just means checking that constraints are indeed satisfied. According to Ipopt, constraint violation is at 4e-11,…