Mouhamad Obeid
- 合計アクティビティ 3
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 1
アクティビティの概要
Mouhamad Obeidさんの最近のアクティビティ-
Mouhamad Obeidさんがコメントを作成しました:
So this is my code below I am trying to fix the indexing in the addContrs. How should I go about doing my list to generate such constraints with different indices. import gurobipy as gp # parameter...
-
Mouhamad Obeidさんが投稿を作成しました:
Indexing
回答済みm.addConstrs((x[i] + y[i-1] + z[i+1] == demands[i] + y[i] + z[i] for i in range(num_periods)), name="sdsd") how should I fix my indexing problem in the addConstrs function