メインコンテンツへスキップ

Questions about Gurobipy Versioning and License Compatibility

回答済み

コメント

1件のコメント

  • Riley Clement
    • Gurobi Staff

    Hi Yingkai,

    • Is there a strict one-to-one mapping between the version of gurobipy and the version of the Gurobi optimizer it uses? For example, if I have gurobipy 12.0.0, does that mean it can only use Gurobi optimizer 12.0.0 (and not 11.0.0 or 12.0.2) when solving models through Python?
    • Are the optimizer installed via the Gurobi website and the one bundled with gurobipy completely independent of each other? For instance, if I install version 12.0.0 from the website, can the Gurobi optimizer used in Python still be a different version, depending solely on the installed gurobipy version (assuming the answer to Question 1 is yes)?

    They are completely separate.  You can also have many different versions of gurobipy on your machine - you just have to use Python virtual environments.

    Do both the standalone Gurobi optimizer (from the website) and the Python-wrapped optimizer (gurobipy) use the same license file? In other words, can I use the same license from my Gurobi account for both?

    Yes, they can use the same license file.  No matter how Gurobi is run, it will look for a license file in the locations described in this article: https://support.gurobi.com/hc/en-us/articles/360013417211-Where-do-I-place-the-Gurobi-license-file-gurobi-lic

    Is the Gurobi license backward compatible; for example, can a license for version 12.0 be used to run older versions such as 11.x or 10.x?

    Yes, backwards compatible, but not forwards compatible.

    - Riley

     

     

    0

サインインしてコメントを残してください。