# Yi Ting Lin

• Total activity 17
• Last activity
• Member since
• Following 0 users
• Followed by 0 users
• 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

Hi, 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?

Hi, I tried to use Big-M 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

Hi, I am building a model with the objective function in non-convex 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

Hi, I am trying to construct conditional constraints, but with three if-then. 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,