Skip to main content

Disabling variable prescaling

Answered

Comments

2 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 Jakub,

    If your variable scaling is better than those found in presolve then I would've thought that these will be kept.
    You can check this by looking a the presolved model. Using the Python API:

    m = Model()
    # Build and perform scaling
    p = m.presolve()
    p.write("presolved.lp")

    Check through that file and see if your variable scaling is altered. If this is the case you can go for disabling presolve altogether: \(\texttt{Presolve}=0\).

    Cheers, 
    David

    1

Post is closed for comments.