# Warmstart in \`COSMO.jl\` with \`JuMP\`

**URL:** <https://discourse.julialang.org/t/warmstart-in-cosmo-jl-with-jump/79727>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [April 20, 2022, 8:42am UTC](https://discourse.julialang.org/t/warmstart-in-cosmo-jl-with-jump/79727 "2022-04-20T08:42:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wujinq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wujinq/32/22221_2.png) [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Post date:** [April 20, 2022, 8:42am UTC](https://discourse.julialang.org/t/warmstart-in-cosmo-jl-with-jump/79727/1 "2022-04-20T08:42:19Z")

</div>

I’m currently using `COSMO.jl` to do a large scale SDP with `JuMP` as the interface. Is it possible to store the status of model for example every 100000 iterations, and if `max_iter` is reached, to start from the starting status in the next run?

---

<div class="post-metadata">

**Author:** ![mike\_k](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike_k/32/211864_2.png) [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Post date:** [April 20, 2022, 9:58am UTC](https://discourse.julialang.org/t/warmstart-in-cosmo-jl-with-jump/79727/2 "2022-04-20T09:58:37Z")

</div>

This is seemingly supported. See [here](https://jump.dev/JuMP.jl/stable/tutorials/conic/start_values/). You could try to play around with the given example and set, e.g., `max_iter = 50`. Then adapt the example to your problem accordingly.

Note: I have not tried this before.
