# Unsatisfiable requirements detected: MultiObjectiveAlgorithms package

**URL:** https://discourse.julialang.org/t/unsatisfiable-requirements-detected-multiobjectivealgorithms-package/106284
**Category:** Optimization (Mathematical)
**Tags:** jump
**Created:** [November 15, 2023, 11:05pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-multiobjectivealgorithms-package/106284 "2023-11-15T23:05:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kiki](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kiki/32/202756_2.png) [@kiki](https://discourse.julialang.org/u/kiki)
#### Post date: [November 15, 2023, 11:05pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-multiobjectivealgorithms-package/106284/1 "2023-11-15T23:05:28Z")

</div>

Hi, can you help me with the next question?

I have tried to install

import Pkg; Pkg.add(“MultiObjectiveAlgorithms”)

But it doesn’t work, I get the message :  
(Before I have installed JuMP)

Unsatisfiable requirements detected for package JuMP [4076af6c]:  
JuMP [4076af6c] log:  
├─possible versions are: 0.18.3-1.16.0 or uninstalled  
├─restricted to versions \* by an explicit requirement, leaving only versions: 0.18.3-1.16.0  
├─restricted by compatibility requirements with MathOptInterface [b8f27783] to versions: [0.18.3-0.18.6, 0.23.0-1.16.0] or uninstalled, leaving only versions: [0.18.3-0.18.6, 0.23.0-1.16.0]  
│ └─MathOptInterface [b8f27783] log:  
│ ├─possible versions are: 0.5.0-1.22.0 or uninstalled  
│ ├─restricted to versions \* by an explicit requirement, leaving only versions: 0.5.0-1.22.0  
│ ├─restricted by compatibility requirements with Cbc [9961bab8] to versions: [0.6.0-0.6.4, 0.8.0-0.8.4, 0.9.1-1.22.0]  
│ │ └─Cbc [9961bab8] log:  
│ │ ├─possible versions are: 0.4.0-1.2.0 or uninstalled  
│ │ ├─restricted to versions \* by an explicit requirement, leaving only versions: 0.4.0-1.2.0  
│ │ └─restricted by compatibility requirements with MathOptInterface [b8f27783] to versions: 1.0.0-1.2.0 or uninstalled, leaving only versions: 1.0.0-1.2.0  
│ │ └─MathOptInterface [b8f27783] log: see above  
│ └─restricted by compatibility requirements with MultiObjectiveAlgorithms [0327d340] to versions: 1.12.0-1.22.0  
│ └─MultiObjectiveAlgorithms [0327d340] log:  
│ ├─possible versions are: 0.1.0-1.3.0 or uninstalled  
│ └─restricted to versions \* by an explicit requirement, leaving only versions: 0.1.0-1.3.0  
├─restricted by compatibility requirements with BilevelOptimization [98803d92] to versions: 0.18.3-0.18.6  
│ └─BilevelOptimization [98803d92] log:  
│ ├─possible versions are: 0.1.1-0.2.2 or uninstalled  
│ ├─restricted to versions \* by an explicit requirement, leaving only versions: 0.1.1-0.2.2  
│ └─restricted by compatibility requirements with JuMP [4076af6c] to versions: 0.1.1-0.2.1 or uninstalled, leaving only versions: 0.1.1-0.2.1  
│ └─JuMP [4076af6c] log: see above  
└─restricted by compatibility requirements with BilevelJuMP [485130c0] to versions: [1.0.0-1.1.1, 1.7.0-1.16.0] — no versions left  
└─BilevelJuMP [485130c0] log:  
├─possible versions are: 0.1.0-0.6.2 or uninstalled  
├─restricted to versions \* by an explicit requirement, leaving only versions: 0.1.0-0.6.2  
└─restricted by compatibility requirements with MathOptInterface [b8f27783] to versions: 0.5.0-0.6.2 or uninstalled, leaving only versions: 0.5.0-0.6.2  
└─MathOptInterface [b8f27783] log: see above

Thanks

---

<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: [November 15, 2023, 11:54pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-multiobjectivealgorithms-package/106284/2 "2023-11-15T23:54:02Z")

</div>

Try

```julia
import Pkg
Pkg.rm("BilevelOptimization")
Pkg.add("MultiObjectiveAlgorithms")

```

[GitHub - matbesancon/BilevelOptimization.jl: JuMP-based toolbox for solving bilevel optimization problems](https://github.com/matbesancon/BilevelOptimization.jl) is an old package that hasn’t been updated in a number of years and depends on a very outdated version of JuMP. If you’re solving bilevel problems, use BilevelJuMP.jl instead.

---

<div class="post-metadata">

### Author: ![kiki](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kiki/32/202756_2.png) [@kiki](https://discourse.julialang.org/u/kiki)
#### Post date: [November 16, 2023, 12:38am UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-multiobjectivealgorithms-package/106284/3 "2023-11-16T00:38:01Z")

</div>

Hi, it works, but running import MultiObjectiveAlgorithms as MOA  
I get the next message:  
[Info: Precompiling MultiObjectiveAlgorithms [0327d340-17cd-11ea-3e99-2fd5d98cecda]  
┌ Warning: Module MathOptInterface with build ID fafbfcfd-3a0f-f560-0001-a9e9da25e621 is missing from the cache.  
│ This may mean MathOptInterface [b8f27783-ece8-5eb3-8dc8-9495eed66fee] does not support precompilation but is imported by a module that does.  
└ @ Base loading.jl:1793  
[Info: Skipping precompilation since **precompile** (false). Importing MultiObjectiveAlgorithms [0327d340-17cd-11ea-3e99-2fd5d98cecda].

---

<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: [November 16, 2023, 12:48am UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-multiobjectivealgorithms-package/106284/4 "2023-11-16T00:48:15Z")

</div>

Try closing Julia and restarting. If there is still a problem, what is the output of `Pkg.status()`?
