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

Constraints in Gurobi

回答済み

コメント

1件のコメント

  • Riley Clement
    • Gurobi Staff Gurobi Staff

    Hi Shahrzad,

    Your term variable is currently being assigned the following (which is not a constraint, as discussed on another post):

    \[\sum_{demand=0}^{9}\sum_{m=1}^{41}b_{O+, 1, m, demand, t}weight_m\]

    Also note you can set M = range(1, 42) which is a bit cleaner.  Hope this helps.

    - Riley

    0

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