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

m.getAttr('X', x) gives warning

回答済み

コメント

1件のコメント

  • Matthias Miltenberger
    • Gurobi Staff

    I don't see a warning with VSCode. Maybe you should install Gurobi/gurobipy-stubs (github.com) to get the correct type hints?

    Providing a set of constraints or variables to the getAttr() method is certainly possible and should not trigger a warning.

    Cheers,
    Matthias

    0

サインインしてコメントを残してください。