# License error for JuMP

**URL:** https://discourse.julialang.org/t/license-error-for-jump/44576
**Category:** Optimization (Mathematical)
**Created:** [August 8, 2020, 4:24pm UTC](https://discourse.julialang.org/t/license-error-for-jump/44576 "2020-08-08T16:24:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Rasoul](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@Rasoul](https://discourse.julialang.org/u/Rasoul)
#### Post date: [August 8, 2020, 4:24pm UTC](https://discourse.julialang.org/t/license-error-for-jump/44576/1 "2020-08-08T16:24:04Z")

</div>

Hi All,

I have installed JuMP (“0.18.5”) and Gurobi (“0.6.0”). I have put a valid license for Gurobi in its corresponding folder. However, I get the following error when I want to solve my optimization problem. Can you please let me know why I am getting this error.

```julia
ERROR: LoadError: Invalid Gurobi license

```

Thanks in advance!

---

<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: [August 8, 2020, 4:34pm UTC](https://discourse.julialang.org/t/license-error-for-jump/44576/2 "2020-08-08T16:34:20Z")

</div>

Here is the Gurobi support: [https://support.gurobi.com/hc/en-us/articles/360034784572-How-do-I-check-for-a-valid-license-](https://support.gurobi.com/hc/en-us/articles/360034784572-How-do-I-check-for-a-valid-license-)

You either didn’t set `GRB_LICENSE_FILE` when installing the license in a non-default location, or your license version doesn’t match the version of Gurobi that you are running.
