Suppress error for infeasible problem in Jump

Hi,
If I’m not mistaken you get this error from trying to acess the variable/objective value with an infeaseble problem.
I use a “try-catch” when accesing those values, but there might be better options for that.
Other than that you can set an environment for Gurobi, that will supress licence print and set the model to silence. But those only affect the text output while optimizing.
Gurobi env:

Set silent:

set_silent(model)

I don’t know if this is you problem, but I hope it helps.

1 Like