# How to stop a MILP before it reaches the optimal solution (using different backends)?

Sometimes you don't need an optimal solution. A feasible solution is a must, but a decent value of the objective function will do. At least that's better than waiting forever...

Some backends (most?, all?) for the MixedIntegerLinearProgram support different stop criteria. But it took me quite some time to find them. How to tell MixedIntegerLinearProgram not to continue until the optimal solution is found?

PD: I found the answer (at least part of it) before I submitted this question, but I think it's good to ask the question for reference: