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

Adding objective function makes the problem infeasible

回答済み

コメント

1件のコメント

  • 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

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