
Silke Horn
- 合計アクティビティ 379
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 1ユーザー
- 投票 7
- サブスクリプション 188
アクティビティの概要
Silke Hornさんの最近のアクティビティ-
Silke Hornさんがコメントを作成しました:
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 + ...
-
Silke Hornさんがコメントを作成しました:
Yes, I assume the terms with the 0 coefficient at the beginning are there to preserve the variable order. But then Gurobi should repeat all with the non-zero coefficient, not just some. Is this the...
-
Silke Hornさんがコメントを作成しました:
First of all, if a coefficient in the LP file is 0 when it should be 1, then there is something wrong. How did you set the objective? Secondly, there are a lot of variables with coefficient 0 in th...
-
Silke Hornさんがコメントを作成しました:
Yes, you can do that (as long as the model is for non-production use of course). With the size-limited license you can solve models up to 2000 variables, 2000 linear constraints, and 200 variables ...
-
Silke Hornさんがコメントを作成しました:
Yes, the code looks correct. The LinExpr constructor should be the fastest way to build these expressions. However, you will only see a noticeable difference for very large expressions (hundreds of...
-
Silke Hornさんがコメントを作成しました:
I am not sure I understand your question. You could use getConstrByName to access the constraint by its name. However, we usually discourage using this function since it is not very efficient. Stor...
-
Silke Hornさんがコメントを作成しました:
If you have a constraint object, you need to use the getRow method on the model to get the left-hand-side expression. This will then be a LinExpr object. One question: Did you need the names to acc...
-
Silke Hornさんがコメントを作成しました:
Your code already does everything except for the constraint naming. The addConstrs method takes a name argument to define the name pattern. If you add name="my_constr", your constraint names will b...
-
Silke Hornさんがコメントを作成しました:
Hi, The issue is the lower bound of diff1. By default, variables have a lower bound of 0. Your solution x=-1 and y=0 is infeasible since it would require diff1=-1. If allow negative values for for ...
-
Silke Hornさんがコメントを作成しました:
Hi Mohd, We cannot provide this kind of 1-on-1 support here on the community forum, but as a commercial user, you can always create a support request at https://support.gurobi.com, where you will g...