# LP Relaxation in JuMP

**URL:** https://discourse.julialang.org/t/lp-relaxation-in-jump/56476
**Category:** Optimization (Mathematical)
**Tags:** question, jump
**Created:** [March 4, 2021, 3:07pm UTC](https://discourse.julialang.org/t/lp-relaxation-in-jump/56476 "2021-03-04T15:07:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hdavid16](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hdavid16/32/11531_2.png) [@hdavid16](https://discourse.julialang.org/u/hdavid16)
#### Post date: [March 4, 2021, 3:07pm UTC](https://discourse.julialang.org/t/lp-relaxation-in-jump/56476/1 "2021-03-04T15:07:39Z")

</div>

What is the best way to get the LP relaxation of a MIP? Should I call relax\_integrality() and optimize, or is there a better way?

---

<div class="post-metadata">

### Author: ![hdavid16](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hdavid16/32/11531_2.png) [@hdavid16](https://discourse.julialang.org/u/hdavid16)
#### Post date: [March 4, 2021, 4:12pm UTC](https://discourse.julialang.org/t/lp-relaxation-in-jump/56476/2 "2021-03-04T16:12:01Z")

</div>

Found solution in another thread: [Query root relaxation values with JuMP - #2 by odow](https://discourse.julialang.org/t/query-root-relaxation-values-with-jump/50465/2)
