Ramesh singh
- 合計アクティビティ 21
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 6
- サブスクリプション 5
投稿
Ramesh singhによる最近のアクティビティ-
conditional statement
回答済みHi, m.addConstr((C==1)>>(D==5)) Where C is the optimized variable variable. D is assigned 5 when C is 1. When C is 0 then D must be zero. It gives garbage value.. Please let me know how it can ...
-
Using gurobi optimize variable
回答済みPlease help, In the below code, i want to optimize the C such that maximum bw_initial[i][k] is selected. This code does not produce the correct value for all i..when i run i got this for i=1, C[1,...
-
Initializing the auxiliary gurobi variables
回答済みHi, i am using t3[j,i] as auxiliary variable, i need to initialize it with zero. This variable t3 is updated using constraints when optimized variable C is set. I am sharing here partial cod...
-
Using gurobi optimize variable
回答済みIn the below code, A[i,k] is optimize variable (decision). This decision variable will change the value of PN. So i am trying to update the PN for when A[i][k] ==1. For example if M is 5 and P is...
-
using gurobi variable as index in 2d array
回答済みA=[1,2,3,4,5,1,2,3,4,5,1,2,3,4,5] L Is 2d matrix of size M * M # L[1][1], L[1][2],......L[5][5] E=m.addMVar(3,vtype=GRB.INTEGER,lb=1,ub=5, name="E") #E[1], E[2], E[0] unused how to model this equa...