Saeid Ghafouri
- 合計アクティビティ 22
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 8
コメント
Saeid Ghafouriによる最近のアクティビティ-
Hi, Thank you for your response, It was very helpful. I faced another problem implementing that. Actually, instead of 0 we want check_v to be 1 if both the conditions (v > 0 and |v-p| > 0) are true...
-
Just a quick fix to the above example, what I want as the constraint is the following (I want it to equal to two instead one - that I have in the above): constr = model.addConstr((x + y == 2) >> (z...
-
Hi Simon, Thank you for your response. I have a set of constants with different values depending on the chosen value for variable x, exactly like the above case, for now I have stored them in a dic...
-
Hi Jaromil, Thank you! That's exactly what I was looking for. Best, Saeid
-
Hi Jaromil, Thank you for your answer. Actually, that's not what I'm looking for. What I want is that for a single variable like x I want all its values be selected from a set of values like e.g. ...
-
Thanks Eli! It was very helpful!
-
Hi Eli,Thank you for your answer! how about the situation where we have two distinct variables in our formulation that are making it quadratic e.g. $z.y <= 4$ then the only modification to your sol...