How to find a solution in Gurobi
I have 100 unknowns x_1,..., x_{100} and 100 inequalities like 10 <= x_1 + 4x_3 +20 x_{100}<=20 etc. For every inequality left side is 10 and right side is 20. I want a binary solution. That is x_i's are either 0 or 1. I use Gurobi to get one solution. But after running 6 days, my machine got hang. Is there any trick in Gurobi to get a solution? I have no optimization function.

Hi Santanu,
How exactly did you model this problem so that Gurobi could solve it? Do you have the Gurobi log file output? Thanks!
Eli
0 
Yes, I wrote in .lp file. Yes, I have that log file.
0 
Hi Santanu,
Can you please share that log file with us? We may find something in there to help you with your problem.
Thanks,
Matthias0 
Hi Santanu,
Could you also share your LP file?
Thanks,
Silke0 
Hi Santanu  Can you post the file directly to the forum? Your email came to our spam folder with the file not attached. Thanks!
0
Please sign in to leave a comment.
Comments
5 comments