Skip to main content

Solving PyPSA model with Gurobi in Google Colab - License problem

Answered

Comments

2 comments

  • David Torres Sanchez
    Gurobi Staff Gurobi Staff

    Hi Sebastian,

    Unfortunately, I think PyPSA uses Pyomo internally, which creates a default environment for you, so you cannot use the method you described.
    Try saving the license file to be accessible through your Google Colab instance and setting the \(\texttt{GRB_LICENSE_FILE}\) to point to this file (use the full path).

    Cheers, 
    David

    0
  • Sebastián Rivero Equiza
    Gurobi-versary
    First Comment
    First Question

    Hello David,

    Thank you for your answer.

    Regards,

    Sebastián

    0

Please sign in to leave a comment.