Gurobi c API GRBcbsolution objP interpretation outside of MIPNODE
回答済みSince gurobi 9.5 it is possible to set a heuristic solution when "where" is either MIP, MIPNODE or MIPSOL; however, unless at MIPNODE the resulting objective seems to always be infinity indicating that no solution was found, regardless of whether the solution will be used or not. I assume this is an omission in the documentation and the actual interpretation of the value is that: if at MIPNODE an infinite value indicates a heuristic could not be used to compute an objective, while at MIP and MIPSOL it indicates the solution could not be computed at this stage, but may or may not be used later. Is that correct?
Sorry, I would have provided more detail, but can not log in to this site using Firefox...
Thank you.
0
-
正式なコメント
This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Tomáš,
Your interpretation is right. In the MIP and MIPSOL callback, the processing of the provided solution is delayed until the next possible point in the solution process, while in the MIPNODE callback the solution can be processed immediately. Because the solution is not checked at this point in the MIPSOL and MIP callback, the obj value is infinity. But still, the solution should be used later provided that Gurobi does not find a better solution in the meanwhile.
We will check how we could improve our documentation.1
投稿コメントは受け付けていません。
コメント
2件のコメント