Toggle navigation OptaPlanner logo
  • Home
  • Download
  • Learn
    • Documentation
    • Videos
    • Slides
    • Training
    • Use cases
    • Compatibility
    • Testimonials and case studies
  • Get help
  • Source
  • Team
  • Services
  • Star
  • @OptaPlanner
  • Fb
Fork me on GitHub

Source code

GitHub repositories

The OptaPlanner team takes care of these repositories:

optaplanner (engine)

The source code of the OptaPlanner engine, examples and documentation.
https://github.com/kiegroup/optaplanner

To build from source:

  1. Get the source code locally with Git:

     $ git clone https://github.com/kiegroup/optaplanner.git
     ...
  2. Build it with Maven:

     $ cd optaplanner
     $ mvn clean install -DskipTests
     ...

    The first time, Maven might take a lot time, because it needs to download jars.

  3. Run the examples:

     $ cd optaplanner-examples
     $ mvn exec:java
     ...
  4. Edit the sources in your favorite IDE (such as IntelliJ IDEA, Eclipse or VSCode).

  5. Optional: Write some documentation in AsciiDoc.

optaplanner-quickstarts

The source code for each Quick Start.
https://github.com/kiegroup/optaplanner-quickstarts

optaweb-employee-rostering

The source code for the employee rostering web application reference architecture.
https://github.com/kiegroup/optaweb-employee-rostering

optaweb-vehicle-routing

The source code for the vehicle routing web application reference architecture.
https://github.com/kiegroup/optaweb-vehicle-routing

optaplanner-website (www.optaplanner.org)

The source code for this website and the presentation slides.
https://github.com/kiegroup/optaplanner-website

To build from source:

  1. Get the source code locally with Git:

     $ git clone git@github.com:kiegroup/optaplanner-website.git
     ...
  2. Build it with Awestruct:

     $ cd optaplanner-website
     $ ./build.sh clean build
     ...
  3. Show it in a browser:

     $ firefox _site/index.html
     ...
  4. Edit the AsciiDoc sources.

Contribute

Want to help improve our project? GitHub Pull Requests are welcome!
If you don’t know where to start, take a look at the list of starter issues for new contributors.

If you’ve found a bug and just want to report it, please open a ticket in our issue tracker with a reproducer.

Latest release
  • 8.1.0.Final released
    Fri 15 January 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
  • KIE Live
    Worldwide - Tue 19 January 2021
    • OptaPlanner Shadow Variables for the Vehicle Routing Problem and Task Assignment by Geoffrey De Smet, Karina Varela, Alex Porcelli
  • Javaland
    Worldwide - Tue 16 March 2021
    • AI on Quarkus: I love it when an OptaPlan comes together by Geoffrey De Smet
Add event / Archive
Latest blog posts
  • Solve the facility location problem
    Fri 9 October 2020
     Jiří Locker
  • OptaPlanner Week 2020 recordings
    Mon 7 September 2020
     Geoffrey De Smet
  • Let’s OptaPlan your jBPM tasks (part 1) - Integrating the two worlds
    Fri 3 July 2020
     Walter Medvedeo
  • AI versus Covid-19: How Java helps nurses and doctors in this fight
    Fri 8 May 2020
     Christopher Chianelli
  • Workflow processes with AI scheduling
    Tue 5 May 2020
     Christopher Chianelli
  • Constraint Streams - Modern Java constraints without the Drools Rule Language
    Tue 7 April 2020
     Geoffrey De Smet
  • How to plan (and optimize) a Secret Santa
    Wed 18 December 2019
     Christopher Chianelli
Blog archive
Latest videos
  • YT Shadow variables
    Tue 19 January 2021
     Geoffrey De Smet
  • YT Domain modeling and design patterns
    Tue 17 November 2020
     Geoffrey De Smet
  • YT Quarkus insights: AI constraint solving
    Tue 20 October 2020
     Geoffrey De Smet
  • YT AI in kotlin
    Wed 23 September 2020
     Geoffrey De Smet
  • YT Planning agility: continuous planning, real-time planning and more
    Thu 3 September 2020
     Geoffrey De Smet
  • YT Quarkus and OptaPlanner: create a school timetable application
    Thu 3 September 2020
     Radovan Synek
  • YT Business use cases and the impact of OptaPlanner
    Thu 3 September 2020
     Satish Kale
Video archive

KIE projects

  • Drools rule engine
  • OptaPlanner constraint solver
  • jBPM workflow engine

Community

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

Code

  • Build from source
  • Submit a bug
  • License (Apache-2.0)
  • Release notes
  • Upgrade recipes
Sponsored by
Red Hat
More coder content at
Red Hat Developers
© Copyright 2006-2021, Red Hat, Inc. or third-party contributors - Privacy statement - Terms of use - Website info