メインコンテンツへスキップ

MIP start and Heuristic callback

回答済み

コメント

1件のコメント

  • 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

サインインしてコメントを残してください。