Ariel W
- 合計アクティビティ 33
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 1
- サブスクリプション 11
コメント
Ariel Wによる最近のアクティビティ-
Dear Sir, Thanks for your reply. I still have some questions below, which hope for your gentle advises. Q1: In my model, trips need to be all assigened. How this situation will be solved? Q2: And h...
-
Sorry, Riley. Waste your time. When I just revisited my code, I found typo. It can work with two similar index. Thank you!
-
Difinitely! The values of V,S,F are the same as above. V = range(1,3) F = range(1,3) S = range(1,4) The full error message is as follow, the definition of sth referred to your answer about 'product...
-
And how can i continue calling sth as an auxiliary variable in another constraint, it seems to be wrong as well, which also outputs"KeyError: 'Duplicate keys in Model.addVars()'"?
-
Hi, Riley: I'm sorry to bother you, I met problems again. when i want to introduce another auxiliary variable rth[v,i,j,m]for the multiplication of r[v,j] and (1-th[v,i,m]) variables, i try the str...
-
Thanks, i will try to figure out.
-
Hello, Jaromił: I still have a question: when ∑i∈S (w[d,i,j]) = 0, p[d,j]=0. How do i define this situation? I tried to follow the way you wrote above, but it proposed "TypeError: 0.0 is not a vari...
-
I got it! Thank you, Jaromił Najman!
-
Thanks for your answer. Yes, w is a binary variable and p is a continous variable. For p is also a decision variable, is the method to define still the same?
-
Thanks, Riley. I got it!