メインコンテンツへスキップ

Disabling variable prescaling

回答済み

コメント

1件のコメント

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

サインインしてコメントを残してください。