# Remove SDP variable in JuMP

**URL:** <https://discourse.julialang.org/t/remove-sdp-variable-in-jump/1999>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [February 9, 2017, 12:50pm UTC](https://discourse.julialang.org/t/remove-sdp-variable-in-jump/1999 "2017-02-09T12:50:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarioSouto](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mariosouto/32/36673_2.png) [@MarioSouto](https://discourse.julialang.org/u/MarioSouto)\
**Post date:** [February 9, 2017, 12:50pm UTC](https://discourse.julialang.org/t/remove-sdp-variable-in-jump/1999/1 "2017-02-09T12:50:23Z")

</div>

Dear all,

I’m doing some experiments by solving the semidefinite relaxation of a MIP. To do so, I need to include an SDP variable but I’m having some trouble to remove such variable after solving the relaxation. Is there any correct way to do this with JuMP?

---

<div class="post-metadata">

**Author:** ![miles.lubin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miles.lubin/32/279_2.png) [@miles.lubin](https://discourse.julialang.org/u/miles.lubin)\
**Post date:** [February 9, 2017, 12:55pm UTC](https://discourse.julialang.org/t/remove-sdp-variable-in-jump/1999/2 "2017-02-09T12:55:18Z")

</div>

Not really, just build a new model without it.
