Skip to main content

Gurobipy_pandas

Awaiting user input

Comments

7 comments

  • Ahmed Azab
    • Gurobi Staff Gurobi Staff

    Hi Terence,

    Please make sure that your gurobipy_pandas package is correctly installed. 

    You can check this by running this command: 

    !pip show gurobipy_pandas

    You should see something like the following:

    Name: gurobipy-pandas 
    Version: 1.1.4
    Summary: Pandas accessors for gurobipy interaction
    ...

    You can refer to the gurobipy-pandas installation documentation for more details.

    Since you are a commercial user, Please feel free to open a support request with us. 
    How do I submit a help request as a Commercial user?

    Best Regards

    -Ahmed

    0
  • Terence Chan
    • First Question
    • First Comment

    Thank you it works now

    However, I have encountered another problem. Seems like "params" for env is not there

     

    -1
  • Ahmed Azab
    • Gurobi Staff Gurobi Staff

    Hi Terence,

    Could you please share the link to the Gurobi Jupyter Notebook example you are trying to run? Are you trying to run it locally on your machine? Did you edit something in it?

    Regards,
    -Ahmed

    0
  • Terence Chan
    • First Question
    • First Comment

    Thanks. I know why now. Coz I did not run this line. However, I don't need to specify the WLS license in another pricing optimization workbook, and it works. The machine already has the WLS license file. Why do I need to specify the WLS in this jupyter notebook?

    0
  • Ahmed Azab
    • Gurobi Staff Gurobi Staff

    Hi Terence,

    If you remove the "params" from env=gp.Env(params=params), the code should still work—as long as the license file is correctly placed in the expected path. However, for WLS, you still have the option to define your license credentials (params) inside the program, which gives you more flexibility for deploying Gurobi almost anywhere.

    I hope this helps.

    -Ahmed

    0
  • Terence Chan
    • First Question
    • First Comment

    so does it mean that I don't need to have the license file installed in the machine. As long as I have the credential, I can use "params" to put in the license details in the jupyter note sitting in another machine to run the Gurobi API? Many thanks

    0
  • Ahmed Azab
    • Gurobi Staff Gurobi Staff

    That's correct if your WLS license type has enough sessions to use on multiple machines.

    Please refer to the  Web License Manager webpage for more details.

    This article is also helpful for understanding the usage of WLS licenses: How do I set up a Web License Service (WLS) license?

    Best Regards
    -Ahmed

    0

Please sign in to leave a comment.