Skip to main content

Why my code is not working?

Answered

Comments

2 comments

  • Silke Horn
    • Gurobi Staff

    It should be "gp.GRB.BINARY".

    Alternatively, people also like to do:

    from gurobipy import GRB

    Then you can simply use "GRB.BINARY".

    0
  • Valentina Moreno
    • Gurobi-versary
    • First Comment
    • First Question

    Thank you so much!!!!  it worked

     

    0

Please sign in to leave a comment.