Show Table of Contents
Chapter 3. Use Cases and Examples
3.1. Examples Overview
Planner has several examples. In this manual we explain mainly using the n queens example and cloud balancing example. So it's advisable to read at least those sections.
The source code of all these examples is available in the distribution zip under
examples/sources and also in git under optaplanner/optaplanner-examples.
Table 3.1. Examples Overview
| Example | Domain | Size | Competition? | Special features used |
|---|---|---|---|---|
| N queens |
|
|
| None |
| Cloud balancing |
|
|
| |
| Traveling salesman |
|
|
| |
| Dinner party |
|
|
|
|
| Tennis club scheduling |
|
|
| |
| Course timetabling |
|
|
| |
| Machine reassignment |
|
|
| |
| Vehicle routing |
|
|
|
|
| Vehicle routing with time windows |
Extra on Vehicle routing:
|
|
|
Extra on Vehicle routing:
|
| Project job scheduling |
|
|
| |
| Hospital bed planning |
|
|
| |
| Exam timetabling |
|
|
|
|
| Employee rostering |
|
|
| |
| Traveling tournament |
|
|
|
|
| Cheap time scheduling |
|
|
| |
| Investment |
|
|
|
A realistic competition is an official, independent competition:
- that clearly defines a real-word 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
These realistic competitions provide an objective comparison of Planner with competitive software and academic research.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.