# Error building \`Gurobi\`

**URL:** https://discourse.julialang.org/t/error-building-gurobi/59852
**Category:** Optimization (Mathematical)
**Tags:** package, gurobi
**Created:** [April 23, 2021, 8:49am UTC](https://discourse.julialang.org/t/error-building-gurobi/59852 "2021-04-23T08:49:01Z")
**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: [April 25, 2021, 4:09am UTC](https://discourse.julialang.org/t/error-building-gurobi/59852/6 "2021-04-25T04:09:16Z")

</div>

JuMPeR has not been maintained for two years. It relies on an old version of JuMP, and cannot be used with Gurobi 9.1. I’m not aware of a similar package for robust optimization in Julia.

If you really wanted to get it working, use a different solver, or install an old version of Gurobi the solver (e.g., 8.1 or 9.0, not 9.1). Then run (in a clean environment):

```nohighlight
ENV["GUROBI_HOME"] = "C:\\gurobi90\\win64" # <-- modify as needed
] add https://github.com/IainNZ/JuMPeR.jl
] add Gurobi@0.8

```

Note that you will need to read the old JuMP documentation: [JuMP — Julia for Mathematical Optimization — JuMP -- Julia for Mathematical Optimization 0.18 documentation](https://jump.dev/JuMP.jl/0.18/).

---

_[View the full topic](https://discourse.julialang.org/t/error-building-gurobi/59852)._
