Nourhan Ismail
- 合計アクティビティ 5
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 1
アクティビティの概要
Nourhan Ismailさんの最近のアクティビティ-
Nourhan Ismailさんがコメントを作成しました:
it worked ,thank you so much
-
Nourhan Ismailさんがコメントを作成しました:
another question: Con_Kc=m.addConstr(quicksum(M[k] for k in blocks)== Kc) can i say : for k in blocks: if k == Kc: Cont_3=m.addConstr(Z== C*P[k+1])
-
Nourhan Ismailさんがコメントを作成しました:
this is P: blocks= list(range(1,8)) P={}for k in blocks:P[1]=4P[2]=3P[3]=5P[4]=1P[5]=6P[6]=3P[7]=2 and i have this constraints that i use to get the value of Kc Con_Kc=m.addConstr(quicksum(M[k] for...
-
Nourhan Ismailさんが投稿を作成しました:
use a decision variable as an index
回答済みI have k which is index called blocks and equals to range (7) blocks= list(range(1,8)) and i have this constraints that i use to get the value of Kc Con_Kc=m.addConstr(quicksum(M[k] for k in blocks...