Krypt
 Total activity 36
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 5
 Subscriptions 10
Activity overview
Latest activity by Krypt
Krypt created a post,
Modeling variable multiplication and/or divisions
AnsweredHi, My optimization model contains constraints with variable multiplications and divisions. For example, I want to add constraints like below: mdl.addConstr(x/y >= (1/z) + epsilon)mdl.addConstr(x/(...

Krypt commented,
Thank you!

Krypt commented,
Hi Simranjit, thanks for your answer. I also want to doublecheck if my understanding of userdefined cuts and lazy constraints is correct: User cuts: These shrink the search space to explore at a ...

Krypt created a post,
How to define user cuts at a branch and bound node?
AnsweredHow do I define user cuts at a branch and bound node similar to lazy constraints in a callback?

Krypt created a post,
What is root relaxation in MILP models?
AnsweredWhen I see the log of my milp model I see the following line appears: Root relaxation: objective 2.551315e+03, 541 iterations, 0.01 seconds (0.01 work units) What does this mean? How is it differen...

Krypt commented,
Thank you!

Krypt commented,
Got it. Thank you for such a clear interpretation!

Krypt created a post,
Modeling conditional constraints with products of variables inside
AnsweredHi, I am trying to model a conditional constraint in Python Gurobi. Here x_e is a binary variable, z and b are continuous variables and r is a parameter. if b[e,i] >=0.8 then z[e,j] >= x_e[e,(i,j)...

Krypt created a post,
Variable elimination in Gurobi
AnsweredI am solving a routing problem where I want to delete an arc x[i,j] (binary variable) if a certain condition is met. How do I efficiently do this? Do I use model.remove? for i in N: for j in N: ...

Krypt commented,
Thank you Jonasz, I will try it.