PoolObjVal issues
回答済みPoolObjVal returns 0 for all solutions in the pool. I am quite puzzled, since var.Xn behaves as expected. Further, example poolsearch.py works as expected as well on my machine. I am optimising quadratic function over binary variables with linear constraints. Does anyone have an idea what could be the reason?
-
正式なコメント
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 Vladimir,
Can you please share your model? I Think I know where the issue is coming from.
Best,
Daniel
0 -
Hi Daniel,
here you are: https://www.dropbox.com/s/mdp8r4dxnc0yph5/p.mps?dl=0
Best wishes,
Vladimir
0 -
Hi Vladimir,
I am sorry to say that we did find an issue with PoolObjVal and quadratic or piece-wise linear objectives, the issue has been fixed in the code and the fix will be part of any upcoming release (either technical or mayor), unfortunately we don't have a time frame for that.
0 -
Hello,
Quite a puzzling issue indeed. I guess this fix has not made it to a release yet. I came across the same problem in a model with a quadratic objective. I'm using Gurobi 9.1.0 through the Pyomo persistent solver interface.
Thanks,
Nikos0 -
This issue was fixed last year with the release of Gurobi 9.0.0. Can you verify in the Gurobi log/output that Pyomo is using version 9.1.0 of Gurobi and not an older version?
0 -
That was the problem indeed. Thanks a lot.
0
投稿コメントは受け付けていません。
コメント
7件のコメント