It would be great to be able to do: ``` cb = (nlp, solver, stats) -> begin println(solver.x) end ``` with ipopt as well, I will mark it as an issue. _Originally posted by @tmigot in https://github.com/JuliaSmoothOptimizers/NLPModelsIpopt.jl/discussions/103#discussioncomment-5244881_