# A problem running JuMP under Atom Juno IDE

**URL:** <https://discourse.julialang.org/t/a-problem-running-jump-under-atom-juno-ide/1627>\
**Category:** Optimization (Mathematical)\
**Created:** [January 21, 2017, 10:28am UTC](https://discourse.julialang.org/t/a-problem-running-jump-under-atom-juno-ide/1627 "2017-01-21T10:28:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tal\_Raviv](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@Tal\_Raviv](https://discourse.julialang.org/u/Tal_Raviv)\
**Post date:** [January 21, 2017, 10:28am UTC](https://discourse.julialang.org/t/a-problem-running-jump-under-atom-juno-ide/1627/1 "2017-01-21T10:28:19Z")

</div>

I am not sure that this is the right forum but I will try. I am using latest stable versions of Julia (0,5.0) and ATOM (1.13.0) with update JuMP and Clp packages. My OS is windows 64.

The following simple two lines of code work perfectly in my system both in REPL and as a script from the command line

using JuMP  
m = Model()

However, when trying to run it from the IDE the following error message is issued for the second line

LoadError: solver argument (JuMP.UnsetSolver()) must be an AbstractMathProgSolver  
in #Model#11(::JuMP.UnsetSolver, ::Bool, ::Type{T}) at C:\Users\TAL.julia\v0.5\JuMP\src\JuMP.jl:144  
in JuMP.Model() at C:\Users\TAL.julia\v0.5\JuMP\src\JuMP.jl:143  
in include\_string(::String, ::String) at .\loading.jl:441  
in include\_string(::Module, ::String, ::String) at C:\Users\TAL.julia\v0.5\CodeTools\src\eval.jl:32  
in (::LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.Atom.##61#64{String,String})() at C:\Users\TAL.julia\v0.5\Atom\src\eval.jl:81  
in withpath(::LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.Atom.##61#64{String,String}, ::String) at C:\Users\TAL.julia\v0.5\CodeTools\src\utils.jl:30  
in withpath(::Function, ::String) at C:\Users\TAL.julia\v0.5\Atom\src\eval.jl:46  
in macro expansion at C:\Users\TAL.julia\v0.5\Atom\src\eval.jl:79 [inlined]  
in (::LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.LastMain.Atom.##60#63{String,String})() at .\task.jl:60  
while loading C:\Users\TAL\Google Drive\Teaching\project\_shana\_D\Verolog-Ortec\Julia\test.jl, in expression starting on line 2

Any ideas?

---

<div class="post-metadata">

**Author:** ![NickNack](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nicknack/32/1792_2.png) [@NickNack](https://discourse.julialang.org/u/NickNack)\
**Post date:** [January 31, 2017, 8:20pm UTC](https://discourse.julialang.org/t/a-problem-running-jump-under-atom-juno-ide/1627/2 "2017-01-31T20:20:36Z")

</div>

I’m new to Julia and JuMP, but since noone else has answered in 10 days I’ll give it a try. The error message is complaining about the solver argument, so have you tried `m = Model(solver=ClpSolver())`? But I don’t understand why it would work in the REPL and not in Juno.
