Vincent
- Total activity 24
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 7
- Subscriptions 6
Posts
Recent activity by Vincent-
Runtime for multiple scenarios
AnsweredSometimes, I encounter a situation where my model's runtime decreases when the number of scenarios slightly increases. I'd appreciate any insight into the potential reasons, as this seems counterin...
-
Merging a binary decision variable with a continuous variable (semi-binary/continuous)
AnsweredI have two decision variables defined as x = m.addVars(((i, j) for i, j in arcs if f[i][j] == 0),vtype=GRB.BINARY, name='x')y = m.addVars(((i, j) for i, j in arcs if f[i][j] == 1),vtype=GRB.CONTINU...
-
How to use addVars() in GurobiPy using "if" conditional?
AnsweredI have defined a variable using addVar() method as follows: for i in range(no_nodes): for j in range(no_nodes): for k in O: if fij[i][j]==1 or mij[i][j]==1: x[i,j,k] = m.addVar(vtyp...
-
Why does MIPFocus value change the optimal solution?
Hi, - When I select MIPFocus=1, the optimal solution is equal to 1.79542 with 0.0000% gap.- When I select MIPFocus=3, the optimal solution changes to 1.75932 with 0.0000% gap. I cannot understand w...
-
How to add a constraint only to a single step of a hierarchical optimization?
AnsweredI have a model with three objectives and defined three environments (env1, env2, and env3) for each pass. I am solving this multiobjective problem with a hierarchical approach and wondering if ther...