Skip to main content

Retrieve Pool Solutions in Callback

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    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.
  • Marika Karbstein
    • Gurobi Staff

    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,
    Marika

    0

Post is closed for comments.