Retrieve Pool Solutions in Callback
AnsweredHi everyone,
is it possible to retrieve solutions from the solution pool during a callback? Or can pool solutions only be retrieved after the solving process finished?
Best,
Jan
0
-
Official comment
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 try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Jan,
It is not possible to retrieve the sub-optimal pool solutions during a callback since it is not possible to change parameters in a callback. You can only access the values for the current best solution.
You could save objective and/or variable solution values during a MIP callback whenever a new solution is found to use this information later on.I hope this helps,
Marika0
Post is closed for comments.
Comments
2 comments