# KNITRO.jl cannot be added with latest JuMP, MathOptInterface

**URL:** https://discourse.julialang.org/t/knitro-jl-cannot-be-added-with-latest-jump-mathoptinterface/77290
**Category:** Optimization (Mathematical)
**Tags:** jump
**Created:** [March 2, 2022, 11:00am UTC](https://discourse.julialang.org/t/knitro-jl-cannot-be-added-with-latest-jump-mathoptinterface/77290 "2022-03-02T11:00:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Shuvomoy\_Das\_Gupta](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shuvomoy_das_gupta/32/10069_2.png) [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)
#### Post date: [March 2, 2022, 11:00am UTC](https://discourse.julialang.org/t/knitro-jl-cannot-be-added-with-latest-jump-mathoptinterface/77290/1 "2022-03-02T11:00:30Z")

</div>

Dear All,

If I try to install KNITRO

`add KNITRO`

it downgrades JuMP and MathoptInterface

```julia
  Resolving package versions...
   Installed BinaryProvider ───── v0.5.10
   Installed MutableArithmetics ─ v0.3.3
   Installed KNITRO ───────────── v0.11.1
   Installed Ipopt ────────────── v0.9.1
   Installed MosekTools ───────── v0.11.0
   Installed JuMP ─────────────── v0.22.3
   Installed MathOptInterface ─── v0.10.9
    Updating `C:\Users\shuvo\.julia\environments\v1.6\Project.toml`
  [b6b21f68] ↓ Ipopt v1.0.1 ⇒ v0.9.1
  [4076af6c] ↓ JuMP v0.23.0 ⇒ v0.22.3
  [67920dd8] + KNITRO v0.11.1
  [1ec41992] ↓ MosekTools v0.12.0 ⇒ v0.11.0
    Updating `C:\Users\shuvo\.julia\environments\v1.6\Manifest.toml`
  [b99e7846] + BinaryProvider v0.5.10
  [b6b21f68] ↓ Ipopt v1.0.1 ⇒ v0.9.1
  [4076af6c] ↓ JuMP v0.23.0 ⇒ v0.22.3
  [67920dd8] + KNITRO v0.11.1
  [b8f27783] ↓ MathOptInterface v1.1.0 ⇒ v0.10.9

```

I have opened an issue on `KNITRO.jl`, but I was wondering if any of you have a quick fix? I am preparing to release a Julia package in a few weeks that uses `KNITRO` and `JuMP`, and I would prefer to use the latest version. Any tips/suggestions will be much appreciated.

---

<div class="post-metadata">

### Author: ![frapac](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/frapac/32/6879_2.png) [@frapac](https://discourse.julialang.org/u/frapac)
#### Post date: [March 2, 2022, 2:14pm UTC](https://discourse.julialang.org/t/knitro-jl-cannot-be-added-with-latest-jump-mathoptinterface/77290/2 "2022-03-02T14:14:33Z")

</div>

The latest version of KNITRO.jl is 0.11.1 and was released 5 days ago. It works with Knitro (the solver, not the wrapper) 11, 12 and 13. Your first install is correct, and downgrade JuMP to 0.22.3 as KNITRO.jl does not support MOI 1.0 in the version 0.11.1. You can use `KNITRO.jl#master` if you have to use JuMP 0.23/MOI 1.0, and a new release of KNITRO.jl is expected soon.

---

<div class="post-metadata">

### Author: ![Shuvomoy\_Das\_Gupta](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shuvomoy_das_gupta/32/10069_2.png) [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)
#### Post date: [March 2, 2022, 2:50pm UTC](https://discourse.julialang.org/t/knitro-jl-cannot-be-added-with-latest-jump-mathoptinterface/77290/3 "2022-03-02T14:50:30Z")

</div>

Thank you for the information @frapac !
