Jose Vindel
- 合計アクティビティ 100
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 15
- サブスクリプション 22
コメント
Jose Vindelによる最近のアクティビティ-
Hello, I tried by allowing the lb and ub in f.addVars to be from - infinity to infinity and declaring them as continuos, but I still get the same error, I thought maybe it had to do with the value...
-
Hello Eli, I ran the code snippet you posted and it gives me the same constraints as you wrote These are the actual constraints I have written in my model: f = gp.Model()reactions = [i for i in ...
-
Hello Eli, Thanks for your answer, I am using 9.1.0 and python 3.7.6
-
Hello, I am having a similar problem, I know that if we want to write a constraint like this \(LB \leq v \leq UB\) I have to do it separately so, I wrote them like this: rxn = ['a','b','c','d','e']...
-
Thanks Eli, I tried it and it worked out, with some minor corrections on the code, now I have to figure it out to do it in a more pythonic way, and how to incorporate the absvals in the quicksum,...
-
Hello Eli, After checking my inequality, it is in part incorrect the first term \(M*\sum (1-y_i)*v_i\) only applies when the values of \(v_i\) are positive and the second term,\(- M* \sum(1-y_i)*v...
-
Thank you Eli, I want to iterate using the values from the dictionaries valsy[i] and vals[i] to add this cut \[pi\leq\ v_b + M*\sum (1-y_i)*v_i - M* \sum(1-y_i)*v_i\] I assumed it could iterate...
-
Thank you both for your answers!
-
Hello Eli, I am sorry to bother again, but I am trying to solve an FBA, and after I get the solution is still different from the example I am basing on, so I tried to add as a constraint the sol...
-
Hello Eli, I've tried this: for i in met: m.addConstr((gp.quicksum(smatr[i,j]*v[j] for j in reactions) == 0), name='FBA') It seems to work as it gives me the equations I want, Now, my question wo...