# MultiJuMP failed

**URL:** https://discourse.julialang.org/t/multijump-failed/49265
**Category:** Optimization (Mathematical)
**Created:** [October 29, 2020, 9:17pm UTC](https://discourse.julialang.org/t/multijump-failed/49265 "2020-10-29T21:17:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mayar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mayar/32/16426_2.png) [@mayar](https://discourse.julialang.org/u/mayar)
#### Post date: [October 29, 2020, 9:17pm UTC](https://discourse.julialang.org/t/multijump-failed/49265/1 "2020-10-29T21:17:58Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mayar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mayar/32/16426_2.png) [@mayar](https://discourse.julialang.org/u/mayar)
#### Post date: [October 29, 2020, 9:28pm UTC](https://discourse.julialang.org/t/multijump-failed/49265/2 "2020-10-29T21:28:27Z")

</div>

JuMP v0.21.5  
JULIA v"1.4.1"

---

<div class="post-metadata">

### Author: ![aramirezreyes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aramirezreyes/32/42573_2.png) [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)
#### Post date: [October 30, 2020, 7:10pm UTC](https://discourse.julialang.org/t/multijump-failed/49265/3 "2020-10-30T19:10:27Z")

</div>

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](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you)

---

<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 1, 2020, 8:48pm UTC](https://discourse.julialang.org/t/multijump-failed/49265/4 "2020-11-01T20:48:55Z")

</div>

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

For reference, the error is:

```nohighlight
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
Stacktrace:
 [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.
Stacktrace:
 [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

```
