Skip to main content

Checking numerical issues in optimal transport

Answered

Comments

2 comments

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    As you can see from the solution quality statistics, the final solution has no constraint violations and only very low bound violations (which are still 2 orders of magnitude below the default feasibility tolerances). Thus, your solution point should be reliable. You should still check whether the solution makes sense for your application though.

    Sometimes a model with possibly bad numerics can still solve perfectly fine. The Warning you see does not always mean that something will go wrong during the solution process. It shall just make clear that if the final solution has large violations then it is very likely caused by large coefficients and a badly scaled model. Gurobi will try a lot of things to still solve the model as good as possible even with shaky numerics. If however, you start seeing big solution point violations, you should try to improve your model's numerics as described in our Guidelines for Numerical Issues.

    Best regards, 
    Jaromił

    1
  • vigneshwaran kannan
    Gurobi-versary
    Curious
    Conversationalist

    Thank you so much Jaromił Najman

    0

Please sign in to leave a comment.