# Gurobi.jl after switching to 702

**URL:** <https://discourse.julialang.org/t/gurobi-jl-after-switching-to-702/1878>\
**Category:** Optimization (Mathematical)\
**Created:** [February 3, 2017, 8:20pm UTC](https://discourse.julialang.org/t/gurobi-jl-after-switching-to-702/1878 "2017-02-03T20:20:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kkmann/32/1727_2.png) [@kkmann](https://discourse.julialang.org/u/kkmann)\
**Post date:** [February 3, 2017, 8:20pm UTC](https://discourse.julialang.org/t/gurobi-jl-after-switching-to-702/1878/1 "2017-02-03T20:20:20Z")

</div>

Hi,

after refreshing my Gurobi installation to 702 i get the error ‘error compiling #GurobiMathProgModel#8: error compiling Type: could not load library “gurobi65” The specified module could not be found.’ when running the example

```julia
using JuMP, Gurobi

# pass params as keyword arguments to GurobiSolver
m = Model(solver=GurobiSolver(Presolve=0))

@variable(m, x >= 5)
@variable(m, y >= 45)

@objective(m, Min, x + y)
@constraint(m, 50x + 24y <= 2400)
@constraint(m, 30x + 33y <= 2100)

status = solve(m)
println("Optimal objective: ",getobjectivevalue(m), 
    ". x = ", getvalue(x), " y = ", getvalue(y))

```

I am working on Windows, environment variable GUROBI\_HOME is set and working. Any ideas what might cause this problem? I reinstalled both Gurobi and Gurobi.jl.

---

<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:** [February 4, 2017, 3:01am UTC](https://discourse.julialang.org/t/gurobi-jl-after-switching-to-702/1878/2 "2017-02-04T03:01:59Z")

</div>

Try `Pkg.build("Gurobi")`. Reinstalling Gurobi.jl [doesn’t do what you think it does](https://github.com/JuliaLang/julia/issues/7054).

---

<div class="post-metadata">

**Author:** ![kkmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kkmann/32/1727_2.png) [@kkmann](https://discourse.julialang.org/u/kkmann)\
**Post date:** [February 6, 2017, 12:42pm UTC](https://discourse.julialang.org/t/gurobi-jl-after-switching-to-702/1878/3 "2017-02-06T12:42:30Z")

</div>

Uff, I see - thanks!
