Skip to main content

Why Barrier report numerical trouble encountered even the ranges are not large?

Ongoing

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.
  • David Torres Sanchez
    • Gurobi Staff

    Hi Hongyu,

    Have you tried the parameters suggested in Solver parameters to manage numerical issues?
    e.g. Aggregate = 0 or Presolve = 0.

    Also, as mentioned the article linked, you could try changing the solution method, unless you specifically need barrier. If you do need barrier, as indicated at the bottom of the log, try BarHomogeneous = 1.

    Cheers, 
    David

    0
  • Hongyu Zhang
    • Gurobi-versary
    • First Comment
    • First Question

    Hi David,

    Thanks for your answers. The problem attached is a smaller example, but the real problem I am going to solve is a scale-up version of this problem, so I do need to use barrier to yield better performance. 

    I indeed tried with presolve off but it didn't help, and i didn't try aggregate. BarHomogeneous didn't help as well. But mysteriously, setting crossover to 1 solve all the problems. I tried to understand why crossover can help numerical issues. Could you help me understand why?

    Kind regards,

    Hongyu.

    0

Post is closed for comments.