
Yutian He
- Total activity 20
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 5
Activity overview
Latest activity by Yutian He-
Yutian He commented,
Thank you so much Eli, that works!
-
Yutian He commented,
Got it! Thank you so much.
-
Yutian He created a post,
Model too large for size-limited license
AnsweredHi, Thank you so much for your continued help. I tried to solve a large model with Gurobi and I got the error said the model is too large. Then I applied for a WLS license and click the link https:...
-
Yutian He commented,
Hi Eli, Here is the minimal example I have for the quadratic constraint: b= array([0. , 0.125 , 0.14285714, 0.25 , 0.28571429, 0.375 , 0.42857143, 0.5 , 0.57142857,...
-
Yutian He commented,
Hi Eli, Thank you so much, this worked! And I have a general question about model.write(). I usually get this comment called: Warning: Q constraint 0 doesn't have a name I tried addQConstr, but st...
-
Yutian He commented,
Hi! I also got the same error here, I'm going to set this constraint: \sum_{i from 1 to m-1} ((b_{i+1} - b_i)*eta_i^2) <= nu. Could you please help me to check this? var_new = list(range(m-1)) var...
-
Yutian He commented,
Hi Riley, m1.addConstr(pi_a1@vector_a1 == 1) This code works very well with the previous definition of the pi_a1, thank you! Now I have two questions: When I changed pi to the new definition you w...
-
Yutian He commented,
Yes, that works! Thank you. And now I have a new question, since I want the constraints \sum_{i \in ma_1} pi_{ij} = 1 for every j \in ma_1. I wrote the constraint like this: for k in var_a1: exp...
-
Yutian He commented,
Thanks for the quick reply. Here is the result.
-
Yutian He created a post,
Define a matrix as a variable and write it in constraint
OngoingHi, I have a quick question about the matrix variable, when I defined the variable and tried to write it in constraint, I got an error for expr1_3:"numpy.core.multiarray failed to import", I tried ...