Hello! I have a MILP problem and I am using Gurobi solver through JuMP in Julia Language. I want to stop the model run when the solver find the first feasible solution. Is there a way to set the stop criteria with this criteria? Thank you.
Drop the objective function?
Use SolutionLimit
set_optimizer_attribute(model, "SolutionLimit", 1)
Thanks a lot! It works fine.