# JuMP with Mosek against CVX/Yalmip/Mosek API

**URL:** <https://discourse.julialang.org/t/jump-with-mosek-against-cvx-yalmip-mosek-api/89231>\
**Category:** Optimization (Mathematical)\
**Tags:** question\
**Created:** [October 25, 2022, 4:01am UTC](https://discourse.julialang.org/t/jump-with-mosek-against-cvx-yalmip-mosek-api/89231 "2022-10-25T04:01:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkuma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nkuma/32/43830_2.png) [@nkuma](https://discourse.julialang.org/u/nkuma)\
**Post date:** [October 25, 2022, 4:01am UTC](https://discourse.julialang.org/t/jump-with-mosek-against-cvx-yalmip-mosek-api/89231/1 "2022-10-25T04:01:36Z")

</div>

I’m pretty new in Julia and I am interested in using Mosek with JuMP.  
I have been using Mosek with CVX and Yalmip in Matlab, but ran into some issues with speed.  
Is there any comparison with these solvers in terms of performance of JuMP?  
Furthermore, compared to using the Mosek API in, say C++, how does JUMP perform?

---

<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:** [October 25, 2022, 4:16am UTC](https://discourse.julialang.org/t/jump-with-mosek-against-cvx-yalmip-mosek-api/89231/2 "2022-10-25T04:16:34Z")

</div>

> Is there any comparison with these solvers in terms of performance of JuMP?

The answer is almost certainly “it depends.” What does “issues with speed” mean? Is it the time to build the problem? Or to solve the problem? Did you profile which parts were taking the most time?

As a note of clarity, neither JuMP, YALMIP, nor CVX are solvers. They are a modeling language which converts your problem into a form that Mosek (the solver) can solve.

> compared to using the Mosek API in, say C++, how does JuMP perform?

The C++ API will likely be faster.
