Skip to main content

Invalid Gurobi license for Julia

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff Gurobi Staff
    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?.
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    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.