Skip to main content

Adding objective function makes the problem infeasible

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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.
  • Jaromił Najman
    • Gurobi Staff

    Hi Vinnet,

    This can be caused by a numerically unstable model. Given the coefficient statistic of your model

      Matrix range     [1e-10, 2e+02]
      QMatrix range    [1e+00, 1e+00]
      Objective range  [5e-02, 2e+02]
      Bounds range     [0e+00, 0e+00]
      RHS range        [2e-16, 1e+00]

    it is very likely that your model can have numerical issues. Please have a look at our Guidelines for Numerical Issues and try to improve the coefficient statistics. There is also the Warning

    Warning for adding variables: zero or small (< 1e-13) coefficients, ignored

    which means that any coefficient with a value lower than \( 10^{-13}\) will be treated as \(0\). If any of this coefficient is significant for the feasibility of the model, then this is also a possible cause of trouble.

    Moreover, you should upgrade to the latest version of Gurobi to profit from bug fixes and improved performance.

    Best regards, 
    Jaromił

    0

Post is closed for comments.