# How can you get the Lagrange/KKT multipliers out of JuMP when using Ipopt?

**URL:** <https://discourse.julialang.org/t/how-can-you-get-the-lagrange-kkt-multipliers-out-of-jump-when-using-ipopt/123432>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [December 4, 2024, 1:09am UTC](https://discourse.julialang.org/t/how-can-you-get-the-lagrange-kkt-multipliers-out-of-jump-when-using-ipopt/123432 "2024-12-04T01:09:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [December 4, 2024, 1:55am UTC](https://discourse.julialang.org/t/how-can-you-get-the-lagrange-kkt-multipliers-out-of-jump-when-using-ipopt/123432/3 "2024-12-04T01:55:31Z")

</div>

With any optimization software, you can always get the Lagrange multipliers / dual variables from the objective/constraint gradients at the optimum just by solving a linear equation (from KKT).

---

_[View the full topic](https://discourse.julialang.org/t/how-can-you-get-the-lagrange-kkt-multipliers-out-of-jump-when-using-ipopt/123432)._
