Charitha Buddhika Heendeniya
- 合計アクティビティ 61
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 18
投稿
Charitha Buddhika Heendeniyaによる最近のアクティビティ-
What is phase 1 solution?
回答済みDear community, Below is a screenshot of a section of the log produced by Gurobi. I want to understand what this means, especially what a phase-1 solution is, and how I can use that information. I ...
-
VRP problem with time constraints
進行中Dear community, I'm trying to model a very basic VRP problem with time constraints. In the code below, please check the time constraint I wrote in two different ways. The constraint in the comment ...
-
IndexError solved by reordering constraints
ユーザーの入力を待っています。I came across an interesting behavior of Gurobi. After writing down a series of constraints, I received "IndexError: invalid index to scalar variable." I was able to fix this error just by reorderi...
-
Defining a constraint on time when time is an index to other variables
ユーザーの入力を待っています。Dear Community, I have defined the following variables. # Binary indicator variable: 1 if bus b is leaving node i at time t, else 0n0 = model.addVars(n_cars, n_nodes, time_steps, vtype=GRB.BINARY, ...
-
Indicator constraint for multiplying two binary variables
回答済みDear community, I have a constraint of the form: if x(i, j, k) == 1: sum (over t) {p(i, j, k, t) * u(i, j, t)} == 1 Could you please advise me on how to model it using Gurobi? Here x, u, and t are ...