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?
-
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
サインインしてコメントを残してください。
コメント
6件のコメント