in older JuMP versions, one was able to stop the solving process in a callback with JuMP.StopTheSolver. However, I did not find something similar in the documentation of the current release 0.21. Do have any suggestions?
If you’re using Gurobi or CPLEX, you can do something similar, but it isn’t well documented. The best thing to do is look in the test/MOI_callbacks.jl file in each repository.