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

Retrieving the linear expression of a constraint

回答済み

コメント

1件のコメント

  • Riley Clement
    • Gurobi Staff Gurobi Staff

    Hi Zheren,

    If you know the constraint you can retrieve the corresponding linear expression for the left hand side by using Model.getRow which will return a gurobipy.LinExpr. 

    - Riley

    0

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