Skip to main content

Python API tuplelist type hinting

Answered

Comments

3 comments

  • Michael Lindahl
    Gurobi-versary
    First Comment

    Great idea Niels-Christian Bagger 

    I always have to go back to where I initialized the list to remember which order I used for the indices when creating the TupleList.

    0
  • Maliheh Aramon
    Gurobi Staff Gurobi Staff

    Hi Niels-Christian and Michael, 

    We recently released the gurobipy-stubs package that provides type hinting for gurobipy. You can install it in your python environment through pip.

    We hope you will consider using these stubs. Please let us know if you encounter any issues. 

    Best regards,

    Maliheh

    0
  • Niels-Christian Bagger
    First Comment
    Gurobi-versary
    First Question

    Thank you for that. I will definitely take a look at this

    0

Please sign in to leave a comment.