0

I am using docplex.mp and I am running an Integer optimisation problem that takes about several days.. I need to terminate the program after a certain time limit and obtain a solution for whatever the limit left.

GTek
  • 155
  • 6

1 Answers1

0

You can use timelimit Parameter as can be seen in

https://github.com/AlexFleischerParis/zoodocplex/blob/master/zoosettings.py

Alex Fleischer
  • 9,276
  • 2
  • 12
  • 15
  • For determined time limit, optimal solution cannot be found. How can I achieve the gap in the time limit? – GTek Jul 30 '22 at 16:27