Skip to main content

Solver (gurobi) did not exit normally

Answered

Comments

4 comments

  • Official comment
    Simranjit Kaur
    • 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?.
  • Matthias Miltenberger
    • Gurobi Staff

    Hi Basak,

    The error message reads

    No Gurobi license found (user bapakdemirel, host DESKTOP-0LULDQJ, hostid c0a4fd37, cores 2)

    so you need to make sure to set up your Gurobi license correctly first.

    Please check out this guide for further information: How do I obtain a free academic license? – Gurobi Support Portal

    Cheers,
    Matthias

    0
  • Basak Demirel Kacmaz
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks for reply.

    I've already have the license. I am wondering about what should I do in this case?

    0
  • Eli Towle
    • Gurobi Staff

    Where did you place your \( \texttt{gurobi.lic} \) license file? By default, Gurobi looks for a \( \texttt{gurobi.lic} \) license file in \( \texttt{C:\gurobi} \) and your home directory. If you placed the license file somewhere else, you need to set the \( \texttt{GRB_LICENSE_FILE} \) environment variable. You can read more about this in the article How do I put the license file in an alternative location?.

    0

Post is closed for comments.