Skip to main content

Why does MIPFocus value change the optimal solution?

Comments

3 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff 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 why not try our AI Gurobot?.
  • 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

Post is closed for comments.