Skip to main content

Model is infeasible. Can it be explained by numerical issue?

Awaiting user input

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three 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 why not try Gurobot?
  • Jaromił Najman
    • Gurobi Staff

    Hi,

    1-1) When I provide any feasible solution from the DP approach module to Gurobi with MIPSTART option (Warm-start), Gurobi rejects this solution. However, when I set the lower/upper bound of each variable to this solution, Gurobi claims that the model is feasible.

    You should see why Gurobi rejects the solution. You should see something similar to "User mipstart violates constraint XY". Maybe this can help in detecting what is going wrong.

    Can any of your variable take negative values? Please note that the default lower bound for variables in Gurobi is \(0\). Thus, you have to explicitly set the lower bound to a negative value of just \(\texttt{lb=-GRB.INFINITY}\) in order to allow negative variable values.

    2) When I provide real data (which has greater numbers of row/column and a wider range of coefficients), Gurobi claims the model is infeasible. As I have changed the size of the matrix and its coefficients, I suspect that it's a numerical issue rather than a modeling/implementing issue. (Gurobi logs for real data instances are presented below.)

    You could try the approaches discussed in How do I determine why my model is infeasible?

    Best regards, 
    Jaromił

    0

Post is closed for comments.