Unsatisfiable requirements detected: MultiObjectiveAlgorithms package

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

1 Like

Try

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

GitHub - matbesancon/BilevelOptimization.jl: JuMP-based toolbox for solving bilevel optimization problems 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.

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].

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