0

1

I have a mathematical model that takes a long time before returning the solution.

Is it possible to insert a parameter that blocks the execution of the model after a certain time? I would like it to give me a result even if it is not excellent. I'm programming with Python and to optimize I use Gurobi.

Thank you!

vimuth
  • 5,064
  • 33
  • 79
  • 116
cocca13
  • 1
  • 1
  • 1
    There are several ways to answer this. Please post a sample log showing the output. – Greg Glockner Jan 27 '23 at 19:55
  • I've added above an example of how I would like the solution after the model has run for some time. I would like to choose the duration of the execution. – cocca13 Jan 28 '23 at 15:38

0 Answers0