Skip to main content

MIP start and Heuristic callback

Answered

Comments

1 comment

  • 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

Please sign in to leave a comment.