Skip to main content

'Model.optimizeAsyn()' method in Gurobi12 is not available for Python API.

Answered

Comments

1 comment

  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi Xuanjing,

    There is no "model.pxi" file in our v12 source code, so I believe you are not using v12.

    You can confirm the version by running:

    print("version:", gp.gurobi.version())

    Note that the version of Gurobi installed in your Python environment is independent of the full Gurobi installation you have downloaded from our website.  The following article may be useful for you, or others reading this post: How do I install Gurobi for Python?

    - Riley

    0

Please sign in to leave a comment.