Skip to main content

MIP start and Heuristic callback

Answered

Comments

2 comments

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

    Hi Martina,

    Unfortunately it does not look like further information can be obtained about why the solution is rejected.

    Looking at the code for Gurobi.jl it looks like MOI.HEURISTIC_SOLUTION_REJECTED is used when the solution is infeasible and MOI.HEURISTIC_SOLUTION_UNKNOWN if Gurobi postpones completing it.

    I think the easiest way to troubleshoot is to write your heuristic solutions to files inside the callback.  Once the solve is terminated you can either use the solution as a MIP start to get some information, or more thoroughly use the solution to fix variable values (via upper and lower bounds) and compute an IIS.

    - Riley

    0

Post is closed for comments.