# \[Solved\] Problem installing the Gurobi package on a cluster

**URL:** <https://discourse.julialang.org/t/solved-problem-installing-the-gurobi-package-on-a-cluster/117385>\
**Category:** Optimization (Mathematical)\
**Tags:** gurobi\
**Created:** [July 23, 2024, 12:57pm UTC](https://discourse.julialang.org/t/solved-problem-installing-the-gurobi-package-on-a-cluster/117385 "2024-07-23T12:57:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Alex\_73](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex_73/32/206879_2.png) [@Alex\_73](https://discourse.julialang.org/u/Alex_73)\
**Post date:** [July 23, 2024, 1:56pm UTC](https://discourse.julialang.org/t/solved-problem-installing-the-gurobi-package-on-a-cluster/117385/2 "2024-07-23T13:56:19Z")

</div>

I think I found a way around it. Browsing through old posts here on the forum I found this: . Here [https://discourse.julialang.org/t/gurobi-v10-and-julia/90220/2](https://discourse.julialang.org/t/gurobi-v10-and-julia/90220/2) it suggests updating to a specific version of the Gurobi package with the command `using Pkg; pkg"add Gurobi@0.11.4"` therefore, considering my previous suspicion of possible incompatibility of version 11.0.2 in the file while in the cluster I have version 11.0.1 available, I There was an attempt to install a previous version of Gurobi. This way, accessing [Releases · jump-dev/Gurobi.jl · GitHub](https://github.com/jump-dev/Gurobi.jl/releases) I verified that the version prior to latest is version v1.2.3.

Therefore, when executing `add Gurobi@1.2.3` the Gurobi package was installed. And when running,

```julia
using JuMP, Gurobi
v = MOI.get(Gurobi.Optimizer(), MOI.SolverVersion())

```

Finally I get:

```julia
Set parameter TokenServer to value "XXX.XXX.XXX.XXX"
"11.0.1".

```

In other words, I can finally use the desired version 11.0.1.

\*If you can provide more details as to why I was unable to install the latest Julia Gurobi package, I would be grateful.

---

_[View the full topic](https://discourse.julialang.org/t/solved-problem-installing-the-gurobi-package-on-a-cluster/117385)._
