# 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:** 6

<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:** [June 23, 2026, 12:14am UTC](https://discourse.julialang.org/t/memory-blow-up-when-solving-a-sparse-affine-hermitian-sdp-translated-from-yalmip-to-jump/137744/6 "2026-06-23T00:14:05Z")

</div>

Hi @hz-xiaxz, try with this code:

> [@Bottleneck of JuMP](https://discourse.julialang.org/t/bottleneck-of-jump/136609/21):
>
> Try with: function dual\_optimizer() inner = MosekTools.Optimizer() dual\_problem = Dualization.DualProblem{Float64}(inner) return Dualization.DualOptimizer{Float64,typeof(inner)}(dual\_problem) end model = Model(dual\_optimizer) The underlying issue is: Mosek does not support HermitianPSDCone directly, so JuMP reformulates the problem into a larger PSD model. Model(Dualization.dual\_optimizer(Mosek.Optimizer)) creates two sets of bridges: one before the dual\_optimizer and one betwee…

---

_[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)._
