solution not within bounds when all variables are fixed
|Reported by:||stefan||Owned by:||ipopt-team|
I have a situation where I run Ipopt on a problem where all variables are fixed.
Additionally, I pass a starting solution that is different from the variable fixings (and thus outside the bounds).
Ipopt nicely recognizes that everything is fixed and the point is feasible.
In TNLPAdapter::GetSpaces? it then calls my finalize_solution method with the values of the variable-fixings.
Then a NO_FREE_VARIABLES_BUT_FEASIBLE exception is thrown and catched again in IpoptApplication?.
Unfortunately, here my finalize_solution method is called again, and for reasons that I have not found yet, it passes the infeasible start solution instead of the variable-fixings.
PS: I used ReOptimizeNLP() to solve this NLP.