Silke Horn
-
Gurobi Staff
- 合計アクティビティ 377
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 1ユーザー
- 投票 7
- サブスクリプション 183
コメント
Silke Hornによる最近のアクティビティ-
Which API are you using? (Your first line looks like Python, but the definition of Z does not.) Note that until version 8, the Gurobi Python API does not directly support matrix-oriented modeling, ...
-
You could model the expression \(\lfloor x\rfloor\) for a decision variable \(x\) by introducing a new integer variable \(y\) and adding the constraints $$y <= x$$ $$y + 1 >= x + \epsilon$$ where \...
-
I am glad you could figure it out. From what I have seen, your code looks all right now. The last screenshot shows a Gurobi log, which means that the solver is running and optimizing your model. De...
-
You create a (and b) variables with indices from 1 to 24. In the problematic constraint, however, you are trying to access a['Delta', 25] (which does not exist). Where you create the problematic co...
-
Hi Odko, The name of the first argument should be "lhs" (not "lhr"). Regards, Silke
-
Hi Tamal, Thanks for the information and for sharing your logs. It seems that all of your objective coefficients are very small (between 1e-7 and 1e-6) and as you can see from the logs both best ob...
-
This can already be done by using callbacks. The callback examples on our website demonstrate how to implement a custom termination strategy: https://www.gurobi.com/resource/functional-code-example...
-
This says that you have a floating license with five tokens and all tokens are already in use by some other process.
-
You are reading an attribute directly after creating the model (without e.g. optimizing first). This is one of the very rare situations where you have to call model.update() first. Here is more inf...
-
Hi, You are right that GRBQuadExpr.addTerm only accepts variables, not complex expressions. There are two ways around this: You expand the quadratic expression yourself, i.e., \((K+x+y)^2 = K^2 + ...