Examples overview
Timefold has several examples. In this manual we explain mainly using the n queens example and cloud balancing example. So it is advisable to read at least those sections.
Some of the examples solve problems that are presented in academic contests.
The Contest
column in the following table lists the contests.
It also identifies an example as being either realistic or unrealistic for the purpose of a contest.
A realistic contest is an official, independent contest:
-
that clearly defines a real-world use case.
-
with real-world constraints.
-
with multiple, real-world datasets.
-
that expects reproducible results within a specific time limit on specific hardware.
-
that has had serious participation from the academic and/or enterprise Operations Research community.
Realistic contests provide an objective comparison of Timefold with competitive software and academic research.
The source code of all these examples is available in the distribution zip under examples/sources and also in git under timefold/timefold-solver-examples.
Example | Domain | Size | Contest | Special features used |
---|---|---|---|---|
|
|
|
None |
|
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
|
|
Vehicle routing with time windows |
|
|
|
|
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
||
|
|
|