Jonasz Staszek
-
Community Moderator
- 合計アクティビティ 302
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 13
- サブスクリプション 124
コメント
Jonasz Staszekによる最近のアクティビティ-
Hi Amal, generally, the model status in Python can be retrieved by calling: model.status An overview of the model statuses can be seen here. Hope this helps. Best regardsJonasz
-
There could be many reasons for this behaviour. One of the most common is the fact that Gurobi may be installed in a different (conda) environment than the one you are using it. Could you please sh...
-
Hi Moqin, this example should be interesting to you. Best regards,Jonasz
-
Hi Tobias, this can be done with a bunch of indicator variables and constraints. Perhaps these two posts (here and here) can serve as a guide. Best regardsJonasz
-
Hi Hyewook, the "And" part is governed by adding two indicator constraints for each indicator variable. For example: z[i, 1] = m.addVar(vtype="B",name=f"indicator_{i}_1")z[i, 2] = m.addVar(vtype="B...
-
Cross-posted here
-
Hi Luis, all you need to know is here. To activate your license, you need to be connected to a university's network - either be physically on campus or via VPN. Best regardsJonasz
-
I am afraid you can't change the objective this way. But perhaps you can find a way to reformulate your objective in such a way that the change is not required? Best regards,Jonasz
-
I would then either add a constraint or modify the bounds of the respective variable: model.addLConstr(x[3,4] == 1)# or alternativelyx[3,4].LB = 1x[3,4].UB = 1 Do you even need the variables pertai...
-
Hi Jonas, the documentation would suggest that your desired behavior is not supported. Perhaps someone from Gurobi team can confirm this? I would recommend that you try to reformulate your problem ...