Skip to main content

Failed to create new environment in gurobipy

Awaiting user input

Comments

1 comment

  • Riley Clement
    • Gurobi Staff Gurobi Staff

    Hi Zhipeng,

    When you use

    gp.Model("test")

    Gurobi will be using a default environment.

    When you use

    with gp.Model(env=env) as m:

    you are specifying a (probably non-default) environment.

    Can you provide the code where you are creating env?  (Please replace any license details in this code with junk if applicable).

    - Riley

     

    0

Please sign in to leave a comment.