Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language



Next: Avoid hiding large coefficients Up: Tolerances and user-scaling Previous: Improving ranges for variables
Advanced user scaling
In the previous sections, we presented some simple strategies to limit
the ranges of variable bounds, constraint right-hand sides, objective
values, and constraint matrix coefficients. However, it could happen
that by scaling constraints or variables, some constraint coefficients
become too small. Note that Gurobi will treat any constraint
coefficient with absolute value under as zero.
Consider the following example:

In this example, the matrix coefficients range in
![<span>$</span>[10^{-7},10^4]<span>$</span>](https://www.gurobi.com/wp-content/plugins/hd_documentations/documentation/8.0/refman/img199.png?x34984)




where

![<span>$</span>[10^{-2},10^2]<span>$</span>](https://www.gurobi.com/wp-content/plugins/hd_documentations/documentation/8.0/refman/img203.png?x34984)
We recommend that you scale the matrix coefficients so that their range is
contained in six orders of magnitude or less, and hopefully within
.



Next: Avoid hiding large coefficients Up: Tolerances and user-scaling Previous: Improving ranges for variables








