# How to use Mosek 11 beta in JuMP

**URL:** https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821
**Category:** Optimization (Mathematical)
**Tags:** jump, optimization, mosek
**Created:** [December 13, 2024, 6:23pm UTC](https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821 "2024-12-13T18:23:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![CaG21](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@CaG21](https://discourse.julialang.org/u/CaG21)
#### Post date: [December 13, 2024, 6:23pm UTC](https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821/1 "2024-12-13T18:23:47Z")

</div>

I’d like to use Mosek 11 beta in JuMP.jl. In order to do so, I have installed Mosek 11.0.1 binaries from the website, and created the environment variable `MOSEKBINDIR` to point to the bin directory of Mosek 11. Then, I tried to install the correct version of Mosek.jl manually using `] add Mosek#b11.0` but I got the following package incompatibility error of MosekTools.jl

```julia
ERROR: Unsatisfiable requirements detected for package Mosek [6405355b]:
 Mosek [6405355b] log:
 ├─possible versions are: 11.0.0 or uninstalled
 ├─Mosek [6405355b] is fixed to version 11.0.0-beta.0
 └─found to have no compatible versions left with MosekTools [1ec41992]
   └─MosekTools [1ec41992] log:
     ├─possible versions are: 0.6.0 - 0.15.3 or uninstalled
     └─restricted to versions * by project [fc7e1aec], leaving only versions: 0.6.0 - 0.15.3
       └─project [fc7e1aec] log:
         ├─possible versions are: 0.0.0 or uninstalled
         └─project [fc7e1aec] is fixed to version 0.0.0

```

So, alternatively, I tried to build again Mosek.jl with `] build Mosek` only to get the error

```julia
ERROR: Error building `Mosek`:
[ Info: Got version: 11.0.1, expected version: 10.2
ERROR: LoadError: MOSEKBINDIR (C:\Program Files\Mosek\11.0\tools\platform\win64x86\bin) does not point to a MOSEK 10.2 bin directory

```

So, it seems that it is not possible to install the version 11 of Mosek.jl due to incompatibility of MosekTools.jl, and of course it is not possible to use Mosek 11 with a previous version of Mosek.jl.  
Is there any workaround to have Mosek 11 running?

---

<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: [December 14, 2024, 4:06am UTC](https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821/2 "2024-12-14T04:06:12Z")

</div>

This is a question for @blegat. We likely need to make some changes to update to the new Mosek version.

---

<div class="post-metadata">

### Author: ![blegat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/blegat/32/217090_2.png) [@blegat](https://discourse.julialang.org/u/blegat)
#### Post date: [December 16, 2024, 10:01am UTC](https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821/3 "2024-12-16T10:01:02Z")

</div>

Yes, we should create a branch in MosekTools and start testing

---

<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: [March 20, 2025, 11:12pm UTC](https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821/4 "2025-03-20T23:12:46Z")

</div>

Just following up to say that you can now use Mosek v11 with MosekTools v0.15.6 or later.

---

<div class="post-metadata">

### Author: ![CaG21](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@CaG21](https://discourse.julialang.org/u/CaG21)
#### Post date: [March 21, 2025, 7:55am UTC](https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821/5 "2025-03-21T07:55:35Z")

</div>

Thank you!
