Yi Ting Lin
 Total activity 17
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 0
 Subscriptions 6
Activity overview
Latest activity by Yi Ting Lin
Yi Ting Lin commented,
Hi Riley, Thanks for the help.

Yi Ting Lin created a post,
max_() function value does not match
AnsweredHi, When I tried to use max_(), sometimes it does not work. See the code below: for i in sub_intersection: for pp in p: for com in range(2,5): m.addConstr(MissQueue_lb[com][pp,...

Yi Ting Lin commented,
Hi Marika, Thanks for the reply. I'll check out how to use Model.addGenConstrAnd(). Thanks again for your help.

Yi Ting Lin commented,
Hi Marika, I tried to change the sign of eps, but it would lead to both Binary4[2] and Binary4[3] =0.I want to have Binary4[2]=0 but Binary4[3]=1 Is there any other way that might be able to solve ...

Yi Ting Lin created a post,
How to deal with the restriction of not being able to use strictly greater/smaller constraints?
AnsweredHi, I tried to use BigM for conditional constraints. The length of Part 1,2,3,4, can be denoted as Q1,Q2,Q3,Q4. The accumulated length after part 1,2,3,4 join can be denoted as AQ1, AQ2, AQ3, AQ4 ...

Yi Ting Lin created a post,
Quadratic objective or bilinear objective's runtime
AnsweredHi, I am building a model with the objective function in nonconvex bilinear form. (e.g., minimize (x1*y1)+(x2*y2)(x3*y3)), however, the run time is really long (longer than 1hr) If I try to refor...

Yi Ting Lin created a post,
Conditional constraints with three conditions
AnsweredHi, I am trying to construct conditional constraints, but with three ifthen. If b<B1, then a==B1 if B1<=b<=B2, then a==b if B2<b, then a==B2 where B1, B2, a, and b are all model variables. I read ...

Yi Ting Lin created a post,
Putting the value of the variables back to the equation to check, but the constraint does not meet.
AnsweredHi, The model I was running declared that it is unbounded but still provides the best objective. In order to check whether I set the formulation right, I try to go through each variable's values. ...

Yi Ting Lin commented,
Hi Riley, Great! Thank you so much. YiTing

Yi Ting Lin commented,
Hi Elisabeth, Thanks for your prompt reply. If I understand you right, line 197 from the results of the IIS: infinity<=Onset_of_green_phase[5,LT,under] <=180 and from the model, I have an lb=0 for...