OptaPlanner logo
  • Download
  • Learn
    • Documentation
    • Videos
    • Slides
    • Training

    • Use cases
    • Compatibility
    • Testimonials and case studies
  • Get help
  • Blog
  • Source
  • Team
  • Services
  • KIE
    • Drools
    • OptaPlanner
    • jBPM
    • Kogito
  • Star
  • T
  • L
  • F
  • YT
Fork me on GitHub

School timetabling

Video thumbnail
Build and run from source

Universities and schools aim to provide high quality lesson schedules to their teachers and students. Depending on room capacity and availability, school timetabling decides when and where a lecture takes place. Optimize this planning problem with an AI constraint solver to improve teacher and student satisfaction. Reduce commute and gap hours while adhering to other constraints such as conflicting lessons, teacher availability, room availability and room capacity.

School timetabling input output

What is OptaPlanner?

OptaPlanner is the leading Open Source Java™ AI constraint solver to optimize maintenance scheduling, adhering to skill, capacity, SLAs and other constraints.

OptaPlanner is a lightweight, embeddable planning engine. It enables normal Java™ programmers to solve optimization problems efficiently. It is also compatible with other JVM languages (such as Kotlin and Scala). Constraints apply on plain domain objects and can call existing code. There’s no need to input constraints as mathematical equations. Under the hood, OptaPlanner combines sophisticated Artificial Intelligence optimization algorithms (such as Tabu Search, Simulated Annealing, Late Acceptance and other metaheuristics) with very efficient score calculation and other state-of-the-art constraint solving techniques.

OptaPlanner is open source software, released under the Apache License. It is written in 100% pure Java™, runs on any JVM and is available in the Maven Central repository too.

Quick start (source code)

Run the school timetabling quickstart.

Related videos

Video thumbnail
AI lesson scheduling on Quarkus with OptaPlanner
Geoffrey De Smet 18 Nov 2021
Video thumbnail
School timetable optimization
Geoffrey De Smet 6 Sep 2021
Video thumbnail
AI on Spring
Geoffrey De Smet 15 May 2020
Video thumbnail
Artificial Intelligence on Quarkus: I love it when an OptaPlan comes together
Geoffrey De Smet 9 Apr 2020
Video thumbnail
Artificial Intelligence in Java: how to write a Quarkus app with OptaPlanner from scratch
Geoffrey De Smet 2 Apr 2020
Video thumbnail
Exam timetabling with OptaPlanner
Geoffrey De Smet 17 May 2014
Video thumbnail
Course Scheduling with OptaPlanner
Geoffrey De Smet 9 Oct 2013

Related blog posts

  • Visualize the score and the constraints
    Mon 13 March 2017
    Geoffrey De Smet
  • Is the search space of an optimization problem really that big?
    Thu 27 March 2014
    Geoffrey De Smet
  • Will Skynet control our schedule if the computer optimizes it for us?
    Fri 11 October 2013
    Geoffrey De Smet
Download
Try OptaPlanner
Download 8.14.0.Final
  1. Download and unzip.
  2. Run runQuickstarts.sh (Linux/macOS)
    or runQuickstarts.bat (Windows).
Requires JDK 11 or higher to run.
Documentation
Get started
User guide 8.14.0.Final
Clone the Quickstarts code.
Latest release
  • 8.14.0.Final released
    Wed 8 December 2021
Paid support and consulting

Want to talk to the experts? Red Hat offers certified binaries with enterprise consulting. Contact optaplanner-info for more information.

Upcoming events
  • DevConf.CZ
    Brno, Czech Republic (virtual) - Fri 28 January 2022
    • Artificial Intelligence on Quarkus: I love it when an OptaPlan comes together by Geoffrey De Smet
  • JFokus
    Stockholm, Sweden - Mon 7 February 2022
    • AI maintenance scheduling with OptaPlanner on Quarkus by Geoffrey De Smet
  • Add event / Archive
Latest blog posts
  • OptaPlanner documentation turns over a new leaf
    Tue 26 October 2021
    Radovan Synek
  • Order picking optimization in warehouses and supermarkets with OptaPlanner
    Thu 14 October 2021
    Walter Medvedeo
  • Monitor OptaPlanner solvers through Micrometer
    Tue 12 October 2021
    Christopher Chianelli
  • A new AI constraint solver for Python: OptaPy
    Tue 5 October 2021
    Christopher Chianelli
  • How much faster is Java 17?
    Wed 15 September 2021
    Geoffrey De Smet
  • Constraint Streams get some more love
    Thu 19 August 2021
    Lukáš Petrovický
  • Let’s OptaPlan your jBPM tasks (part 2) - BPM Task assigning in the cloud
    Mon 26 July 2021
    Walter Medvedeo
  • Blog archive
Latest videos
  • AI lesson scheduling on Quarkus with OptaPlanner
    Thu 18 November 2021
    Geoffrey De Smet
  • Maintenance scheduling
    Fri 12 November 2021
    Geoffrey De Smet
  • Optimized order picking in warehouses and supermarkets
    Tue 26 October 2021
    Walter Medvedeo
  • A modern OO/FP constraint solver
    Tue 14 September 2021
    Geoffrey De Smet
  • Business processes task optimization in Kogito
    Tue 7 September 2021
    Walter Medvedeo
  • School timetable optimization
    Mon 6 September 2021
    Geoffrey De Smet
  • Schedule incoming calls real-time
    Mon 23 August 2021
    Radovan Synek
  • Video archive

OptaPlanner is open. All dependencies of this project are available under the Apache Software License 2.0 or a compatible license. OptaPlanner is trademarked.

This website was built with JBake and is open source.

Community

  • Blog
  • Get Help
  • Team
  • Governance
  • Academic research

Code

  • Build from source
  • Issue tracker
  • Release notes
  • Upgrade recipes
  • Logo and branding

KIE projects

  • Drools rule engine
  • OptaPlanner constraint solver
  • jBPM workflow engine
  • Kogito Business Automation platform
CC by 3.0 | Privacy Policy
Sponsored by Red Hat