Ways to set a "good" time-based termination policy based on problem complexity? #1027
greyhairredbear
started this conversation in
General
Replies: 1 comment 1 reply
-
The short answer is that there is no way to set a timeout based on the solution itself. Not directly. Arguably if you already know how long they're willing to wait for, just set that as the maximum time spent, and set unimproved time spent to a fraction of that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As already hinted in another discussion, I have a question regarding termination configurations.
Our users might try to solve problems of different complexity - from a few vehicles/loads to hundreds of loads/dozens of vehicles. For more complex problems, users are also prepared to wait for a longer time (e.g. an hour) for planning to finish, while this is not the case for simpler problems (only a couple of loads on one vehicle).
Is there a way to set a timeout based on the complexity of the problem instance? I know that the benchmarker has some value for problem size - would it be the way to go to determine "good" timeouts for various problem sizes and then interpolate or use a step function for different complexity levels? Also, is the problem size part of the public API of Timefold?
Beta Was this translation helpful? Give feedback.
All reactions