# Ipopt does NOT memorize a best solution found so far

**URL:** <https://discourse.julialang.org/t/ipopt-does-not-memorize-a-best-solution-found-so-far/127244>\
**Category:** Optimization (Mathematical)\
**Tags:** ipopt\
**Created:** [March 21, 2025, 9:57pm UTC](https://discourse.julialang.org/t/ipopt-does-not-memorize-a-best-solution-found-so-far/127244 "2025-03-21T21:57:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [March 21, 2025, 11:15pm UTC](https://discourse.julialang.org/t/ipopt-does-not-memorize-a-best-solution-found-so-far/127244/2 "2025-03-21T23:15:17Z")

</div>

Same answer as [Ipopt's "local" optimum can be very substandard - #5 by odow](https://discourse.julialang.org/t/ipopts-local-optimum-can-be-very-substandard/127217/5)

> Additional question: will it be all right to directly write `g(x)` in the 🍅 line, as it was look like in the Gurobi’s code?

Yes. JuMP uses function tracing to compute the underlying expression.

---

_[View the full topic](https://discourse.julialang.org/t/ipopt-does-not-memorize-a-best-solution-found-so-far/127244)._
