メインコンテンツへスキップ

Gurobi in Python, TypeError: addConstr() takes at least 2 positional arguments (1 given)

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Silke Horn
    • Gurobi Staff Gurobi Staff

    Hi Odko,

    The name of the first argument should be "lhs" (not "lhr").

    Regards,

    Silke

    1
  • Odko Ganbold
    • Gurobi-versary
    • First Comment
    • First Question

    Hi Silke,

    Thanks a lot! Just realised the typo! :)

    Regards,

    Odko

    0

投稿コメントは受け付けていません。