# Getting "MethodError: no method matching Model()" when initializing models on JuMP

**URL:** https://discourse.julialang.org/t/getting-methoderror-no-method-matching-model-when-initializing-models-on-jump/43647
**Category:** Optimization (Mathematical)
**Tags:** jump, error
**Created:** [July 24, 2020, 11:39pm UTC](https://discourse.julialang.org/t/getting-methoderror-no-method-matching-model-when-initializing-models-on-jump/43647 "2020-07-24T23:39:32Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [July 26, 2020, 7:01pm UTC](https://discourse.julialang.org/t/getting-methoderror-no-method-matching-model-when-initializing-models-on-jump/43647/6 "2020-07-26T19:01:30Z")

</div>

> is there any resource/ way to figure out whether installing a package will cause a similar deprecation?

Not really. We need something like this: [Optionally warn if `update` cannot install latest version of a package · Issue #1655 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/issues/1655)

See also: [Package versions, how to make it less confusing?](https://discourse.julialang.org/t/package-version-confusion-how-to-make-it-less-confusing/43714)

---

_[View the full topic](https://discourse.julialang.org/t/getting-methoderror-no-method-matching-model-when-initializing-models-on-jump/43647)._
