Vaibhav Dixit

  • Gurobi-versary
  • First Comment
  • First Question
  • 合計アクティビティ 10
  • 前回のアクティビティ
  • メンバー登録日
  • フォロー 0ユーザー
  • フォロワー 0ユーザー
  • 投票 2
  • サブスクリプション 2

アクティビティの概要

Vaibhav Dixitさんの最近のアクティビティ
  • Vaibhav Dixitさんがコメントを作成しました:

    Hi, I have three constraints say constr1 : gp.quicksum(P[1,t] for t in range(1,n)) >= 1) constr2 : gp.quicksum(x[i,1] + x[i,2] for i in lst) == len(lst)) constr3 : gp.quicksum(x[i,2] for i in lst) ...

  • Vaibhav Dixitさんがコメントを作成しました:

    Hi, Thanks, its working now. So basically to ensure  that "gp.quicksum(x[i] for i in lst)"  is odd , the aux variable takes its values ​​accordingly, there is no need to add more constraints corres...

  • Vaibhav Dixitさんが投稿を作成しました:

    How to add modulo constraints in gurobi

    回答済み

    Hi Gurobi Community, I'm trying to add a constrains which represents that \sum( x[i] for i in lst) is odd. I have approached it in two ways but in both ways I have found errors. First way: mo...

  • Vaibhav Dixitさんがコメントを作成しました:

    Hi, Thanks, it's working now. I have another doubt, till now I only worked on quadratic equations something like $ \sum_{j=0}^{n-1}P[i,j]* (\sum_{ (k \in lst[i]) } m[k,0] ) == 0 $ for each i in ra...

  • Vaibhav Dixitさんがコメントを作成しました:

    Hi Riley, Thanks for your reply. It is not showing complete errors. KeyError Traceback (most recent call last) /tmp/ipykernel_770156/583479396.py in <module> 18 # model.addConstr((y[i] == 0) >>(...

  • Vaibhav Dixitさんが投稿を作成しました:

    adding quadratic expression in indicator constraints

    回答済み

    Hi Gurobi Community, I am trying to add a conditional indicator constraint as follows: model = gp.Model()n = 3pa=[i for i in range(n)]P=model.addVars(len(pa), len(pa), vtype=GRB.BINARY, name="P")x ...