Skip to main content

Time limit on a parallel solve

Comments

1 comment

  • Silke Horn
    Gurobi Staff Gurobi Staff

    You are right that setting a time limit lets the solver terminate after that time has passed, independently of the number of threads. There is no parallel version of the time limit. You can, of course, try to vaguely approximate this by dividing the time limit by the number of threads (but this approximation likely wouldn't be very exact).

    You could also have a look at other termination criteria (NodeLimit or IterationLimit). It would probably be hard to emulate a time limit with those, but they do provide means to limit the *effort* spent on a model.

    Do you have a worthwhile application for such a parallel time limit?

    0

Please sign in to leave a comment.