
Yi Ting Lin
- Total activity 17
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 6
Posts
Recent activity by Yi Ting Lin-
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,...
-
How to deal with the restriction of not being able to use strictly greater/smaller constraints?
AnsweredHi, 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 ...
-
Quadratic objective or bilinear objective's runtime
AnsweredHi, 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...
-
Conditional constraints with three conditions
AnsweredHi, 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 ...
-
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. ...
-
Why is the variable free shown in the ilp file even though I've already set the ub/lb or value in the model?
AnsweredHi, My model is infeasible, so I computed IIS. In the ilp file's bounds section, some of the variables are shown to be free (or shown some range that is different from what I set) but in the model,...