MultiJuMP failed

It failed to compile this package ,is there a way to add and use this package for multi objective optimization

JuMP v0.21.5
JULIA v"1.4.1"

Hi! The community here will be happy to try to help you, but I think it will be difficult for people to help with so little information. Can you paste what are you doing and the full error that you get when trying to add this package?

Also, this post may be of help


It appears MultiJuMP is not compatible with the latest version of JuMP. You should open an issue in MultiJuMP.

For reference, the error is:

julia> using JuMP, MultiJuMP
[ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572]
[ Info: Precompiling MultiJuMP [f6097e2c-3ba3-5605-a9a8-3a277acb490f]
WARNING: could not import JuMP.JuMPTypes into MultiJuMP
ERROR: LoadError: LoadError: UndefVarError: JuMPTypes not defined
 [1] top-level scope at /Users/oscar/.julia/packages/MultiJuMP/49onf/src/types.jl:13
 [2] include(::Function, ::Module, ::String) at ./Base.jl:380
 [3] include at ./Base.jl:368 [inlined]
 [4] include(::String) at /Users/oscar/.julia/packages/MultiJuMP/49onf/src/MultiJuMP.jl:3
 [5] top-level scope at /Users/oscar/.julia/packages/MultiJuMP/49onf/src/MultiJuMP.jl:15
 [6] include(::Function, ::Module, ::String) at ./Base.jl:380
 [7] include(::Module, ::String) at ./Base.jl:368
 [8] top-level scope at none:2
 [9] eval at ./boot.jl:331 [inlined]
 [10] eval(::Expr) at ./client.jl:467
 [11] top-level scope at ./none:3
in expression starting at /Users/oscar/.julia/packages/MultiJuMP/49onf/src/types.jl:13
in expression starting at /Users/oscar/.julia/packages/MultiJuMP/49onf/src/MultiJuMP.jl:15
ERROR: Failed to precompile MultiJuMP [f6097e2c-3ba3-5605-a9a8-3a277acb490f] to /Users/oscar/.julia/compiled/v1.5/MultiJuMP/KOgs7_EU21N.ji.
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1290
 [3] _require(::Base.PkgId) at ./loading.jl:1030
 [4] require(::Base.PkgId) at ./loading.jl:928
 [5] require(::Module, ::Symbol) at ./loading.jl:923
1 Like