Invalid Gurobi license for Julia
AnsweredHello,
I have an issue with an invalid license when I run my code in Julia.
I have Gurobi 9.10 and Julia v"1.5.3".
My license is valid which I requested recently.
I set the path to gurobi.lic for my Gurobi version for ENV[“GRB_LICENSE_FILE”] = “my_path”
Any ideas?
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi,
Do you use the latest version of JUMP, see Gurobi.jl Github? https://github.com/jump-dev/Gurobi.jl
In the case that an update does not help, does the error also occur when you explicitly create an environment and attach your model to it?
using JuMP, Gurobi
env = Gurobi.Env()
m = Model(with_optimizer(Gurobi.Optimizer, env))After the optimization of your model finishes, you have to free the environment via
free_env(env)
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments