Skip to main content

Speeding up large problems

Answered

Comments

1 comment

  • Nigora Gafur
    • Gurobi Staff

    Hi Danilo,

    Thank you for reaching out to us. The warning you are seeing indicates that the model has numerical issues related to large coefficients. Such coefficients can negatively affect both solution time and solution quality. Our general recommendations for coefficients are as follows (also see What does Model contains large matrix coefficient range mean? ): 

    • The range of the matrix coefficients (the difference between the minimum and maximum coefficient values) should be within six orders of magnitude.
    • For the objective function, the largest coefficient should not exceed 1e4 in magnitude. The same applies to the largest values in bounds and the right-hand side (RHS).

    We also recommend that the objective value of good solutions lies between 1 and 1e4. From the coefficient statistics you provided, it appears that some of your coefficients fall outside these recommended ranges. We therefore suggest reducing the magnitude of the coefficients in your model. Please refer to this page on how it can be done Tolerances and User-Scaling 

    The parameters Objective Scalar and Objective are not part of Gurobi parameters. Does Plexos interface allow you to set Gurobi parameters directly? If so, you may find this overview of Gurobi parameters useful for managing numerical issues Solver Parameters to Manage Numerical Issues

    If not, it would be helpful to consult the Plexos parameter reference to identify parameters that may assist with numerical issues.

    Best regards

    Nigora 

    0

Please sign in to leave a comment.