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.
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
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
投稿コメントは受け付けていません。
コメント
6件のコメント