Skip to main content

Accessing remote instance of Gurobi via JuMP (Julia for Mathematical Programming)

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?.
  • Eli Towle
    • Gurobi Staff Gurobi Staff

    Hi Thomas,

    Could you clarify what you mean by "remote Gurobi server"? Is the AWS instance being used as a Compute Server?

    If this is the case, Gurobi needs to be installed on the client machine (the notebook server), along with the JuMP.jl and Gurobi.jl packages. The key to accessing the remote server is correctly configuring the Gurobi license file. The license file on the notebook server should be configured to point to the machine running Gurobi Remote Services. See the documentation on remote services client configuration for details on how to set up the client license file. This is no different from Python - Gurobi must be installed on the client machine, even if the model will be solved on a remote server.

    Note that you can create a Gurobi environment object with the Gurobi.jl package and pass it to a JuMP model, per the README on the Gurobi.jl GitHub page.

    Thanks!

    Eli

    0

Post is closed for comments.