Mario Ruthmair
-
Gurobi Staff
- Total activity 483
- Last activity
- Member since
- Following 0 users
- Followed by 2 users
- Votes 1
- Subscriptions 192
Comments
Recent activity by Mario Ruthmair-
Hi Armin, The reason why the script above leads to an infeasible model is that continuous variables have a default lower bound of 0, i.e., your diff variables are not allowed to have negative value...
-
Hi Sashank, Usually, this can happen if the model is infeasible or unbounded. Could you please show the Gurobi output?Be sure to use the latest PuLP version 2.6. Best regards,Mario
-
Hi Wenxin, To use Gurobi, you need to explicitly write a model with an objective function, so in your case you need to know f(v,u).You said that once u is known, you can easily obtain V(u). How do ...
-
Hi Michael, Good to see that it works better now!I cannot see any suspicious lines in the solver log. You might even set a smaller MIPGap to get better solutions. I would recommend to write a metho...
-
Hi Michael, Could you please post the solver log of the model including the newly added constraints? Often this helps to understand what is going on and which Gurobi parameters might be beneficial....
-
Ok, the explanation is in fact easier that I thought. The ILP file containing the IIS for your infeasible model is correct. The output says that 34 constraints and 8 bounds are needed to define the...
-
Hi Pavithra, Actually, this question is not really related to Gurobi, it is more a general programming question.Gurobi has no built-in features for detailed solution analysis since this is usually ...
-
Hi Pavithra, I am not sure if I understand you correctly. Do you want to write out a table to a file or do you want to have some table data structure in your program to work with?Do you have proble...
-
Oh, you are computing an IIS after infeasibility is shown. Then, with m.write('D:\model.ilp') you are writing out the IIS, not the original model. Note that the file ending ILP does not mean "integ...
-
Could you produce a small version of your Python script in which you still see the "free" variables in the LP file and post it here?