David Torres Sanchez
-
Gurobi Staff
- 合計アクティビティ 562
- 前回のアクティビティ
- メンバー登録日
- フォロー 1ユーザー
- フォロワー 0ユーザー
- 投票 76
- サブスクリプション 206
コメント
David Torres Sanchezによる最近のアクティビティ-
Hi Ana, Thanks for the new question, I can try and answer it here. Since \(\texttt{x}\) and \(\texttt{y}\) are binary, you can model the \(\texttt{!=}\) relationship as \(\texttt{x = 1 - y}\). You...
-
Hi, You can do this using list comprehension and model.addVars: y = model.addVars( [ (i, j, ni, nj) for i in range(I) for j in range(I) for ni in range(int(H / T[i]))...
-
HI Mahnoor, Here's another way using callbacks (see also Callback Codes) import sysfrom functools import partialimport gurobipy as gpfrom gurobipy import GRBdef mycallback(model, where, *, cbdata):...
-
Hi Sam, Cool! The parameter is WLSTokenDuration though this needs to be set at the environment level. Similarly with other connection parameters (e.g. see mip1_remote.py). Cheers, David
-
Hi Dawid, Exactly, yes! For \(\texttt{complementary_condition_1}\) you will need some intermediate variables as it is a more complicated OR statement. Cheers, David
-
Tuples are not a valid expression to use like this. You need to add intermediate variables to model the gp.or_ relationship. Cheers, David
-
Looks like a tough model! You can also try some of our heuristics, such as: NoRelHeurTime ZeroObjNodes PumpPasses MinRelNodes They might help obtain feasible solutions.If none of these help you...
-
Can you try using Gurobi 11.0.0 (the latest release)? Cheers, David
-
For the error: [cmake] Could NOT find GUROBI (missing: GUROBI_LIBRARY) You can just add the new version to the find library. You can edit the \(\texttt{FindGUROBI.cmake}\) file to be: find_librar...
-
Hi Martin, Indeed, you can control this with the PartitionPlace parameter. Cheers, David