Is there a way to break a function after a time limit?
I don’t have any access to the function.
FYI (if it helps) I want to break a JuMP solve after some seconds without knowing which solver performs the task.
(the solver is chosen by the user)
The best would be to have try catch block where I can somehow specify the time limit in.