# Issues with JuMPeR

**URL:** <https://discourse.julialang.org/t/issues-with-jumper/2794>\
**Category:** Optimization (Mathematical)\
**Tags:** package\
**Created:** [March 21, 2017, 2:37pm UTC](https://discourse.julialang.org/t/issues-with-jumper/2794 "2017-03-21T14:37:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shimrit\_Shtern](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Shimrit\_Shtern](https://discourse.julialang.org/u/Shimrit_Shtern)\
**Post date:** [March 21, 2017, 2:37pm UTC](https://discourse.julialang.org/t/issues-with-jumper/2794/1 "2017-03-21T14:37:24Z")

</div>

Hi I have a legacy code in JuMPeR which I’m trying to run with the latest version of JuMP and Julia.  
The command setDefaultOracle is not recognized, and I can not find what it was changed to.  
Does anybody know what it was changed to? did GeneralGraphOracle change as well?

I also tried to run Pkg.test(“JuMPeR”) and got:  
ERROR: LoadError: Some tests did not pass: 1628 passed, 309 failed, 74 errored.  
I can send the full report if anyone is maintaining the package

---

<div class="post-metadata">

**Author:** ![miles.lubin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miles.lubin/32/279_2.png) [@miles.lubin](https://discourse.julialang.org/u/miles.lubin)\
**Post date:** [March 21, 2017, 6:29pm UTC](https://discourse.julialang.org/t/issues-with-jumper/2794/2 "2017-03-21T18:29:11Z")

</div>

According to its [REQUIRE](https://github.com/IainNZ/JuMPeR.jl/blob/e161a36abfd541926db9d7591eb6e3ae6ec9bdc4/REQUIRE) file, JuMPeR is compatible with JuMP 0.14 and no later, while the latest version of JuMP is 0.16. So I wouldn’t expect to run JuMPeR with the latest version of JuMP unless you’re willing to or can find someone willing to update it.

---

<div class="post-metadata">

**Author:** ![blegat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/blegat/32/217090_2.png) [@blegat](https://discourse.julialang.org/u/blegat)\
**Post date:** [March 22, 2017, 12:19am UTC](https://discourse.julialang.org/t/issues-with-jumper/2794/3 "2017-03-22T00:19:10Z")

</div>

Looking at the commit history, @yeesian has recently made updates to JuMPeR, he may provide more information.

---

<div class="post-metadata">

**Author:** ![yeesian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yeesian/32/652_2.png) [@yeesian](https://discourse.julialang.org/u/yeesian)\
**Post date:** [March 23, 2017, 1:19am UTC](https://discourse.julialang.org/t/issues-with-jumper/2794/4 "2017-03-23T01:19:34Z")

</div>

In general, you can use the search bar in github to search for the method/function that you’re trying to call to see when it has changed.

I have not tried it myself, but it seems you might just need to [call `setDefaultOracle!` instead of `setDefaultOracle`](https://github.com/IainNZ/JuMPeR.jl/commit/2ac9fabb7cf50d618b4879dbee41e690bdb37fe3).

---

<div class="post-metadata">

**Author:** ![Shimrit\_Shtern](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Shimrit\_Shtern](https://discourse.julialang.org/u/Shimrit_Shtern)\
**Post date:** [March 23, 2017, 3:38pm UTC](https://discourse.julialang.org/t/issues-with-jumper/2794/5 "2017-03-23T15:38:59Z")

</div>

JuMP actally reverted to the 0.14 version but it still did not work

---

<div class="post-metadata">

**Author:** ![Shimrit\_Shtern](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Shimrit\_Shtern](https://discourse.julialang.org/u/Shimrit_Shtern)\
**Post date:** [March 23, 2017, 3:39pm UTC](https://discourse.julialang.org/t/issues-with-jumper/2794/6 "2017-03-23T15:39:07Z")

</div>

Thanks for the tip  
I actually tried running the command  
setDefaultOracle!(rm, JuMPeR.GeneralGraphOracle())  
and got the error:  
ERROR: LoadError: UndefVarError: setDefaultOracle! not defined
