Vaibhav Dixit
- Total activity 10
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 2
Comments
Recent activity by 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) ...
-
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...
-
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...
-
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) >>(...