Simranjit Kaur
Gurobi Staff Total activity 318
 Last activity
 Member since
 Following 0 users
 Followed by 2 users
 Votes 4
 Subscriptions 132
Activity overview
Latest activity by Simranjit Kaur
Simranjit Kaur commented,
Hi Johannes, Querying the best objective bound with model.cbGet(GRB.Callback.MIP_OBJBND) in a MIP callback should work. Please see the section on Callback codes in our reference manual. Could you p...

Simranjit Kaur commented,
Hi Raphael, For an LP model, you can simply set the parameter Crossover=0 to disable the crossover phase. For a MIP model, please set the parameters Method=2, Crossover=0, and NodeMethod=2. With th...

Simranjit Kaur commented,
Hi Kanato, Providing a good start solution can potentially help in speeding the solve time (but there is no guarantee). Your model has 12829 integer variables. The warning in the log Warning: Comp...

Simranjit Kaur commented,
Hi TzuWen Lin, From the log, we can see that the solver could not find any feasible solutions for your model. Do you expect this model to have a feasible solution? In general, you can use the para...

Simranjit Kaur commented,
Hi David, Gurobi matrix variables are not yet compatible with the addGenConstrExp method in Gurobi 11.0.3. You can use the tolist function and add the general constraints over the for loop. For the...

Simranjit Kaur commented,
Hi Shesha, This can be done with the help of some auxiliary variables. Define auxiliary variables Z[i][j], add constraints Z[i][j] = XXX[i][j] +YYY[i][j] *W[i]. Define another auxiliary variable Z...

Simranjit Kaur commented,
Thanks, Efthymia, for sharing the status codes. As described in our Optimization Status Codes description, a status code of 4 means that the model can either be unbounded or infeasible. Since the L...

Simranjit Kaur commented,
Can you please query the status of the relaxed model after it is solved and share the result? relaxed_model = model.relax()relaxed_model.optimize()print( "Satus", relaxed_model.Status) Also please ...

Simranjit Kaur commented,
Hi, You are correct  unbounded rays are only supported for continuous linear models with no integer variables. For unbounded IP/MIP models, you can relax the integrality conditions in your model (...

Simranjit Kaur commented,
Hi Cong Bai, Thanks for sharing the logs. NoRel heuristics appears to be doing reasonably well in finding feasible solutions for your model. In approximately 2400 seconds, using NoRel, you achieve ...