I ended up using a similar mechanism. Trying to use Distributed
only brought headaches. Nobody answered my question about killing workers in a guaranteed way. In the end was far easier to create a new Exception type, propagate a deadline through a good part of code, and in key points call a function that checks the deadline and throws if it was violated. I solved the problem with the solver time limit by changing the solver time limit to exactly the remaining time before deadline when I call solve, and then checking for the deadline right after.
1 Like