Skip to main content

Why does MIPFocus value change the optimal solution?

Comments

2 comments

  • Sonja Mars
    Gurobi Staff Gurobi Staff

    Hi Vicent,

    Can you share (if they are not too long) the full log files of these runs? It would be interesting to understand a bit more about the model structure and how Gurobi works on it.

    Thanks,

      Sonja

    1
  • Eli Towle
    Gurobi Staff Gurobi Staff

    Hi Vincent,

    This behavior is often indicative of numerical issues (e.g., a large relative range of matrix coefficients, or large RHS values). It may help to reformulate the model to reduce the range of matrix coefficients. For more information, see the Gurobi Guidelines for Numerical Issues section of the documentation.

    As a workaround, you could try some of the following parameters mentioned in that section of the documentation (e.g., NumericFocus, Method, Aggregate=0). That said, the most reliable fix is to reformulate the model.

    Thanks,

    Eli

    1

Please sign in to leave a comment.