# Memory blow-up when solving a sparse affine Hermitian SDP translated from YALMIP to JuMP

**URL:** <https://discourse.julialang.org/t/memory-blow-up-when-solving-a-sparse-affine-hermitian-sdp-translated-from-yalmip-to-jump/137744>\
**Category:** Optimization (Mathematical)\
**Tags:** jump, memory, dualization\
**Created:** [June 22, 2026, 3:10pm UTC](https://discourse.julialang.org/t/memory-blow-up-when-solving-a-sparse-affine-hermitian-sdp-translated-from-yalmip-to-jump/137744 "2026-06-22T15:10:11Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![hz-xiaxz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hz-xiaxz/32/209585_2.png) [@hz-xiaxz](https://discourse.julialang.org/u/hz-xiaxz)\
**Post date:** [June 23, 2026, 5:00am UTC](https://discourse.julialang.org/t/memory-blow-up-when-solving-a-sparse-affine-hermitian-sdp-translated-from-yalmip-to-jump/137744/7 "2026-06-23T05:00:59Z")

</div>

Thank you for the reply! It looks like I am running into the exact same issue mentioned in that post—my apologies for not finding it before asking.

I do have a follow-up question regarding JuMP’s approach to formulating this problem. Specifically, regarding this point:

> _Mosek does not support HermitianPSDCone directly, so JuMP reformulates the problem into a larger PSD model._

Out of curiosity, does YALMIP use a different or more efficient approach for this? I’m cc’ing @araujoms, as he might be familiar with the YALMIP implementation as well.

In the meantime, I will try using the PR branch in Dualization.jl to see if that resolves the issue for me. Thank you again for all your help and suggestions!

---

_[View the full topic](https://discourse.julialang.org/t/memory-blow-up-when-solving-a-sparse-affine-hermitian-sdp-translated-from-yalmip-to-jump/137744)._
