Skip to main content

How do I resolve a "Model too large for size-limited Gurobi license" error?

Comments

4 comments

  • Makedon Karasavvidis
    Gurobi-versary
    First Question
    First Comment

    Hi, I am trying to run an optimization problem and get this message while I do have an academic license installed. Could it be the case that I get such a message due to the number of cores that the script is trying to use (as I am using a very ''big'' computer with 12 cores)?

    0
  • Eli Towle
    Gurobi Staff

    No, you would only encounter this error if Gurobi uses a size-limited license and the model size exceeds the limits of that license. This particular error is unrelated to the machine hardware.

    I would confirm that your \(\texttt{gurobi.lic}\) file is located in a default location listed above. If you are still running into issues, feel free to ask for help in our Community Forum.

    1
  • Makedon Karasavvidis
    Gurobi-versary
    First Question
    First Comment

    Thank you very much for the prompt response. Just to mention that -in case anyone else faces the same- because I am using Gurobi with anacondas, the license had to be in C:\anaconda3\ for it to be seen by the scripts. 

    0
  • Matthias Miltenberger
    Gurobi Staff

    This will only work if your anaconda installation is located at C:\anaconda3 because this is also where the gurobi_cl file is located. The better solution is to move the license file to your home directory or to C:\gurobi.

    0

Article is closed for comments.