Skip to main content

Checking numerical issues in optimal transport

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • 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

Post is closed for comments.