I am trying to run a minimization problem for an MIP using Gurobi in Julia. I would like it to stop after it has found a solution that is below a certain threshold that I have set. I have found ways online to do this in other programming languages, but nothing helpful for Julia. For various reasons, I cannot just use an MIP Gap setting either.
Is there a way to do this in Julia?
I tried finding solutions to this in other programming languages that Julia offers guides for, but they did not work.